# 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 = "ckb-network" version = "0.120.0" authors = ["Nervos Core Dev "] build = false exclude = ["fuzz"] autobins = false autoexamples = false autotests = false autobenches = false description = "ckb network implementation" homepage = "https://github.com/nervosnetwork/ckb" readme = "README.md" license = "MIT" repository = "https://github.com/nervosnetwork/ckb" [lib] name = "ckb_network" path = "src/lib.rs" [[bench]] name = "peer_store" path = "src/benches/peer_store.rs" harness = false [dependencies.bitflags] version = "1.0" [dependencies.bloom-filters] version = "0.1" [dependencies.bs58] version = "0.5.0" optional = true [dependencies.ckb-app-config] version = "= 0.120.0" [dependencies.ckb-hash] version = "= 0.120.0" [dependencies.ckb-logger] version = "= 0.120.0" [dependencies.ckb-metrics] version = "= 0.120.0" [dependencies.ckb-spawn] version = "= 0.120.0" [dependencies.ckb-stop-handler] version = "= 0.120.0" [dependencies.ckb-systemtime] version = "= 0.120.0" [dependencies.ckb-types] version = "= 0.120.0" [dependencies.ckb-util] version = "= 0.120.0" [dependencies.faster-hex] version = "0.6" optional = true [dependencies.futures] version = "0.3" [dependencies.ipnetwork] version = "0.20" [dependencies.p2p] version = "0.6.2" default-features = false package = "tentacle" [dependencies.rand] version = "0.8" [dependencies.secp256k1] version = "0.30" features = ["recovery"] optional = true [dependencies.sentry] version = "0.34.0" optional = true [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.snap] version = "1" [dependencies.tokio] version = "1" features = [ "sync", "macros", ] [dependencies.tokio-util] version = "0.7" features = ["codec"] [dependencies.trust-dns-resolver] version = "0.23" optional = true [dev-dependencies] [features] fuzz = [] with_dns_seeding = [ "bs58", "faster-hex", "trust-dns-resolver", "secp256k1", ] with_sentry = ["sentry"] [target.'cfg(not(target_family = "wasm"))'.dependencies.p2p] version = "0.6.2" features = [ "upnp", "parking_lot", "openssl-vendored", "tokio-runtime", "tokio-timer", "ws", ] default-features = false package = "tentacle" [target.'cfg(not(target_family = "wasm"))'.dependencies.socket2] version = "0.5" [target.'cfg(target_family = "wasm")'.dependencies.idb] version = "0.6" [target.'cfg(target_family = "wasm")'.dependencies.p2p] version = "0.6.2" features = ["wasm-timer"] default-features = false package = "tentacle" [target.'cfg(target_family = "wasm")'.dependencies.serde-wasm-bindgen] version = "0.6.5"