mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-05-17 21:31:20 +00:00
Starting with nightly-2023-09-10, the `[lints]` section in `Cargo.toml` files is stable. Together with workspace inheritance, this can be used to declare all lints we want to enforce in a single place. Resolves: #4484. Pull-Request: #4575.
30 lines
882 B
TOML
30 lines
882 B
TOML
[package]
|
|
name = "libp2p-memory-connection-limits"
|
|
edition = "2021"
|
|
rust-version = { workspace = true }
|
|
description = "Memory usage based connection limits for libp2p."
|
|
version = "0.1.0"
|
|
license = "MIT"
|
|
repository = "https://github.com/libp2p/rust-libp2p"
|
|
keywords = ["peer-to-peer", "libp2p", "networking"]
|
|
categories = ["network-programming", "asynchronous"]
|
|
|
|
[dependencies]
|
|
memory-stats = { version = "1", features = ["always_use_statm"] }
|
|
libp2p-core = { workspace = true }
|
|
libp2p-swarm = { workspace = true }
|
|
libp2p-identity = { workspace = true, features = ["peerid"] }
|
|
log = "0.4"
|
|
sysinfo = "0.29"
|
|
void = "1"
|
|
|
|
[dev-dependencies]
|
|
async-std = { version = "1.12.0", features = ["attributes"] }
|
|
libp2p-identify = { workspace = true }
|
|
libp2p-swarm-derive = { path = "../../swarm-derive" }
|
|
libp2p-swarm-test = { path = "../../swarm-test" }
|
|
rand = "0.8.5"
|
|
|
|
[lints]
|
|
workspace = true
|