# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.75.0" name = "libp2p-noise" version = "0.45.0" authors = ["Parity Technologies "] description = "Cryptographic handshake protocol using the noise framework." license = "MIT" repository = "https://github.com/libp2p/rust-libp2p" [package.metadata.docs.rs] all-features = true [dependencies.asynchronous-codec] version = "0.7.0" [dependencies.bytes] version = "1" [dependencies.curve25519-dalek] version = "4.1.2" [dependencies.futures] version = "0.3.30" [dependencies.libp2p-core] version = "0.42.0" [dependencies.libp2p-identity] version = "0.2.9" features = ["ed25519"] [dependencies.multiaddr] version = "0.18.1" [dependencies.multihash] version = "0.19.1" [dependencies.once_cell] version = "1.19.0" [dependencies.quick-protobuf] version = "0.8" [dependencies.rand] version = "0.8.3" [dependencies.sha2] version = "0.10.8" [dependencies.static_assertions] version = "1" [dependencies.thiserror] version = "1.0.61" [dependencies.tracing] version = "0.1.37" [dependencies.x25519-dalek] version = "2" [dependencies.zeroize] version = "1" [dev-dependencies.futures_ringbuf] version = "0.4.0" [dev-dependencies.libp2p-identity] version = "0.2.9" features = ["rand"] [dev-dependencies.tracing-subscriber] version = "0.3" features = ["env-filter"] [target."cfg(not(target_arch = \"wasm32\"))".dependencies.snow] version = "0.9.6" features = ["ring-resolver"] default-features = false [target."cfg(target_arch = \"wasm32\")".dependencies.snow] version = "0.9.5" features = ["default-resolver"] default-features = false [lints.clippy] dbg_macro = "warn" manual_let_else = "warn" type_complexity = "allow" unnecessary_wraps = "warn" used_underscore_binding = "warn" [lints.clippy.pedantic] level = "allow" priority = -1 [lints.rust] unreachable_pub = "warn"