[package]
edition = "2024"
name = "break"
version = "0.1.0"
build = false
exclude = [
"AGENTS.local.md",
".cargo",
".cache",
"rustfmt.toml",
"*.local.sh",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Find the HTTP load that breaks your SLA"
readme = "README.md"
keywords = [
"http",
"benchmark",
"load-testing",
"capacity",
]
categories = [
"command-line-utilities",
"development-tools::profiling",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/iadev09/break"
[features]
cli = [
"dep:clap",
"dep:ctrlc",
"dep:humantime",
]
default = ["cli"]
[lib]
name = "brk"
path = "src/lib.rs"
[[bin]]
name = "brk"
path = "src/bin/brk.rs"
required-features = ["cli"]
[[test]]
name = "http1"
path = "tests/http1.rs"
[dependencies.bytes]
version = "1"
[dependencies.clap]
version = "4"
features = ["derive"]
optional = true
[dependencies.ctrlc]
version = "3"
optional = true
[dependencies.futures-util]
version = "0.3"
[dependencies.http]
version = "1"
[dependencies.httparse]
version = "1"
[dependencies.humantime]
version = "2"
optional = true
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"rt",
"net",
"time",
"sync",
"io-util",
"macros",
]
[dependencies.tokio-util]
version = "0.7"
features = ["rt"]
[target."cfg(unix)".dependencies.libc]
version = "0.2"
[profile.release]
opt-level = 3
lto = "thin"
codegen-units = 1
debug = 0
panic = "unwind"