Files
nym/nym-node/nym-node-requests/Cargo.toml
T
dynco-nym 41fb17a31b Extend swagger docs (#5235)
* WIP adding derive(ToSchema)

* Derive ToSchema for more types

* ContractBuildInformation on /nym_contracts_detailed

* rustfmt

* Add cfg_attr

* A bunch of annotations

* Compiles with utoipa 5.2

* WIP

* Post rebase fixes

* Gitattributes to ignore .sqlx diffs

* generate Sqlx schema files

* Improvements

* Move ecash schema out of ecash crate

* Move redocly config to nym-api/

* Move redocly config to nym-api/

* Remove ErrorResponse

* Move generated openapi spec to .gitignore

* Include BSL licence

* Remove utoipa from ecash toml file

* Remove placeholder annotations

* Chain-watcher rebase changes

* Update licence info

* Treat Scalar as String in OpenAPI
2024-12-20 12:18:45 +01:00

53 lines
1.7 KiB
TOML

[package]
name = "nym-node-requests"
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]
base64 = { workspace = true }
celes = { workspace = true } # country codes
humantime = { workspace = true }
humantime-serde = { workspace = true }
schemars = { workspace = true, features = ["preserve_order"] }
serde = { workspace = true, features = ["derive"] }
serde_json = { workspace = true }
time = { workspace = true, features = ["serde", "formatting", "parsing"] }
thiserror = { workspace = true }
nym-crypto = { path = "../../common/crypto", features = [
"asymmetric",
"serde",
] }
nym-exit-policy = { path = "../../common/exit-policy" }
nym-wireguard-types = { path = "../../common/wireguard-types", default-features = false }
# feature-specific dependencies:
## client:
async-trait = { workspace = true, optional = true }
nym-http-api-client = { path = "../../common/http-api-client", optional = true }
## openapi:
utoipa = { workspace = true, features = ["time"], optional = true }
nym-bin-common = { path = "../../common/bin-common", features = [
"bin_info_schema",
] }
[dev-dependencies]
tokio = { workspace = true, features = ["full"] }
rand_chacha = { workspace = true }
nym-crypto = { path = "../../common/crypto", features = ["rand"] }
[features]
default = ["client"]
client = ["nym-http-api-client", "async-trait"]
openapi = ["utoipa", "nym-bin-common/openapi", "nym-exit-policy/openapi"]