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