Files
nym/nym-node/nym-node-http-api/Cargo.toml
T
2024-05-21 09:41:21 +02:00

50 lines
1.5 KiB
TOML

[package]
name = "nym-node-http-api"
version = "0.1.0"
edition = "2021"
license.workspace = true
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
axum.workspace = true
axum-extra = { workspace = true, features = ["typed-header"] }
headers.workspace = true
# useful for `#[axum_macros::debug_handler]`
#axum-macros = "0.3.8"
thiserror.workspace = true
time = { workspace = true, features = ["serde"] }
tokio = { workspace = true, features = ["macros"] }
tower-http = { version = "0.5.2", features = ["fs"] }
tracing.workspace = true
utoipa = { workspace = true, features = ["axum_extras", "time"] }
utoipa-swagger-ui = { workspace = true, features = ["axum"] }
colored = "2"
ipnetwork = "0.16"
rand = { workspace = true }
# Wireguard:
fastrand = "2"
nym-crypto = { path = "../../common/crypto", features = ["asymmetric", "rand"] }
nym-http-api-common = { path = "../../common/http-api-common" }
nym-node-requests = { path = "../nym-node-requests", default-features = false, features = ["openapi"] }
nym-task = { path = "../../common/task" }
nym-metrics = { path = "../../common/nym-metrics" }
nym-wireguard = { path = "../../common/wireguard" }
nym-wireguard-types = { path = "../../common/wireguard-types", features = ["verify"] }
[dev-dependencies]
hyper.workspace = true
dashmap.workspace = true
serde_json.workspace = true
hmac = "0.12.1"
tower = { version = "0.4.13" }
x25519-dalek = { version = "2.0.0" }
nym-crypto = { path = "../../common/crypto", features = ["rand"] }