`stew/results` -> `results` (#468)
This commit is contained in:
parent
f0eb7a0ae9
commit
0d55475c29
|
@ -8,6 +8,7 @@ license = "MIT or Apache License 2.0"
|
|||
skipDirs = @["tests"]
|
||||
|
||||
requires "nim >= 1.6.0",
|
||||
"results",
|
||||
"stew",
|
||||
"bearssl",
|
||||
"httputils",
|
||||
|
|
|
@ -7,13 +7,13 @@
|
|||
# Apache License, version 2.0, (LICENSE-APACHEv2)
|
||||
# MIT license (LICENSE-MIT)
|
||||
import std/[uri, tables, sequtils]
|
||||
import stew/[results, base10, base64, byteutils], httputils
|
||||
import stew/[base10, base64, byteutils], httputils, results
|
||||
import ../../asyncloop, ../../asyncsync
|
||||
import ../../streams/[asyncstream, tlsstream, chunkstream, boundstream]
|
||||
import httptable, httpcommon, httpagent, httpbodyrw, multipart
|
||||
export results, asyncloop, asyncsync, asyncstream, tlsstream, chunkstream,
|
||||
boundstream, httptable, httpcommon, httpagent, httpbodyrw, multipart,
|
||||
httputils, uri
|
||||
httputils, uri, results
|
||||
export SocketFlags
|
||||
|
||||
const
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
# Apache License, version 2.0, (LICENSE-APACHEv2)
|
||||
# MIT license (LICENSE-MIT)
|
||||
import std/[strutils, uri]
|
||||
import stew/results, httputils
|
||||
import results, httputils
|
||||
import ../../asyncloop, ../../asyncsync
|
||||
import ../../streams/[asyncstream, boundstream]
|
||||
export asyncloop, asyncsync, results, httputils, strutils
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
# Apache License, version 2.0, (LICENSE-APACHEv2)
|
||||
# MIT license (LICENSE-MIT)
|
||||
import std/tables
|
||||
import stew/results
|
||||
import results
|
||||
import ../../timer
|
||||
import httpserver, shttpserver
|
||||
from httpclient import HttpClientScheme
|
||||
|
|
|
@ -7,10 +7,10 @@
|
|||
# Apache License, version 2.0, (LICENSE-APACHEv2)
|
||||
# MIT license (LICENSE-MIT)
|
||||
import std/[tables, uri, strutils]
|
||||
import stew/[results, base10], httputils
|
||||
import stew/[base10], httputils, results
|
||||
import ../../asyncloop, ../../asyncsync
|
||||
import ../../streams/[asyncstream, boundstream, chunkstream]
|
||||
import httptable, httpcommon, multipart
|
||||
import "."/[httptable, httpcommon, multipart]
|
||||
export asyncloop, asyncsync, httptable, httpcommon, httputils, multipart,
|
||||
asyncstream, boundstream, chunkstream, uri, tables, results
|
||||
|
||||
|
|
|
@ -8,10 +8,10 @@
|
|||
# Apache License, version 2.0, (LICENSE-APACHEv2)
|
||||
# MIT license (LICENSE-MIT)
|
||||
import std/[monotimes, strutils]
|
||||
import stew/results, httputils
|
||||
import results, httputils
|
||||
import ../../asyncloop
|
||||
import ../../streams/[asyncstream, boundstream, chunkstream]
|
||||
import httptable, httpcommon, httpbodyrw
|
||||
import "."/[httptable, httpcommon, httpbodyrw]
|
||||
export asyncloop, httptable, httpcommon, httpbodyrw, asyncstream, httputils
|
||||
|
||||
const
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
import std/strtabs
|
||||
import "."/[config, asyncloop, handles, osdefs, osutils, oserrno],
|
||||
streams/asyncstream
|
||||
import stew/[results, byteutils]
|
||||
import stew/[byteutils], results
|
||||
from std/os import quoteShell, quoteShellWindows, quoteShellPosix, envPairs
|
||||
|
||||
export strtabs, results
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
{.push raises: [].}
|
||||
|
||||
import "."/[asyncloop, osdefs, osutils]
|
||||
import stew/results
|
||||
import results
|
||||
from nativesockets import Domain, Protocol, SockType, toInt
|
||||
export Domain, Protocol, SockType, results
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
from nativesockets import Port
|
||||
import std/[tables, heapqueue, deques]
|
||||
import stew/results
|
||||
import results
|
||||
import ".."/[config, futures, osdefs, oserrno, osutils, timer]
|
||||
|
||||
import ./[asyncmacro, errors]
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
# Licensed under either of
|
||||
# Apache License, version 2.0, (LICENSE-APACHEv2)
|
||||
# MIT license (LICENSE-MIT)
|
||||
import stew/results
|
||||
import osdefs, oserrno
|
||||
import results
|
||||
import "."/[osdefs, oserrno]
|
||||
|
||||
export results
|
||||
|
||||
|
|
|
@ -31,8 +31,8 @@
|
|||
# support - changes could potentially be backported to nim but are not
|
||||
# backwards-compatible.
|
||||
|
||||
import stew/results
|
||||
import config, osdefs, osutils, oserrno
|
||||
import results
|
||||
import "."/[config, osdefs, osutils, oserrno]
|
||||
export results, oserrno
|
||||
|
||||
when defined(nimdoc):
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
##
|
||||
## For stream writing it means that you should write exactly bounded size
|
||||
## of bytes.
|
||||
import stew/results
|
||||
import results
|
||||
import ../asyncloop, ../timer
|
||||
import asyncstream, ../transports/stream, ../transports/common
|
||||
export asyncloop, asyncstream, stream, timer, common
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
## This module implements HTTP/1.1 chunked-encoded stream reading and writing.
|
||||
import ../asyncloop, ../timer
|
||||
import asyncstream, ../transports/stream, ../transports/common
|
||||
import stew/results
|
||||
import results
|
||||
export asyncloop, asyncstream, stream, timer, common, results
|
||||
|
||||
const
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
# MIT license (LICENSE-MIT)
|
||||
|
||||
## This module implements some core async thread synchronization primitives.
|
||||
import stew/results
|
||||
import results
|
||||
import "."/[timer, asyncloop]
|
||||
|
||||
export results
|
||||
|
|
Loading…
Reference in New Issue