[workspace] members = ["nyquest-backend-tests", "backends/*", "examples/*", "presets/*"] resolver = "2" [workspace.package] authors = ["bdbai "] categories = ["web-programming::http-client"] edition = "2021" keywords = ["http", "client", "native", "winhttp", "nsurlsession"] license = "MIT OR Apache-2.0" repository = "https://github.com/bdbai/nyquest" rust-version = "1.78" version = "0.0.0-alpha.1" exclude = [".vscode/*", ".github/*", "examples/README.md", "rustfmt.toml"] [workspace.dependencies] futures = "0.3" thiserror = "1" [package] name = "nyquest" description = "truly native HTTP client library" authors.workspace = true categories.workspace = true edition.workspace = true keywords.workspace = true license.workspace = true repository.workspace = true rust-version.workspace = true version.workspace = true exclude.workspace = true [package.metadata.docs.rs] features = ["async", "blocking"] [features] async = ["dep:futures-core", "dep:bytes"] blocking = [] [dependencies] once_cell = { version = "1", default-features = false, features = ["std"] } thiserror.workspace = true futures-core = { version = "0.3", optional = true, features = [ "alloc", ], default-features = false } bytes = { version = "1", optional = true }