f4dd9a915d
* Add Apache 2.0 to bunch of common crates * Allow some basic licenses * Add more licenses
48 lines
1.4 KiB
TOML
48 lines
1.4 KiB
TOML
[package]
|
|
name = "nym-mixnode-common"
|
|
version = "0.1.0"
|
|
authors = ["Jędrzej Stuczyński <andrew@nymtech.net>"]
|
|
edition = "2021"
|
|
license.workspace = true
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
bytes = "1.0"
|
|
futures = { workspace = true }
|
|
humantime-serde = "1.0"
|
|
log = { workspace = true }
|
|
rand = "0.8"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
tokio = { version = "1.24.1", features = [
|
|
"time",
|
|
"macros",
|
|
"rt",
|
|
"net",
|
|
"io-util",
|
|
] }
|
|
tokio-util = { workspace = true, features = ["codec"] }
|
|
url = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
|
|
## tracing
|
|
tracing = { version = "0.1.37", optional = true }
|
|
|
|
nym-crypto = { path = "../crypto" }
|
|
nym-network-defaults = { path = "../network-defaults" }
|
|
nym-sphinx-acknowledgements = { path = "../nymsphinx/acknowledgements" }
|
|
nym-sphinx-addressing = { path = "../nymsphinx/addressing" }
|
|
nym-sphinx-forwarding = { path = "../nymsphinx/forwarding" }
|
|
nym-sphinx-framing = { path = "../nymsphinx/framing" }
|
|
nym-sphinx-params = { path = "../nymsphinx/params" }
|
|
nym-sphinx-types = { path = "../nymsphinx/types" }
|
|
nym-task = { path = "../task" }
|
|
nym-validator-client = { path = "../client-libs/validator-client" }
|
|
nym-bin-common = { path = "../bin-common" }
|
|
|
|
cfg-if = "1.0.0"
|
|
cpu-cycles = { path = "../../cpu-cycles", optional = true }
|
|
|
|
[features]
|
|
cpucycles = ["cpu-cycles", "tracing"]
|