814ee45b4d
updates to nym HTTP api client with multiple features relating to request domains
49 lines
1.5 KiB
TOML
49 lines
1.5 KiB
TOML
[package]
|
|
name = "nym-http-api-client"
|
|
version = "0.1.0"
|
|
authors.workspace = true
|
|
repository.workspace = true
|
|
homepage.workspace = true
|
|
documentation.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[features]
|
|
default=["tunneling"]
|
|
tunneling=[]
|
|
|
|
[dependencies]
|
|
async-trait = { workspace = true }
|
|
bincode = { workspace = true }
|
|
reqwest = { workspace = true, features = ["json", "gzip", "deflate", "brotli", "zstd", "rustls-tls"] }
|
|
http.workspace = true
|
|
url = { workspace = true }
|
|
once_cell = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
tracing = { workspace = true }
|
|
itertools = { workspace = true }
|
|
|
|
# used for decoding text responses (they were already implicitly included)
|
|
bytes = { workspace = true }
|
|
encoding_rs = { workspace = true }
|
|
mime = { workspace = true }
|
|
|
|
nym-http-api-common = { path = "../http-api-common", default-features = false }
|
|
nym-bin-common = { path = "../bin-common" }
|
|
|
|
[target."cfg(not(target_arch = \"wasm32\"))".dependencies]
|
|
hickory-resolver = { workspace = true, features = ["https-ring", "tls-ring", "webpki-roots"] }
|
|
|
|
# for request timeout until https://github.com/seanmonstar/reqwest/issues/1135 is fixed
|
|
[target."cfg(target_arch = \"wasm32\")".dependencies.wasmtimer]
|
|
workspace = true
|
|
features = ["tokio"]
|
|
|
|
[dev-dependencies]
|
|
tokio = { workspace = true, features = ["rt", "macros"] }
|
|
|