libp2p-swarm 0.44.2

The libp2p swarm
Documentation
[[test]]
name = "swarm_derive"
required-features = ["macros"]
[dependencies.either]
version = "1.11.0"

[dependencies.fnv]
version = "1.0"

[dependencies.futures]
version = "0.3.30"

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

[dependencies.getrandom]
features = ["js"]
optional = true
version = "0.2.14"

[dependencies.instant]
version = "0.1.12"

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

[dependencies.libp2p-identity]
version = "0.2.8"

[dependencies.libp2p-swarm-derive]
optional = true
version = "=0.34.2"

[dependencies.lru]
version = "0.12.3"

[dependencies.multistream-select]
version = "0.13.0"

[dependencies.once_cell]
version = "1.19.0"

[dependencies.rand]
version = "0.8"

[dependencies.smallvec]
version = "1.13.2"

[dependencies.tracing]
version = "0.1.37"

[dependencies.void]
version = "1"

[dependencies.wasm-bindgen-futures]
optional = true
version = "0.4.42"
[dev-dependencies.async-std]
features = ["attributes"]
version = "1.6.2"

[dev-dependencies.either]
version = "1.11.0"

[dev-dependencies.futures]
version = "0.3.30"

[dev-dependencies.libp2p-identity]
features = ["ed25519"]
version = "0.2.8"

[dev-dependencies.once_cell]
version = "1.19.0"

[dev-dependencies.tokio]
default-features = false
features = ["time", "rt", "macros", "rt-multi-thread"]
version = "1.37"

[dev-dependencies.tracing-subscriber]
features = ["env-filter"]
version = "0.3"

[dev-dependencies.trybuild]
version = "1.0.91"

[dev-dependencies.void]
version = "1"

[features]
async-std = ["dep:async-std"]
macros = ["dep:libp2p-swarm-derive"]
tokio = ["dep:tokio"]
wasm-bindgen = ["dep:wasm-bindgen-futures", "dep:getrandom"]
[lints.clippy]
dbg_macro = "warn"
manual_let_else = "warn"
pedantic = "allow"
type_complexity = "allow"
unnecessary_wraps = "warn"
used_underscore_binding = "warn"

[lints.rust]
unreachable_pub = "warn"

[package]
authors = ["Parity Technologies <admin@parity.io>"]
categories = ["network-programming", "asynchronous"]
description = "The libp2p swarm"
edition = "2021"
keywords = ["peer-to-peer", "libp2p", "networking"]
license = "MIT"
name = "libp2p-swarm"
repository = "https://github.com/libp2p/rust-libp2p"
rust-version = "1.75.0"
version = "0.44.2"
[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.async-std]
optional = true
version = "1.6.2"

[target."cfg(not(any(target_os = \"emscripten\", target_os = \"wasi\", target_os = \"unknown\")))".dependencies.tokio]
default-features = false
features = ["rt"]
optional = true
version = "1.37"