2023-10-06 08:32:35 +00:00
|
|
|
[package]
|
2023-11-10 08:28:10 +00:00
|
|
|
name = "nomos-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"
|
2024-07-03 09:37:23 +00:00
|
|
|
bytes = "1.2"
|
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-31 09:20:04 +00:00
|
|
|
nomos-core = { path = "../../nomos-core" }
|
2024-03-28 11:56:04 +00:00
|
|
|
cryptarchia-consensus = { path = "../cryptarchia-consensus" }
|
2023-11-01 09:14:58 +00:00
|
|
|
nomos-network = { path = "../../nomos-services/network" }
|
2024-03-14 00:53:41 +00:00
|
|
|
nomos-mempool = { path = "../../nomos-services/mempool", features = [
|
2024-09-03 15:02:49 +00:00
|
|
|
"mock",
|
|
|
|
"libp2p",
|
|
|
|
"openapi",
|
2024-03-14 00:53:41 +00:00
|
|
|
] }
|
2024-03-22 12:03:35 +00:00
|
|
|
nomos-metrics = { path = "../../nomos-services/metrics" }
|
2024-07-03 09:37:23 +00:00
|
|
|
nomos-da-indexer = { path = "../data-availability/indexer", features = ["rocksdb-backend"] }
|
2024-09-03 15:02:49 +00:00
|
|
|
nomos-da-sampling = { path = "../data-availability/sampling" }
|
2024-07-03 09:37:23 +00:00
|
|
|
nomos-da-verifier = { path = "../data-availability/verifier", features = ["rocksdb-backend", "libp2p"] }
|
2024-03-21 11:23:26 +00:00
|
|
|
nomos-storage = { path = "../../nomos-services/storage", features = ["rocksdb"] }
|
2023-11-01 09:14:58 +00:00
|
|
|
nomos-libp2p = { path = "../../nomos-libp2p" }
|
|
|
|
full-replication = { path = "../../nomos-da/full-replication" }
|
2024-07-03 09:37:23 +00:00
|
|
|
kzgrs-backend = { path = "../../nomos-da/kzgrs-backend" }
|
2024-09-03 15:02:49 +00:00
|
|
|
rand = "0.8"
|
2023-10-31 09:20:04 +00:00
|
|
|
serde = { version = "1", features = ["derive"] }
|
2024-09-03 16:21:30 +00:00
|
|
|
subnetworks-assignations = { path = "../../nomos-da/network/subnetworks-assignations" }
|
|
|
|
nomos-da-network-core = { path = "../../nomos-da/network/core" }
|
2023-10-31 09:20:04 +00:00
|
|
|
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"
|