libp2p 0.50.1

Peer-to-peer networking library
Documentation
[[example]]
name = "chat"
required-features = ["full"]

[[example]]
name = "chat-tokio"
required-features = ["full"]

[[example]]
name = "file-sharing"
required-features = ["full"]

[[example]]
name = "gossipsub-chat"
required-features = ["full"]

[[example]]
name = "ipfs-private"
required-features = ["full"]

[[example]]
name = "ipfs-kad"
required-features = ["full"]

[[example]]
name = "ping"
required-features = ["full"]

[[example]]
name = "mdns-passive-discovery"
required-features = ["full"]

[[example]]
name = "distributed-key-value-store"
required-features = ["full"]
[dependencies.bytes]
version = "1"

[dependencies.futures]
version = "0.3.1"

[dependencies.futures-timer]
version = "3.0.2"

[dependencies.getrandom]
version = "0.2.3"

[dependencies.instant]
version = "0.1.11"

[dependencies.libp2p-autonat]
optional = true
version = "0.9.0"

[dependencies.libp2p-core]
version = "0.38.0"

[dependencies.libp2p-dcutr]
optional = true
version = "0.8.0"

[dependencies.libp2p-floodsub]
optional = true
version = "0.41.0"

[dependencies.libp2p-identify]
optional = true
version = "0.41.0"

[dependencies.libp2p-kad]
optional = true
version = "0.42.0"

[dependencies.libp2p-metrics]
optional = true
version = "0.11.0"

[dependencies.libp2p-mplex]
optional = true
version = "0.38.0"

[dependencies.libp2p-noise]
optional = true
version = "0.41.0"

[dependencies.libp2p-ping]
optional = true
version = "0.41.0"

[dependencies.libp2p-plaintext]
optional = true
version = "0.38.0"

[dependencies.libp2p-pnet]
optional = true
version = "0.22.2"

[dependencies.libp2p-relay]
optional = true
version = "0.14.0"

[dependencies.libp2p-rendezvous]
optional = true
version = "0.11.0"

[dependencies.libp2p-request-response]
optional = true
version = "0.23.0"

[dependencies.libp2p-swarm]
version = "0.41.0"

[dependencies.libp2p-uds]
optional = true
version = "0.37.0"

[dependencies.libp2p-wasm-ext]
optional = true
version = "0.38.0"

[dependencies.libp2p-yamux]
optional = true
version = "0.42.0"

[dependencies.multiaddr]
version = "0.16.0"

[dependencies.parking_lot]
version = "0.12.0"

[dependencies.pin-project]
version = "1.0.0"

[dependencies.smallvec]
version = "1.6.1"
[dev-dependencies.async-std]
features = ["attributes"]
version = "1.6.2"

[dev-dependencies.async-trait]
version = "0.1"

[dev-dependencies.clap]
features = ["derive"]
version = "4.0.13"

[dev-dependencies.env_logger]
version = "0.9.0"

[dev-dependencies.tokio]
features = ["io-util", "io-std", "macros", "rt", "rt-multi-thread"]
version = "1.15"

[features]
async-std = ["libp2p-swarm/async-std", "libp2p-mdns?/async-io", "libp2p-tcp?/async-io", "libp2p-dns?/async-std", "libp2p-quic?/async-std"]
autonat = ["dep:libp2p-autonat"]
dcutr = ["dep:libp2p-dcutr", "libp2p-metrics?/dcutr"]
deflate = ["dep:libp2p-deflate"]
dns = ["dep:libp2p-dns"]
ecdsa = ["libp2p-core/ecdsa"]
floodsub = ["dep:libp2p-floodsub"]
full = ["async-std", "autonat", "dcutr", "deflate", "dns", "ecdsa", "floodsub", "gossipsub", "identify", "kad", "mdns", "metrics", "mplex", "noise", "ping", "plaintext", "pnet", "quic", "macros", "relay", "rendezvous", "request-response", "rsa", "secp256k1", "serde", "tcp", "tls", "tokio", "uds", "wasm-bindgen", "wasm-ext", "wasm-ext-websocket", "webrtc", "websocket", "yamux"]
gossipsub = ["dep:libp2p-gossipsub", "libp2p-metrics?/gossipsub"]
identify = ["dep:libp2p-identify", "libp2p-metrics?/identify"]
kad = ["dep:libp2p-kad", "libp2p-metrics?/kad"]
macros = ["libp2p-swarm/macros"]
mdns = ["dep:libp2p-mdns"]
metrics = ["dep:libp2p-metrics"]
mplex = ["dep:libp2p-mplex"]
noise = ["dep:libp2p-noise"]
ping = ["dep:libp2p-ping", "libp2p-metrics?/ping"]
plaintext = ["dep:libp2p-plaintext"]
pnet = ["dep:libp2p-pnet"]
quic = ["dep:libp2p-quic"]
relay = ["dep:libp2p-relay", "libp2p-metrics?/relay"]
rendezvous = ["dep:libp2p-rendezvous"]
request-response = ["dep:libp2p-request-response"]
rsa = ["libp2p-core/rsa"]
secp256k1 = ["libp2p-core/secp256k1"]
serde = ["libp2p-core/serde", "libp2p-kad?/serde", "libp2p-gossipsub?/serde"]
tcp = ["dep:libp2p-tcp"]
tls = ["dep:libp2p-tls"]
tokio = ["libp2p-swarm/tokio", "libp2p-mdns?/tokio", "libp2p-tcp?/tokio", "libp2p-dns?/tokio", "libp2p-quic?/tokio", "libp2p-webrtc?/tokio"]
uds = ["dep:libp2p-uds"]
wasm-bindgen = ["futures-timer/wasm-bindgen", "instant/wasm-bindgen", "getrandom/js", "libp2p-swarm/wasm-bindgen"]
wasm-ext = ["dep:libp2p-wasm-ext"]
wasm-ext-websocket = ["wasm-ext", "libp2p-wasm-ext?/websocket"]
webrtc = ["dep:libp2p-webrtc", "libp2p-webrtc?/pem"]
websocket = ["dep:libp2p-websocket"]
yamux = ["dep:libp2p-yamux"]

[package]
authors = ["Parity Technologies <admin@parity.io>"]
categories = ["network-programming", "asynchronous"]
description = "Peer-to-peer networking library"
edition = "2021"
keywords = ["peer-to-peer", "libp2p", "networking"]
license = "MIT"
name = "libp2p"
readme = "README.md"
repository = "https://github.com/libp2p/rust-libp2p"
rust-version = "1.62.0"
version = "0.50.1"
[package.metadata.docs.rs]
all-features = true
rustc-args = ["--cfg", "docsrs"]
rustdoc-args = ["--cfg", "docsrs"]
[target."cfg(not(any(target_os = \"emscripten\", target_os = \"wasi\", target_os = \"unknown\")))".dependencies.libp2p-deflate]
optional = true
version = "0.38.0"

[target."cfg(not(any(target_os = \"emscripten\", target_os = \"wasi\", target_os = \"unknown\")))".dependencies.libp2p-dns]
optional = true
version = "0.38.0"

[target."cfg(not(any(target_os = \"emscripten\", target_os = \"wasi\", target_os = \"unknown\")))".dependencies.libp2p-mdns]
optional = true
version = "0.42.0"

[target."cfg(not(any(target_os = \"emscripten\", target_os = \"wasi\", target_os = \"unknown\")))".dependencies.libp2p-quic]
optional = true
version = "=0.7.0-alpha"

[target."cfg(not(any(target_os = \"emscripten\", target_os = \"wasi\", target_os = \"unknown\")))".dependencies.libp2p-tcp]
optional = true
version = "0.38.0"

[target."cfg(not(any(target_os = \"emscripten\", target_os = \"wasi\", target_os = \"unknown\")))".dependencies.libp2p-tls]
optional = true
version = "=0.1.0-alpha"

[target."cfg(not(any(target_os = \"emscripten\", target_os = \"wasi\", target_os = \"unknown\")))".dependencies.libp2p-webrtc]
optional = true
version = "=0.4.0-alpha"

[target."cfg(not(any(target_os = \"emscripten\", target_os = \"wasi\", target_os = \"unknown\")))".dependencies.libp2p-websocket]
optional = true
version = "0.40.0"
[target."cfg(not(target_os = \"unknown\"))".dependencies.libp2p-gossipsub]
optional = true
version = "0.43.0"