# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.75.0" name = "libp2p-metrics" version = "0.15.0" authors = ["Max Inden "] description = "Metrics for libp2p" readme = "README.md" keywords = [ "peer-to-peer", "libp2p", "networking", ] categories = [ "network-programming", "asynchronous", ] license = "MIT" repository = "https://github.com/libp2p/rust-libp2p" [package.metadata.docs.rs] all-features = true [dependencies.futures] version = "0.3.30" [dependencies.libp2p-core] version = "0.42.0" [dependencies.libp2p-dcutr] version = "0.12.0" optional = true [dependencies.libp2p-gossipsub] version = "0.47.0" optional = true [dependencies.libp2p-identify] version = "0.45.0" optional = true [dependencies.libp2p-identity] version = "0.2.9" [dependencies.libp2p-kad] version = "0.46.0" optional = true [dependencies.libp2p-ping] version = "0.45.0" optional = true [dependencies.libp2p-relay] version = "0.18.0" optional = true [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] version = "0.2.9" features = ["rand"] [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"