Files
nym/nym-node/nym-node-http-api/Cargo.toml
T
2024-04-05 19:34:31 +02:00

51 lines
1.6 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, features = ["headers"] }
# \/ will be needed once we update axum to 0.7
#axum-extra = { version = "0.9.3", features = ["typed-header"] }
#headers = "0.4"
# useful for `#[axum_macros::debug_handler]`
#axum-macros = "0.3.8"
hyper.workspace = true
thiserror.workspace = true
time = { workspace = true, features = ["serde"] }
tokio = { workspace = true, features = ["macros"] }
tower-http = { version = "0.4.4", 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 = "0.7.3"
# 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]
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"] }