d126d8e5a0
* placeholder handling of wg registration with upgrade mode token * include upgrade mode credentials as part of credential storage * introduce helper for decoding JWT payload * expose methods for removing emergency credentials from the storage * don't allow duplicate emergency credentials with the same content * added authenticator ClientMessage for upgrade mode check * retrieve credentials with longest expiration first * post rebasing fixes * fixed gateway config * feat: allow specifying minimum node performance for client init * nym-node UM improvements * fixed upgrade mode bandwidth on initial authentication * fix: logs and thresholds * expose attestation information from nym-node http api * additional logs * post rebasing fixes * make @simonwicky happy by removing empty lines in emergency_credential table definition * chore: remove '_' prefix for internal counters within in-mem ecash storage * improved import of 'UpgradeModeState' within the nym-node * use explicit time dependency within credential-storage * re-order imports within the gateway-client * moved 'AvailableBandwidth' definition to the monorepo
56 lines
1.9 KiB
TOML
56 lines
1.9 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]
|
|
celes = { workspace = true } # country codes
|
|
humantime-serde = { workspace = true }
|
|
schemars = { workspace = true, features = ["preserve_order"] }
|
|
serde = { workspace = true, features = ["derive"] }
|
|
serde_json = { workspace = true }
|
|
strum = { workspace = true, features = ["derive"] }
|
|
strum_macros = { workspace = true }
|
|
time = { workspace = true, features = ["serde", "formatting", "parsing"] }
|
|
thiserror = { workspace = true }
|
|
url = { workspace = true, features = ["serde"] }
|
|
|
|
nym-crypto = { path = "../../common/crypto", features = [
|
|
"asymmetric",
|
|
"serde",
|
|
] }
|
|
nym-exit-policy = { path = "../../common/exit-policy" }
|
|
nym-noise-keys = { path = "../../common/nymnoise/keys" }
|
|
nym-wireguard-types = { path = "../../common/wireguard-types", default-features = false }
|
|
nym-upgrade-mode-check = { path = "../../common/upgrade-mode-check", features = ["openapi"] }
|
|
|
|
# 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"]
|