b975d08342
* Set cached storage counters to 0 (#5812) * Set cached storage counters to 0 * u64 to i64 log possible error * Check addition too Debug commit Remove more data from wg storage peer Put actual ticket type in storage Simplify add peer Finish rebase Pass defguard Peer Cache less data for consumption GatewayStorage traits Wg API trait Mock test structures Unit test for peer controller EcashManager trait Init test of Authenticator Remove peer test * Fix windows different API * Use make_bincode_serializer like in other places * Add log_slow_statements to gateway storage * Use correct LevelFilter * Fix clippy * More win fix * Win clippy * Use two error variants more * Use only one Arc<RwLock<T>> instead of many more * Remove commented test * Specific trait import
50 lines
1.7 KiB
TOML
50 lines
1.7 KiB
TOML
[package]
|
|
name = "nym-wireguard"
|
|
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]
|
|
async-trait = { workspace = true }
|
|
base64 = { workspace = true }
|
|
bincode = { workspace = true }
|
|
chrono = { workspace = true }
|
|
dashmap = { workspace = true }
|
|
defguard_wireguard_rs = { workspace = true }
|
|
dyn-clone = { workspace = true }
|
|
futures = { workspace = true }
|
|
# The latest version on crates.io at the time of writing this (6.0.0) has a
|
|
# version mismatch with x25519-dalek/curve25519-dalek that is resolved in the
|
|
# latest commit. So pick that for now.
|
|
x25519-dalek = { workspace = true }
|
|
ip_network = { workspace = true }
|
|
log.workspace = true
|
|
thiserror = { workspace = true }
|
|
tokio = { workspace = true, features = ["rt-multi-thread", "net", "io-util"] }
|
|
tokio-stream = { workspace = true }
|
|
time = { workspace = true }
|
|
tracing = { workspace = true }
|
|
|
|
nym-authenticator-requests = { path = "../authenticator-requests" }
|
|
nym-credential-verification = { path = "../credential-verification" }
|
|
nym-crypto = { path = "../crypto", features = ["asymmetric"] }
|
|
nym-gateway-storage = { path = "../gateway-storage" }
|
|
nym-network-defaults = { path = "../network-defaults" }
|
|
nym-task = { path = "../task" }
|
|
nym-wireguard-types = { path = "../wireguard-types" }
|
|
nym-node-metrics = { path = "../../nym-node/nym-node-metrics" }
|
|
|
|
[dev-dependencies]
|
|
nym-gateway-storage = { path = "../gateway-storage", features = ["mock"] }
|
|
|
|
[features]
|
|
default = []
|
|
mock = ["nym-gateway-storage/mock"]
|
|
|