ZeroTierOne/crypto/Cargo.toml

35 lines
1.1 KiB
TOML

[package]
authors = ["ZeroTier, Inc. <contact@zerotier.com>", "Adam Ierymenko <adam.ierymenko@zerotier.com>"]
edition = "2021"
license = "MPL-2.0"
name = "zerotier-crypto"
version = "0.1.0"
[dependencies]
zerotier-utils = { path = "../utils" }
ed25519-dalek = { version = "1.0.1", features = ["std", "u64_backend"], default-features = false }
foreign-types = "0.3.1"
lazy_static = "^1"
poly1305 = { version = "0.8.0", features = [], default-features = false }
rand_core = "0.5.1"
rand_core_062 = { package = "rand_core", version = "0.6.2" }
subtle = "2.4.1"
x25519-dalek = { version = "1.2.0", features = ["std", "u64_backend"], default-features = false }
[target."cfg(windows)".dependencies]
openssl = { version = "^0", features = ["vendored"], default-features = false }
winapi = { version = "^0", features = ["handleapi", "ws2ipdef", "ws2tcpip"] }
[target."cfg(not(windows))".dependencies]
openssl = { version = "^0", features = [], default-features = false }
libc = "^0"
signal-hook = "^0"
[dev-dependencies]
criterion = "0.3"
sha2 = "^0"
hex-literal = "^0"
[[bench]]
harness = false
name = "benchmark_crypto"