Files
nym/nym-node/Cargo.toml
T
2023-10-10 17:10:40 +01:00

47 lines
1.6 KiB
TOML

[package]
name = "nym-node"
version = "0.1.0"
authors.workspace = true
repository.workspace = true
homepage.workspace = true
documentation.workspace = true
edition.workspace = true
license.workspace = true
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
anyhow = { workspace = true }
bytes = "1.5.0"
colored = "2"
serde = { workspace = true, features = ["derive"] }
serde_yaml = "0.9.25"
serde_json = { workspace = true }
thiserror = { workspace = true }
tracing = { workspace = true }
tokio = { workspace = true, features = ["macros"] }
# HTTP API:
axum = { workspace = true }
# useful for `#[axum_macros::debug_handler]`
#axum-macros = "0.3.8"
mime = "0.3.17"
hyper = { workspace = true }
tower = { version = "0.4.13" }
tower-http = { version = "0.4.4", features = ["fs"] }
# `actix_extras`? what the hell?
# hear me out first!
# we can't use `axum_extras` because of freaking ephemera that depends on `actix_extras`.
# however, it seems that pulling in `actix_extras` pulls in just enough shared features to improve `IntoParams` for our Query attributes
utoipa = { workspace = true, features = ["actix_extras"] } # can't use `"axum_extras"` feature because ephemera uses `"actix_extras"` -.-'
utoipa-swagger-ui = { workspace = true, features = ["axum"] }
# if we ever wanted redoc/rapidoc bridges:
#utoipa-redoc = { version = "0.1.0", features = ["axum"] }
#utoipa-rapidoc = { version = "0.1.0", features = ["axum"] }
nym-node-requests = { path = "nym-node-requests", default-features = false, features = ["openapi"]}
nym-task = { path = "../common/task" }