|
|
[package] |
|
|
name = "libp2p-perf" |
|
|
edition = "2021" |
|
|
rust-version = { workspace = true } |
|
|
description = "libp2p perf protocol implementation" |
|
|
version = "0.4.0" |
|
|
authors = ["Max Inden <mail@max-inden.de>"] |
|
|
license = "MIT" |
|
|
repository = "https://github.com/libp2p/rust-libp2p" |
|
|
keywords = ["peer-to-peer", "libp2p", "networking"] |
|
|
categories = ["network-programming", "asynchronous"] |
|
|
|
|
|
[dependencies] |
|
|
anyhow = "1" |
|
|
clap = { version = "4.5.6", features = ["derive"] } |
|
|
futures = { workspace = true } |
|
|
futures-bounded = { workspace = true } |
|
|
futures-timer = "3.0" |
|
|
web-time = { workspace = true } |
|
|
libp2p = { workspace = true, features = ["tokio", "tcp", "quic", "tls", "yamux", "dns"] } |
|
|
libp2p-core = { workspace = true } |
|
|
libp2p-dns = { workspace = true, features = ["tokio"] } |
|
|
libp2p-identity = { workspace = true, features = ["rand"] } |
|
|
libp2p-quic = { workspace = true, features = ["tokio"] } |
|
|
libp2p-swarm = { workspace = true, features = ["macros", "tokio"] } |
|
|
libp2p-tcp = { workspace = true, features = ["tokio"] } |
|
|
libp2p-tls = { workspace = true } |
|
|
libp2p-yamux = { workspace = true } |
|
|
serde = { version = "1.0", features = ["derive"] } |
|
|
serde_json = "1.0" |
|
|
thiserror = "1.0" |
|
|
tracing = { workspace = true } |
|
|
tracing-subscriber = { workspace = true, features = ["env-filter"] } |
|
|
tokio = { workspace = true, features = ["macros", "rt", "rt-multi-thread"] } |
|
|
void = "1" |
|
|
|
|
|
[dev-dependencies] |
|
|
rand = "0.8" |
|
|
libp2p-swarm-test = { path = "../../swarm-test" } |
|
|
|
|
|
|
|
|
|
|
|
[package.metadata.docs.rs] |
|
|
all-features = true |
|
|
|
|
|
[lints] |
|
|
workspace = true |
|
|
|