[dependencies.either]
version = "1.11"
[dependencies.fnv]
version = "1.0"
[dependencies.futures]
features = ["executor", "thread-pool"]
version = "0.3.30"
[dependencies.futures-timer]
version = "3"
[dependencies.libp2p-identity]
features = ["peerid", "ed25519"]
version = "0.2.9"
[dependencies.multiaddr]
version = "0.18.1"
[dependencies.multihash]
version = "0.19.1"
[dependencies.multistream-select]
version = "0.13.0"
[dependencies.once_cell]
version = "1.19.0"
[dependencies.parking_lot]
version = "0.12.3"
[dependencies.pin-project]
version = "1.1.5"
[dependencies.quick-protobuf]
version = "0.8"
[dependencies.rand]
version = "0.8"
[dependencies.rw-stream-sink]
version = "0.4.0"
[dependencies.serde]
features = ["derive"]
optional = true
version = "1"
[dependencies.smallvec]
version = "1.13.2"
[dependencies.thiserror]
version = "1.0"
[dependencies.tracing]
version = "0.1.37"
[dependencies.unsigned-varint]
version = "0.8.0"
[dependencies.void]
version = "1"
[dependencies.web-time]
version = "1.1.0"
[dev-dependencies.async-std]
features = ["attributes"]
version = "1.6.2"
[dev-dependencies.libp2p-identity]
features = ["ed25519", "rand"]
version = "0.2.9"
[dev-dependencies.multihash]
features = ["arb"]
version = "0.19.1"
[features]
serde = ["multihash/serde-codec", "dep:serde", "libp2p-identity/serde"]
[lints.clippy]
dbg_macro = "warn"
manual_let_else = "warn"
type_complexity = "allow"
unnecessary_wraps = "warn"
used_underscore_binding = "warn"
[lints.clippy.pedantic]
level = "allow"
priority = -1
[lints.rust]
unreachable_pub = "warn"
[package]
authors = ["Parity Technologies <admin@parity.io>"]
categories = ["network-programming", "asynchronous"]
description = "Core traits and structs of libp2p"
edition = "2021"
keywords = ["peer-to-peer", "libp2p", "networking"]
license = "MIT"
name = "libp2p-core"
repository = "https://github.com/libp2p/rust-libp2p"
rust-version = "1.75.0"
version = "0.41.3"
[package.metadata.docs.rs]
all-features = true
rustc-args = ["--cfg", "docsrs"]
rustdoc-args = ["--cfg", "docsrs"]