# 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 believe there's an error in this file please file an # issue against the rust-lang/cargo repository. If you're # editing this file be aware that the upstream Cargo.toml # will likely look very different (and much more reasonable) [package] edition = "2018" name = "tet-libp2p" version = "0.34.0" authors = ["Parity Technologies ", "Tetcoin Developers ", "Tetcoin Developers "] description = "Tetsy peer-to-peer networking library" homepage = "https://core.tetcoin.org" documentation = "https://docs.rs/tet-libp2p" keywords = ["tetcoin", "tetcore", "crypto", "blockchain", "framework"] categories = ["cryptography::cryptocurrencies", "network-programming", "asynchronous"] license = "MIT" repository = "https://github.com/tetcoin/tet-libp2p" [package.metadata.docs.rs] all-features = true [[example]] name = "chat-tokio" required-features = ["tcp-tokio", "mdns"] [dependencies.atomic] version = "0.5.0" [dependencies.bytes] version = "1" [dependencies.floodsub] version = "0.27.0" optional = true [dependencies.futures] version = "0.3.1" [dependencies.gossipsub] version = "0.27.0" optional = true [dependencies.lazy_static] version = "1.2" [dependencies.mplex] version = "0.27.0" optional = true [dependencies.multiaddr] version = "0.11.0" package = "tet-multiaddr" [dependencies.parking_lot] version = "0.11.0" [dependencies.pin-project] version = "1.0.0" [dependencies.plaintext] version = "0.27.0" optional = true [dependencies.request-response] version = "0.9.0" optional = true [dependencies.smallvec] version = "1.0" [dependencies.tet-libp2p-core] version = "0.27.0" [dependencies.tet-libp2p-core-derive] version = "0.21.0" [dependencies.tet-libp2p-identify] version = "0.27.0" optional = true [dependencies.tet-libp2p-kad] version = "0.28.0" optional = true [dependencies.tet-libp2p-noise] version = "0.29.0" optional = true [dependencies.tet-libp2p-ping] version = "0.27.0" optional = true [dependencies.tet-libp2p-pnet] version = "0.20.0" optional = true [dependencies.tet-libp2p-remux] version = "0.30.0" optional = true [dependencies.tet-libp2p-swarm] version = "0.27.0" [dependencies.tet-libp2p-uds] version = "0.27.0" optional = true [dependencies.tet-libp2p-wasm-ext] version = "0.27.0" optional = true [dependencies.wasm-timer] version = "0.2.4" [dev-dependencies.async-std] version = "1.6.2" features = ["attributes"] [dev-dependencies.env_logger] version = "0.8.1" [dev-dependencies.tokio] version = "1.0.1" features = ["io-util", "io-std", "macros", "rt", "rt-multi-thread"] [features] default = ["deflate", "dns", "flood", "identify", "kad", "gossip", "mdns", "mpx", "noise", "ping", "plain", "pnet", "req-res", "secp256k1", "tcp-async-io", "uds", "wasm-x", "websocket", "remux"] deflate = ["tet-libp2p-deflate"] dns = ["tet-libp2p-dns"] flood = ["floodsub"] gossip = ["gossipsub"] identify = ["tet-libp2p-identify"] kad = ["tet-libp2p-kad"] mdns = ["tet-libp2p-mdns"] mpx = ["mplex"] noise = ["tet-libp2p-noise"] ping = ["tet-libp2p-ping"] plain = ["plaintext"] pnet = ["tet-libp2p-pnet"] remux = ["tet-libp2p-remux"] req-res = ["request-response"] secp256k1 = ["tet-libp2p-core/secp256k1"] tcp-async-io = ["tet-libp2p-tcp", "tet-libp2p-tcp/async-io"] tcp-tokio = ["tet-libp2p-tcp", "tet-libp2p-tcp/tokio"] uds = ["tet-libp2p-uds"] wasm-ext-websocket = ["wasm-x", "tet-libp2p-wasm-ext/websocket"] wasm-x = ["tet-libp2p-wasm-ext"] websocket = ["tet-libp2p-websocket"] [target."cfg(not(any(target_os = \"emscripten\", target_os = \"wasi\", target_os = \"unknown\")))".dependencies.tet-libp2p-deflate] version = "0.27.0" optional = true [target."cfg(not(any(target_os = \"emscripten\", target_os = \"wasi\", target_os = \"unknown\")))".dependencies.tet-libp2p-dns] version = "0.27.0" optional = true [target."cfg(not(any(target_os = \"emscripten\", target_os = \"wasi\", target_os = \"unknown\")))".dependencies.tet-libp2p-mdns] version = "0.28.0" optional = true [target."cfg(not(any(target_os = \"emscripten\", target_os = \"wasi\", target_os = \"unknown\")))".dependencies.tet-libp2p-tcp] version = "0.27.0" optional = true [target."cfg(not(any(target_os = \"emscripten\", target_os = \"wasi\", target_os = \"unknown\")))".dependencies.tet-libp2p-websocket] version = "0.28.0" optional = true