# 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-memory-connection-limits" version = "0.3.0" description = "Memory usage based connection limits for libp2p." keywords = [ "peer-to-peer", "libp2p", "networking", ] categories = [ "network-programming", "asynchronous", ] license = "MIT" repository = "https://github.com/libp2p/rust-libp2p" [dependencies.libp2p-core] version = "0.42.0" [dependencies.libp2p-identity] version = "0.2.9" features = ["peerid"] [dependencies.libp2p-swarm] version = "0.45.0" [dependencies.memory-stats] version = "1" features = ["always_use_statm"] [dependencies.sysinfo] version = "0.30" [dependencies.tracing] version = "0.1.37" [dependencies.void] version = "1" [dev-dependencies.async-std] version = "1.12.0" features = ["attributes"] [dev-dependencies.libp2p-identify] version = "0.45.0" [dev-dependencies.rand] version = "0.8.5" [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"