nym-http-api-client 1.20.5

Nym's HTTP API client, examples, and tests
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "nym-http-api-client"
version = "1.20.5"
authors = ["Nym Technologies SA"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Nym's HTTP API client, examples, and tests"
homepage = "https://nymtech.net"
documentation = "https://nymtech.net"
readme = false
license = "Apache-2.0"
repository = "https://github.com/nymtech/nym"
resolver = "2"

[features]
debug-inventory = ["nym-http-api-client-macro/debug-inventory"]
default = ["tunneling"]
network-defaults = ["dep:nym-network-defaults"]
tunneling = []

[lib]
name = "nym_http_api_client"
path = "src/lib.rs"

[[example]]
name = "debug_inventory"
path = "examples/debug_inventory.rs"

[[example]]
name = "test_timeout"
path = "examples/test_timeout.rs"

[[test]]
name = "registry_tests"
path = "tests/registry_tests.rs"

[dependencies.async-trait]
version = "0.1.88"

[dependencies.bincode]
version = "1.3.3"

[dependencies.bytes]
version = "1.11.1"

[dependencies.cfg-if]
version = "1.0.0"

[dependencies.encoding_rs]
version = "0.8.35"

[dependencies.http]
version = "1"

[dependencies.inventory]
version = "0.3.21"

[dependencies.itertools]
version = "0.14.0"

[dependencies.mime]
version = "0.3.17"

[dependencies.nym-bin-common]
version = "1.20.5"

[dependencies.nym-http-api-client-macro]
version = "1.20.5"

[dependencies.nym-http-api-common]
version = "1.20.5"
default-features = false

[dependencies.nym-network-defaults]
version = "1.20.5"
optional = true

[dependencies.once_cell]
version = "1.21.3"

[dependencies.reqwest]
version = "0.13.1"
features = [
    "json",
    "gzip",
    "deflate",
    "brotli",
    "zstd",
    "rustls",
]
default-features = false

[dependencies.serde]
version = "1.0.219"

[dependencies.serde_json]
version = "1.0.140"

[dependencies.serde_plain]
version = "1.0.2"

[dependencies.serde_yaml]
version = "0.9.25"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.47"
features = [
    "rt",
    "macros",
    "time",
]

[dependencies.tracing]
version = "0.1.41"

[dependencies.url]
version = "2.5"

[dev-dependencies.tracing-subscriber]
version = "0.3.20"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.hickory-resolver]
version = "0.25.2"
features = [
    "https-ring",
    "tls-ring",
    "webpki-roots",
]

[target.'cfg(target_arch = "wasm32")'.dependencies.wasmtimer]
version = "0.4.1"
features = ["tokio"]