[[bench]]
harness = false
name = "peer_id"
[build-dependencies.prost-build]
version = "0.11"
[dependencies.asn1_der]
version = "0.7.4"
[dependencies.bs58]
version = "0.4.0"
[dependencies.ed25519-dalek]
version = "1.0.1"
[dependencies.either]
version = "1.5"
[dependencies.fnv]
version = "1.0"
[dependencies.futures]
features = ["executor", "thread-pool"]
version = "0.3.1"
[dependencies.futures-timer]
version = "3"
[dependencies.instant]
version = "0.1.11"
[dependencies.libsecp256k1]
optional = true
version = "0.7.0"
[dependencies.log]
version = "0.4"
[dependencies.multiaddr]
version = "0.16.0"
[dependencies.multihash]
default-features = false
features = ["std", "multihash-impl", "identity", "sha2"]
version = "0.16"
[dependencies.multistream-select]
version = "0.12.1"
[dependencies.once_cell]
version = "1.16.0"
[dependencies.p256]
default-features = false
features = ["ecdsa", "std"]
optional = true
version = "0.11.1"
[dependencies.parking_lot]
version = "0.12.0"
[dependencies.pin-project]
version = "1.0.0"
[dependencies.prost]
version = "0.11"
[dependencies.rand]
version = "0.8"
[dependencies.rw-stream-sink]
version = "0.3.0"
[dependencies.sec1]
features = ["std"]
version = "0.3.0"
[dependencies.serde]
features = ["derive"]
optional = true
version = "1"
[dependencies.sha2]
version = "0.10.0"
[dependencies.smallvec]
version = "1.6.1"
[dependencies.thiserror]
version = "1.0"
[dependencies.unsigned-varint]
version = "0.7"
[dependencies.void]
version = "1"
[dependencies.zeroize]
version = "1"
[dev-dependencies.async-std]
features = ["attributes"]
version = "1.6.2"
[dev-dependencies.base64]
version = "0.13.0"
[dev-dependencies.criterion]
version = "0.4"
[dev-dependencies.multihash]
default-features = false
features = ["arb"]
version = "0.16"
[dev-dependencies.rmp-serde]
version = "1.0"
[dev-dependencies.serde_json]
version = "1.0"
[features]
ecdsa = ["p256"]
rsa = ["dep:ring"]
secp256k1 = ["libsecp256k1"]
serde = ["multihash/serde-codec", "dep:serde"]
[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.60.0"
version = "0.38.0"
[package.metadata.docs.rs]
all-features = true
rustc-args = ["--cfg", "docsrs"]
rustdoc-args = ["--cfg", "docsrs"]
[target."cfg(not(target_arch = \"wasm32\"))".dependencies.ring]
default-features = false
features = ["alloc", "std"]
optional = true
version = "0.16.9"