# 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 = "2018" name = "p2p-net-oura" version = "0.39.3" authors = ["Parity Technologies "] description = "Peer-to-peer networking library" readme = "README.md" keywords = [ "peer-to-peer", "libp2p", "networking", ] categories = [ "network-programming", "asynchronous", ] license = "MIT" repository = "https://github.com/tigthor/p2p-net" resolver = "2" [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.futures] version = "0.3.1" [dependencies.lazy_static] version = "1.2" [dependencies.libp2p-core] version = "0.29.0" default-features = false [dependencies.libp2p-floodsub] version = "0.30.0" optional = true [dependencies.libp2p-gossipsub] version = "0.32.0" optional = true [dependencies.libp2p-identify] version = "0.30.0" optional = true [dependencies.libp2p-kad] version = "0.31.0" optional = true [dependencies.libp2p-mplex] version = "0.29.0" optional = true [dependencies.libp2p-noise] version = "0.32.0" optional = true [dependencies.libp2p-ping] version = "0.30.0" optional = true [dependencies.libp2p-plaintext] version = "0.29.0" optional = true [dependencies.libp2p-pnet] version = "0.21.0" optional = true [dependencies.libp2p-relay] version = "0.3.0" optional = true [dependencies.libp2p-request-response] version = "0.12.0" optional = true [dependencies.libp2p-swarm] version = "0.30.0" [dependencies.libp2p-swarm-derive] version = "0.24.0" [dependencies.libp2p-uds] version = "0.29.0" optional = true [dependencies.libp2p-wasm-ext] version = "0.29.0" optional = true default-features = false [dependencies.libp2p-yamux] version = "0.33.0" optional = true [dependencies.multiaddr] version = "0.13.0" [dependencies.parking_lot] version = "0.11.0" [dependencies.pin-project] version = "1.0.0" [dependencies.smallvec] version = "1.6.1" [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-async-std", "floodsub", "identify", "kad", "gossipsub", "mdns", "mplex", "noise", "ping", "plaintext", "pnet", "relay", "request-response", "secp256k1", "tcp-async-io", "uds", "wasm-ext", "websocket", "yamux", ] deflate = ["libp2p-deflate"] dns-async-std = [ "libp2p-dns", "libp2p-dns/async-std", ] dns-tokio = [ "libp2p-dns", "libp2p-dns/tokio", ] floodsub = ["libp2p-floodsub"] gossipsub = ["libp2p-gossipsub"] identify = ["libp2p-identify"] kad = ["libp2p-kad"] mdns = ["libp2p-mdns-ouro"] mplex = ["libp2p-mplex"] noise = ["libp2p-noise"] ping = ["libp2p-ping"] plaintext = ["libp2p-plaintext"] pnet = ["libp2p-pnet"] relay = ["libp2p-relay"] request-response = ["libp2p-request-response"] secp256k1 = ["libp2p-core/secp256k1"] tcp-async-io = [ "libp2p-tcp", "libp2p-tcp/async-io", ] tcp-tokio = [ "libp2p-tcp", "libp2p-tcp/tokio", ] uds = ["libp2p-uds"] wasm-ext = ["libp2p-wasm-ext"] wasm-ext-websocket = [ "wasm-ext", "libp2p-wasm-ext/websocket", ] websocket = ["libp2p-websocket"] yamux = ["libp2p-yamux"] [target."cfg(not(any(target_os = \"emscripten\", target_os = \"wasi\", target_os = \"unknown\")))".dependencies.libp2p-deflate] version = "0.29.0" optional = true [target."cfg(not(any(target_os = \"emscripten\", target_os = \"wasi\", target_os = \"unknown\")))".dependencies.libp2p-dns] version = "0.29.0" optional = true default-features = false [target."cfg(not(any(target_os = \"emscripten\", target_os = \"wasi\", target_os = \"unknown\")))".dependencies.libp2p-mdns-ouro] version = "0.31.1" optional = true [target."cfg(not(any(target_os = \"emscripten\", target_os = \"wasi\", target_os = \"unknown\")))".dependencies.libp2p-tcp] version = "0.29.0" optional = true default-features = false [target."cfg(not(any(target_os = \"emscripten\", target_os = \"wasi\", target_os = \"unknown\")))".dependencies.libp2p-websocket] version = "0.30.0" optional = true