Skip to content

Commit

Permalink
v1.2.0, require nim >= 1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
bung87 committed Apr 12, 2024
1 parent 67ad04f commit 9e27b1f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
4 changes: 2 additions & 2 deletions scorper.nimble
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Package

version = "1.1.13"
version = "1.2.0"
author = "bung87"
description = "micro and elegant web framework"
license = "Apache License 2.0"
Expand All @@ -10,7 +10,7 @@ installExt = @["nim"]
# namedbin = {"scorper/http/routermacros":"routermacros" }.toTable()
# Dependencies

requires "nim >= 1.3.1"
requires "nim >= 1.6.0" # initial 1.3.1
# requires "chronos >= 3.0.2" # initial 2.6.1
requires "chronos"
requires "npeg"
Expand Down
5 changes: 1 addition & 4 deletions src/scorper/http/streamserver.nim
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,7 @@ import mofuparser
import npeg/codegen
import urlencodedparser, multipartparser, acceptparser, rangeparser, oids, httpform, httpdate, httpcore, router,
netunit, httperror
when (NimMajor, NimMinor, NimPatch) >= (1, 6, 0):
import std/mimetypes
else:
import mimetypes
import std/mimetypes
import urlly
include constant
import std / [os, streams, options, strformat, json, sequtils, parseutils, strutils, macros, macrocache]
Expand Down

0 comments on commit 9e27b1f

Please sign in to comment.