[package]
edition = "2024"
rust-version = "1.96"
name = "speed-cli"
version = "1.0.0"
authors = ["Justin Chung <noreply@justinchung.net>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Comprehensive multi-protocol network performance testing CLI (TCP, UDP, QUIC, HTTP/1.1, HTTP/2, h2c, HTTP/3)"
homepage = "https://github.com/justin13888/speed-cli"
readme = "README.md"
keywords = [
"network",
"benchmark",
"throughput",
"latency",
"iperf",
]
categories = [
"command-line-utilities",
"network-programming",
]
license = "Apache-2.0"
repository = "https://github.com/justin13888/speed-cli"
[lib]
name = "speed_cli"
path = "src/lib.rs"
[[bin]]
name = "speed-cli"
path = "src/main.rs"
[[test]]
name = "control_handshake"
path = "tests/control_handshake.rs"
[[test]]
name = "h3_smoke"
path = "tests/h3_smoke.rs"
[[test]]
name = "http_smoke"
path = "tests/http_smoke.rs"
[[test]]
name = "quic_smoke"
path = "tests/quic_smoke.rs"
[[test]]
name = "report_roundtrip"
path = "tests/report_roundtrip.rs"
[[test]]
name = "schema_versioning"
path = "tests/schema_versioning.rs"
[[test]]
name = "tcp_full_duplex"
path = "tests/tcp_full_duplex.rs"
[[test]]
name = "tcp_smoke"
path = "tests/tcp_smoke.rs"
[[test]]
name = "udp_blaster"
path = "tests/udp_blaster.rs"
[[test]]
name = "udp_latency_under_load"
path = "tests/udp_latency_under_load.rs"
[[bench]]
name = "wire_codec"
path = "benches/wire_codec.rs"
harness = false
[dependencies.axum]
version = "0.8.4"
[dependencies.axum-server]
version = "0.7.2"
features = ["tls-rustls"]
[dependencies.bytes]
version = "1.5"
[dependencies.chrono]
version = "0.4.41"
features = ["serde"]
[dependencies.ciborium]
version = "0.2"
[dependencies.clap]
version = "4.5.40"
features = ["derive"]
[dependencies.clap_complete]
version = "4.6.5"
[dependencies.clap_mangen]
version = "0.3.0"
[dependencies.colored]
version = "3.0.0"
[dependencies.eyre]
version = "0.6.12"
[dependencies.futures]
version = "0.3"
[dependencies.h3]
version = "0.0.8"
[dependencies.h3-quinn]
version = "0.0.10"
[dependencies.humansize]
version = "2.1"
[dependencies.hyper]
version = "1.0"
features = ["full"]
[dependencies.hyper-util]
version = "0.1"
features = ["full"]
[dependencies.indexmap]
version = "2.10.0"
features = ["serde"]
[dependencies.indicatif]
version = "0.18.0"
features = ["tokio"]
[dependencies.num-format]
version = "0.4.4"
[dependencies.num_cpus]
version = "1.16.0"
[dependencies.parking_lot]
version = "0.12"
[dependencies.quinn]
version = "0.11"
features = [
"runtime-tokio",
"rustls-aws-lc-rs",
]
default-features = false
[dependencies.rand]
version = "0.9"
[dependencies.rcgen]
version = "0.14.2"
[dependencies.reqwest]
version = "0.12.22"
features = [
"rustls-tls",
"http2",
"http3",
"stream",
"charset",
"system-proxy",
]
default-features = false
[dependencies.rustls]
version = "0.23.29"
features = ["aws-lc-rs"]
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.thiserror]
version = "2.0.12"
[dependencies.tokio]
version = "1.46.1"
features = ["full"]
[dependencies.tokio-util]
version = "0.7.15"
features = ["full"]
[dependencies.tower-http]
version = "0.6.6"
features = ["full"]
[dependencies.tracing]
version = "0.1.41"
features = ["release_max_level_debug"]
[dependencies.tracing-subscriber]
version = "0.3.19"
features = [
"env-filter",
"fmt",
]
[dev-dependencies.criterion]
version = "0.8.2"
[dev-dependencies.tempfile]
version = "3.10"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "forbid"
[profile.release]
lto = true
codegen-units = 1
panic = "abort"
strip = true