| [package] |
| name = "libp2p-metrics" |
| edition = "2021" |
| rust-version = { workspace = true } |
| description = "Metrics for libp2p" |
| version = "0.14.2" |
| authors = ["Max Inden <mail@max-inden.de>"] |
| license = "MIT" |
| repository = "https://github.com/libp2p/rust-libp2p" |
| keywords = ["peer-to-peer", "libp2p", "networking"] |
| categories = ["network-programming", "asynchronous"] |
|
|
| [features] |
| dcutr = ["libp2p-dcutr"] |
| gossipsub = ["libp2p-gossipsub"] |
| identify = ["libp2p-identify"] |
| kad = ["libp2p-kad"] |
| ping = ["libp2p-ping"] |
| relay = ["libp2p-relay"] |
|
|
| [dependencies] |
| futures = { workspace = true } |
| web-time = { workspace = true } |
| libp2p-core = { workspace = true } |
| libp2p-dcutr = { workspace = true, optional = true } |
| libp2p-gossipsub = { workspace = true, optional = true } |
| libp2p-identify = { workspace = true, optional = true } |
| libp2p-identity = { workspace = true } |
| libp2p-kad = { workspace = true, optional = true } |
| libp2p-ping = { workspace = true, optional = true } |
| libp2p-relay = { workspace = true, optional = true } |
| libp2p-swarm = { workspace = true } |
| pin-project = "1.1.5" |
| prometheus-client = { workspace = true } |
|
|
| [dev-dependencies] |
| libp2p-identity = { workspace = true, features = ["rand"] } |
|
|
| |
| |
| [package.metadata.docs.rs] |
| all-features = true |
|
|
| [lints] |
| workspace = true |
|
|