# 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 = "ant-libp2p-metrics" version = "0.15.0" authors = ["Max Inden "] build = false autolib = false autobins = false autoexamples = false autotests = false autobenches = false description = "Metrics for libp2p" readme = "README.md" keywords = [ "peer-to-peer", "libp2p", "networking", ] categories = [ "network-programming", "asynchronous", ] license = "MIT" repository = "https://github.com/maidsafe/ant-rust-libp2p" [package.metadata.docs.rs] all-features = true [lib] name = "ant_libp2p_metrics" path = "src/lib.rs" [dependencies.ant-libp2p-core] version = "0.42.1" [dependencies.ant-libp2p-dcutr] version = "0.12.1" optional = true [dependencies.ant-libp2p-gossipsub] version = "0.48.0" optional = true [dependencies.ant-libp2p-identify] version = "0.46.0" optional = true [dependencies.ant-libp2p-kad] version = "0.47.1" optional = true [dependencies.ant-libp2p-ping] version = "0.45.1" optional = true [dependencies.ant-libp2p-relay] version = "0.18.1" optional = true [dependencies.ant-libp2p-swarm] version = "0.45.2" [dependencies.futures] version = "0.3.30" [dependencies.libp2p-identity] version = "0.2.10" [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.10" features = ["rand"] [features] dcutr = ["ant-libp2p-dcutr"] gossipsub = ["ant-libp2p-gossipsub"] identify = ["ant-libp2p-identify"] kad = ["ant-libp2p-kad"] ping = ["ant-libp2p-ping"] relay = ["ant-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"