# 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 = "ant-libp2p-noise" version = "0.45.1" authors = ["Parity Technologies "] build = false autolib = false autobins = false autoexamples = false autotests = false autobenches = false description = "Cryptographic handshake protocol using the noise framework." readme = false license = "MIT" repository = "https://github.com/maidsafe/ant-rust-libp2p" [package.metadata.docs.rs] all-features = true [lib] name = "ant_libp2p_noise" path = "src/lib.rs" [[test]] name = "smoke" path = "tests/smoke.rs" [[test]] name = "webtransport_certhashes" path = "tests/webtransport_certhashes.rs" [dependencies.ant-libp2p-core] version = "0.42.1" [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-identity] version = "0.2.10" 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 = "2" [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.10" 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"