`stew/results` -> `results` (#468)

This commit is contained in:
Jacek Sieka 2023-11-13 10:56:19 +01:00 committed by GitHub
parent f0eb7a0ae9
commit 0d55475c29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
14 changed files with 19 additions and 18 deletions

View File

@ -8,6 +8,7 @@ license = "MIT or Apache License 2.0"
skipDirs = @["tests"]
requires "nim >= 1.6.0",
"results",
"stew",
"bearssl",
"httputils",

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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]

View File

@ -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

View File

@ -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):

View File

@ -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

View File

@ -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

View File

@ -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