2023-10-06 08:32:35 +00:00
|
|
|
[package]
|
2023-10-31 09:20:04 +00:00
|
|
|
name = "nomos-node-api"
|
2023-10-06 08:32:35 +00:00
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
|
|
|
|
2023-10-20 06:10:05 +00:00
|
|
|
[features]
|
2023-10-31 09:20:04 +00:00
|
|
|
default = ["axum"]
|
2023-11-08 08:55:47 +00:00
|
|
|
axum = ["dep:axum", "dep:hyper", "dep:tower-http", "utoipa-swagger-ui/axum"]
|
2023-10-06 08:32:35 +00:00
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
async-trait = "0.1"
|
2023-10-25 10:10:21 +00:00
|
|
|
overwatch-rs = { git = "https://github.com/logos-co/Overwatch", rev = "2f70806" }
|
|
|
|
overwatch-derive = { git = "https://github.com/logos-co/Overwatch", rev = "ac28d01" }
|
2023-10-06 08:32:35 +00:00
|
|
|
tracing = "0.1"
|
2023-10-20 06:10:05 +00:00
|
|
|
|
2023-11-01 09:14:58 +00:00
|
|
|
consensus-engine = { path = "../../consensus-engine" }
|
2023-10-31 09:20:04 +00:00
|
|
|
nomos-core = { path = "../../nomos-core" }
|
2023-11-01 09:14:58 +00:00
|
|
|
nomos-consensus = { path = "../../nomos-services/consensus" }
|
|
|
|
nomos-network = { path = "../../nomos-services/network" }
|
2023-10-31 09:20:04 +00:00
|
|
|
nomos-da = { path = "../../nomos-services/data-availability" }
|
|
|
|
nomos-mempool = { path = "../../nomos-services/mempool", features = ["mock", "libp2p", "openapi"] }
|
2023-11-01 09:14:58 +00:00
|
|
|
nomos-storage = { path = "../../nomos-services/storage", features = ["sled"] }
|
|
|
|
nomos-libp2p = { path = "../../nomos-libp2p" }
|
|
|
|
full-replication = { path = "../../nomos-da/full-replication" }
|
2023-10-31 09:20:04 +00:00
|
|
|
serde = { version = "1", features = ["derive"] }
|
|
|
|
tokio = { version = "1.33", default-features = false, features = ["sync"] }
|
2023-11-01 09:14:58 +00:00
|
|
|
|
|
|
|
|
|
|
|
# axum related dependencies
|
|
|
|
axum = { version = "0.6", optional = true }
|
|
|
|
hyper = { version = "0.14", features = ["full"], optional = true }
|
2023-11-08 08:55:47 +00:00
|
|
|
tower-http = { version = "0.4", optional = true, features = ["cors", "trace"] }
|
2023-11-01 09:14:58 +00:00
|
|
|
|
|
|
|
|
|
|
|
# openapi related dependencies
|
2023-10-31 09:20:04 +00:00
|
|
|
utoipa = "4.0"
|
|
|
|
utoipa-swagger-ui = { version = "4.0" }
|
|
|
|
|
2023-10-06 08:32:35 +00:00
|
|
|
[dev-dependencies]
|
2023-10-20 06:10:05 +00:00
|
|
|
axum = "0.6"
|
|
|
|
hyper = { version = "0.14", features = ["full"] }
|
|
|
|
utoipa-swagger-ui = { version = "4.0", features = ["axum"] }
|
2023-10-06 08:32:35 +00:00
|
|
|
reqwest = { version = "0.11", features = ["blocking", "json"] }
|
|
|
|
serde = { version = "1", features = ["derive"] }
|
|
|
|
serde_json = "1"
|