From 4efa2c9efc1c9ebdc1d1ac97e073ba9b74c9dafa Mon Sep 17 00:00:00 2001 From: Etan Kissling Date: Thu, 1 Sep 2022 16:17:35 +0200 Subject: [PATCH] `strtabs` import is not chronos dependent --- src/news.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/news.nim b/src/news.nim index 4d60d13..fca2691 100644 --- a/src/news.nim +++ b/src/news.nim @@ -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"