[package]
edition = "2024"
name = "thundra"
version = "1.0.0"
authors = ["Nishant Gaurav <codewithevilxd@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A fast HTTP benchmarking tool built in Rust"
homepage = "https://nishantdev.space"
readme = "README.md"
keywords = [
"http",
"benchmark",
"load-testing",
"performance",
]
categories = [
"command-line-utilities",
"development-tools",
]
license = "MIT"
repository = "https://github.com/codewithevilxd/thundra"
[lib]
name = "thundra"
path = "src/lib.rs"
[[bin]]
name = "thundra"
path = "src/main.rs"
[[example]]
name = "basic_benchmark"
path = "examples/basic_benchmark.rs"
[[example]]
name = "custom_requests"
path = "examples/custom_requests.rs"
[[example]]
name = "hooks_metrics"
path = "examples/hooks_metrics.rs"
[[example]]
name = "rate_ramping"
path = "examples/rate_ramping.rs"
[[example]]
name = "test_server"
path = "examples/test_server.rs"
[[test]]
name = "behavioral"
path = "tests/behavioral.rs"
[[test]]
name = "errors"
path = "tests/errors.rs"
[[test]]
name = "hooks"
path = "tests/hooks.rs"
[[test]]
name = "metrics"
path = "tests/metrics.rs"
[dependencies.bytes]
version = "1"
[dependencies.clap]
version = "4"
features = ["derive"]
[dependencies.clap_complete]
version = "4.6.0"
[dependencies.http-body-util]
version = "0.1"
[dependencies.hyper]
version = "1"
features = [
"client",
"http1",
]
[dependencies.hyper-tls]
version = "0.6"
[dependencies.hyper-util]
version = "0.1"
features = [
"client-legacy",
"http1",
"tokio",
]
[dependencies.indicatif]
version = "0.17"
[dependencies.native-tls]
version = "0.2"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2.0.17"
[dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"signal",
"time",
"sync",
]
[dev-dependencies.axum]
version = "0.8"
[profile.profiling]
debug = 2
inherits = "release"