[package] name = "nym-http-api-common" description = "Common crate for Nym-related HTTP API interaction" version.workspace = true authors.workspace = true edition.workspace = true license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true rust-version.workspace = true readme.workspace = true publish = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] axum = { workspace = true, optional = true } axum-client-ip = { workspace = true, optional = true } bincode = { workspace = true } bytes = { workspace = true, optional = true } colored = { workspace = true, optional = true } futures = { workspace = true, optional = true } mime = { workspace = true, optional = true } serde = { workspace = true, features = ["derive"] } serde_json = { workspace = true } serde_yaml = { workspace = true, optional = true } subtle = { workspace = true, optional = true } time = { workspace = true, optional = true, features = ["macros"] } tower = { workspace = true, optional = true } tracing.workspace = true utoipa = { workspace = true, optional = true } zeroize = { workspace = true, optional = true } [features] default = [] output = [ "axum", "bytes", "mime", "serde_yaml", "time", "time/formatting" ] middleware = [ "axum", "axum-client-ip", "colored", "futures", "subtle", "tower", "zeroize" ] utoipa = ["dep:utoipa"] [lints] workspace = true