2023-03-19 19:20:42 +01:00
|
|
|
[package]
|
|
|
|
name = "libp2p-perf"
|
|
|
|
edition = "2021"
|
|
|
|
rust-version = "1.64.0"
|
|
|
|
description = "libp2p perf protocol implementation"
|
|
|
|
version = "0.1.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-std = { version = "1.9.0", features = ["attributes"] }
|
2023-03-20 14:06:08 +00:00
|
|
|
clap = { version = "4.1.11", features = ["derive"] }
|
2023-03-19 19:20:42 +01:00
|
|
|
env_logger = "0.10.0"
|
|
|
|
futures = "0.3.26"
|
|
|
|
instant = "0.1.11"
|
|
|
|
libp2p-core = { version = "0.39.0", path = "../../core" }
|
|
|
|
libp2p-dns = { version = "0.39.0", path = "../../transports/dns", features = ["async-std"] }
|
|
|
|
libp2p-identity = { version = "0.1.0", path = "../../identity" }
|
|
|
|
libp2p-noise = { version = "0.42.0", path = "../../transports/noise" }
|
|
|
|
libp2p-quic = { version = "0.7.0-alpha.2", path = "../../transports/quic", features = ["async-std"] }
|
|
|
|
libp2p-swarm = { version = "0.42.0", path = "../../swarm", features = ["macros", "async-std"] }
|
|
|
|
libp2p-tcp = { version = "0.39.0", path = "../../transports/tcp", features = ["async-io"] }
|
|
|
|
libp2p-yamux = { version = "0.43.0", path = "../../muxers/yamux" }
|
|
|
|
log = "0.4"
|
|
|
|
thiserror = "1.0"
|
|
|
|
void = "1"
|
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
rand = "0.8"
|
2023-03-20 18:49:35 +01:00
|
|
|
libp2p-swarm-test = { path = "../../swarm-test"}
|
2023-03-19 19:20:42 +01:00
|
|
|
|
|
|
|
# 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"]
|