nym-http-api-common 1.20.5

Common crate for Nym-related HTTP API interaction
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-common"
version = "1.20.5"
authors = ["Nym Technologies SA"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Common crate for Nym-related HTTP API interaction"
homepage = "https://nymtech.net"
documentation = "https://nymtech.net"
readme = false
license = "Apache-2.0"
repository = "https://github.com/nymtech/nym"
resolver = "2"

[features]
default = []
middleware = [
    "axum",
    "axum-client-ip",
    "colored",
    "futures",
    "subtle",
    "tower",
    "zeroize",
]
output = [
    "axum",
    "bytes",
    "mime",
    "serde_yaml",
    "time",
    "time/formatting",
]
utoipa = ["dep:utoipa"]

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

[dependencies.axum]
version = "0.7.5"
optional = true

[dependencies.axum-client-ip]
version = "0.6.1"
optional = true

[dependencies.bincode]
version = "1.3.3"

[dependencies.bytes]
version = "1.11.1"
optional = true

[dependencies.colored]
version = "2.2"
optional = true

[dependencies.futures]
version = "0.3.31"
optional = true

[dependencies.mime]
version = "0.3.17"
optional = true

[dependencies.serde]
version = "1.0.219"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.140"

[dependencies.serde_yaml]
version = "0.9.25"
optional = true

[dependencies.subtle]
version = "2.5.0"
optional = true

[dependencies.time]
version = "0.3.41"
features = ["macros"]
optional = true

[dependencies.tower]
version = "0.5.2"
optional = true

[dependencies.tracing]
version = "0.1.41"

[dependencies.utoipa]
version = "5.2"
optional = true

[dependencies.zeroize]
version = "1.7.0"
optional = true

[lints.clippy]
complexity = "deny"
dbg_macro = "deny"
exit = "deny"
expect_used = "deny"
panic = "deny"
perf = "deny"
style = "deny"
suspicious = "deny"
todo = "deny"
unimplemented = "deny"
unreachable = "deny"
unwrap_used = "deny"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(tokio_unstable)"]