# 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" name = "tentacle-secio" version = "0.6.4" authors = [ "piaoliu ", "Nervos Core Dev ", ] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "Secio encryption protocol for p2p" readme = "README.md" keywords = [ "network", "peer-to-peer", ] categories = [ "network-programming", "asynchronous", ] license = "MIT" repository = "https://github.com/nervosnetwork/tentacle" [package.metadata.docs.rs] all-features = false features = [] no-default-features = true [lib] name = "tentacle_secio" path = "src/lib.rs" [[example]] name = "secio_simple" path = "examples/secio_simple.rs" [[bench]] name = "bench" path = "benches/bench.rs" harness = false [dependencies.async-trait] version = "0.1" optional = true [dependencies.bs58] version = "0.5.0" [dependencies.bytes] version = "1.0" [dependencies.futures] version = "0.3.0" [dependencies.log] version = "0.4.1" [dependencies.molecule] version = "0.8.0" [dependencies.rand] version = "0.8" [dependencies.secp256k1] version = "0.30" [dependencies.tokio] version = "1.0" features = ["io-util"] [dependencies.tokio-util] version = "0.7.0" features = ["codec"] [dependencies.unsigned-varint] version = "0.8" [dev-dependencies.chacha20poly1305] version = "0.10" [dev-dependencies.criterion] version = "0.3" [dev-dependencies.env_logger] version = "0.6" [dev-dependencies.hmac] version = "0.12.0" [dev-dependencies.proptest] version = "1" [dev-dependencies.rand_core] version = "0.6" [dev-dependencies.sha2] version = "0.10.0" [dev-dependencies.tokio] version = "1.0.0" features = [ "net", "rt", "rt-multi-thread", ] [dev-dependencies.x25519-dalek] version = "2" [features] openssl-vendored = ["openssl/vendored"] [target.'cfg(not(target_family = "wasm"))'.dependencies.ring] version = "0.17" [target.'cfg(target_family = "wasm")'.dependencies.chacha20poly1305] version = "0.10" features = [ "alloc", "rand_core", ] default-features = false [target.'cfg(target_family = "wasm")'.dependencies.getrandom] version = "0.2" features = ["js"] [target.'cfg(target_family = "wasm")'.dependencies.hmac] version = "0.12.0" [target.'cfg(target_family = "wasm")'.dependencies.rand_core] version = "0.6" [target.'cfg(target_family = "wasm")'.dependencies.sha2] version = "0.10.0" [target.'cfg(target_family = "wasm")'.dependencies.x25519-dalek] version = "2" [target."cfg(unix)".dependencies.openssl] version = "0.10.25" [target."cfg(unix)".dependencies.openssl-sys] version = "0.9"