mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-05-16 12:51:21 +00:00
27 lines
856 B
TOML
27 lines
856 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"
|