[package]
name = "libp2p-noise"
edition = "2021"
rust-version = { workspace = true }
description = "Cryptographic handshake protocol using the noise framework."
version = "0.44.0"
authors = ["Parity Technologies <admin@parity.io>"]
license = "MIT"
repository = "https://github.com/libp2p/rust-libp2p"
[dependencies]
asynchronous-codec = "0.7"
bytes = "1"
curve25519-dalek = "4.1.1"
futures = "0.3.29"
libp2p-core = { workspace = true }
libp2p-identity = { workspace = true, features = ["ed25519"] }
multiaddr = { workspace = true }
multihash = { workspace = true }
once_cell = "1.18.0"
quick-protobuf = "0.8"
rand = "0.8.3"
sha2 = "0.10.8"
static_assertions = "1"
thiserror = "1.0.50"
tracing = "0.1.37"
x25519-dalek = "2"
zeroize = "1"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
snow = { version = "0.9.2", features = ["ring-resolver"], default-features = false }
[target.'cfg(target_arch = "wasm32")'.dependencies]
snow = { version = "0.9.2", features = ["default-resolver"], default-features = false }
[dev-dependencies]
futures_ringbuf = "0.4.0"
quickcheck = { workspace = true }
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
libp2p-identity = { workspace = true, features = ["rand"] }
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
rustc-args = ["--cfg", "docsrs"]
[lints]
workspace = true