-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathCargo.toml
More file actions
57 lines (50 loc) · 1.55 KB
/
Cargo.toml
File metadata and controls
57 lines (50 loc) · 1.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
[workspace]
members = [
"nyquest-interface",
"nyquest-backend-tests",
"backends/*",
"examples/*",
"presets/*",
]
resolver = "2"
[workspace.package]
authors = ["bdbai <bdbaiapp@163.com>"]
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.80"
exclude = [".vscode/*", ".github/*", "examples/README.md", "rustfmt.toml"]
[workspace.dependencies]
futures = "0.3.31"
thiserror = "2"
cfg-if = "1"
arc-swap = "1"
[package]
name = "nyquest"
description = "truly platform-native HTTP client library"
version = "0.4.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true
keywords.workspace = true
license.workspace = true
repository.workspace = true
rust-version.workspace = true
exclude.workspace = true
[package.metadata.docs.rs]
features = ["async-stream", "blocking-stream", "multipart", "json"]
rustdoc-args = ["--cfg", "docsrs"]
[features]
async = ["nyquest-interface/async"]
async-stream = ["async", "nyquest-interface/async-stream"]
blocking = ["nyquest-interface/blocking"]
blocking-stream = ["blocking", "nyquest-interface/blocking-stream"]
multipart = ["nyquest-interface/multipart"]
json = ["dep:serde", "dep:serde_json"]
[dependencies]
nyquest-interface = { version = "0.4.0", path = "nyquest-interface", default-features = false }
thiserror.workspace = true
serde = { version = "1", optional = true }
serde_json = { version = "1.0.140", optional = true }