From 8bb4a54f4751dc560efc24003be4b3b2b28316e7 Mon Sep 17 00:00:00 2001 From: Jacek Sieka Date: Tue, 8 Aug 2023 12:13:30 +0200 Subject: [PATCH] reduce imports (#56) not needed, cause both http(s) server and client to be compiled unnecessarily for any presto usage, including bearssl --- presto/common.nim | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/presto/common.nim b/presto/common.nim index 09c3421..4f1fcc5 100644 --- a/presto/common.nim +++ b/presto/common.nim @@ -6,9 +6,10 @@ # Licensed under either of # Apache License, version 2.0, (LICENSE-APACHEv2) # MIT license (LICENSE-MIT) -import chronos/apps, chronos/apps/http/httpclient +import chronos/apps/http/httptable import stew/[results, byteutils], httputils -export results, apps, httputils + +export results, httputils, httptable {.push raises: [Defect].}