[dependencies.futures]
version = "0.3.30"
[dependencies.libp2p-core]
version = "0.42.0"
[dependencies.libp2p-dcutr]
optional = true
version = "0.12.0"
[dependencies.libp2p-gossipsub]
optional = true
version = "0.47.0"
[dependencies.libp2p-identify]
optional = true
version = "0.45.0"
[dependencies.libp2p-identity]
version = "0.2.9"
[dependencies.libp2p-kad]
optional = true
version = "0.46.0"
[dependencies.libp2p-ping]
optional = true
version = "0.45.0"
[dependencies.libp2p-relay]
optional = true
version = "0.18.0"
[dependencies.libp2p-swarm]
version = "0.45.1"
[dependencies.pin-project]
version = "1.1.5"
[dependencies.prometheus-client]
version = "0.22.2"
[dependencies.web-time]
version = "1.1.0"
[dev-dependencies.libp2p-identity]
features = ["rand"]
version = "0.2.9"
[features]
dcutr = ["libp2p-dcutr"]
gossipsub = ["libp2p-gossipsub"]
identify = ["libp2p-identify"]
kad = ["libp2p-kad"]
ping = ["libp2p-ping"]
relay = ["libp2p-relay"]
[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 = ["Max Inden <mail@max-inden.de>"]
categories = ["network-programming", "asynchronous"]
description = "Metrics for libp2p"
edition = "2021"
keywords = ["peer-to-peer", "libp2p", "networking"]
license = "MIT"
name = "libp2p-metrics"
readme = "README.md"
repository = "https://github.com/libp2p/rust-libp2p"
rust-version = "1.75.0"
version = "0.15.0"
[package.metadata.docs.rs]
all-features = true