mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-01 20:21:21 +00:00
46 lines
1.4 KiB
TOML
46 lines
1.4 KiB
TOML
[package]
|
|
name = "libp2p-perf"
|
|
edition = "2021"
|
|
rust-version = { workspace = true }
|
|
description = "libp2p perf protocol implementation"
|
|
version = "0.2.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"
|
|
async-trait = "0.1"
|
|
clap = { version = "4.3.23", features = ["derive"] }
|
|
env_logger = "0.10.0"
|
|
futures = "0.3.28"
|
|
instant = "0.1.12"
|
|
libp2p-core = { workspace = true }
|
|
libp2p-dns = { workspace = true, features = ["tokio"] }
|
|
libp2p-identity = { workspace = true }
|
|
libp2p-tls = { workspace = true }
|
|
libp2p-quic = { workspace = true, features = ["tokio"] }
|
|
libp2p-request-response = { workspace = true }
|
|
libp2p-swarm = { workspace = true, features = ["macros", "tokio"] }
|
|
libp2p-tcp = { workspace = true, features = ["tokio"] }
|
|
libp2p-yamux = { workspace = true }
|
|
log = "0.4"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
thiserror = "1.0"
|
|
tokio = { version = "1.32.0", features = ["full"] }
|
|
void = "1"
|
|
|
|
[dev-dependencies]
|
|
rand = "0.8"
|
|
libp2p-swarm-test = { path = "../../swarm-test" }
|
|
|
|
# Passing arguments to the docsrs builder in order to properly document cfg's.
|
|
# More information: https://docs.rs/about/builds#cross-compiling
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
rustc-args = ["--cfg", "docsrs"]
|