# Copyright 2024 - Nym Technologies SA # SPDX-License-Identifier: Apache-2.0 [package] name = "nym-node-status-api" version = "0.1.0" authors.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true edition.workspace = true license.workspace = true rust-version.workspace = true [dependencies] anyhow = { workspace = true } axum = { workspace = true, features = ["tokio"] } chrono = { workspace = true } clap = { workspace = true, features = ["cargo", "derive", "env", "string"] } cosmwasm-std = { workspace = true } envy = { workspace = true } futures-util = { workspace = true } moka = { workspace = true, features = ["future"] } nym-bin-common = { path = "../common/bin-common" } nym-explorer-client = { path = "../explorer-api/explorer-client" } # TODO dz: ref before Nym API client changes. Update to latest develop once new Nym API is live nym-network-defaults = { git = "https://github.com/nymtech/nym", rev = "f86e08866" } nym-validator-client = { git = "https://github.com/nymtech/nym", rev = "f86e08866" } # nym-network-defaults = { path = "../common/network-defaults" } # nym-validator-client = { path = "../common/client-libs/validator-client" } nym-task = { path = "../common/task" } nym-node-requests = { git = "https://github.com/nymtech/nym", rev = "f86e08866" } # nym-node-requests = { path = "../nym-node/nym-node-requests", features = ["openapi"] } reqwest = { workspace = true } serde = { workspace = true, features = ["derive"] } serde_json = { workspace = true } serde_json_path = { workspace = true } sqlx = { workspace = true, features = ["runtime-tokio-rustls", "sqlite"] } thiserror = { workspace = true } tokio = { workspace = true, features = ["rt-multi-thread"] } tokio-util = { workspace = true } tracing = { workspace = true } tracing-subscriber = { workspace = true, features = ["env-filter"] } tracing-log = { workspace = true } tower-http = { workspace = true, features = ["cors", "trace"] } utoipa = { workspace = true, features = ["axum_extras", "time"] } utoipa-swagger-ui = { workspace = true, features = ["axum"] } # TODO dz `cargo update async-trait` # for automatic schema detection, which was merged, but not released yet # https://github.com/ProbablyClem/utoipauto/pull/38 # utoipauto = { git = "https://github.com/ProbablyClem/utoipauto", rev = "eb04cba" } utoipauto = { workspace = true } [build-dependencies] anyhow = { workspace = true } tokio = { workspace = true, features = ["macros"] } sqlx = { workspace = true, features = [ "runtime-tokio-rustls", "sqlite", "macros", "migrate", ] }