`strtabs` import is not chronos dependent

This commit is contained in:
Etan Kissling 2022-09-01 16:17:35 +02:00
parent efd56e92b9
commit 4efa2c9efc
No known key found for this signature in database
GPG Key ID: B21DA824C5A3D03D
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
import std/[
base64, deques, httpcore, nativesockets, net, oids, random, sha1, streams,
strformat, strutils, uri]
strformat, strtabs, strutils, uri]
when not declaredInScope(newsUseChronos):
# Currently chronos is second class citizen. To use this library in chronos-based
@ -62,7 +62,7 @@ when newsUseChronos:
t.closeWait()
else:
import std/[asyncdispatch, asynchttpserver, asyncnet, strtabs]
import std/[asyncdispatch, asynchttpserver, asyncnet]
type Transport = AsyncSocket
const CRLF = "\c\l"