[package]
edition = "2024"
name = "strest"
version = "0.1.5"
authors = ["Lythaeon"]
build = false
exclude = [
"/fuzz/",
"/target/",
"/charts/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Blazing-fast async HTTP load tester in Rust - lock-free design, real-time stats, distributed runs, and optional chart exports for high-load API testing."
homepage = "https://github.com/Lythaeon/strest"
documentation = "https://docs.rs/strest"
readme = "README.md"
keywords = [
"load-testing",
"http",
"cli",
"performance",
"stress-test",
]
categories = [
"command-line-utilities",
"development-tools::profiling",
"web-programming::http-client",
"network-programming",
]
license = "Apache-2.0"
repository = "https://github.com/Lythaeon/strest"
[features]
alloc-profiler = [
"dep:jemallocator",
"dep:jemalloc-ctl",
"dep:jemalloc-sys",
]
fuzzing = []
http3 = ["reqwest/http3"]
legacy-charts = []
wasm = ["dep:wasmparser"]
[lib]
name = "strest"
path = "src/lib.rs"
[[bin]]
name = "strest"
path = "src/main.rs"
[[test]]
name = "e2e_distributed"
path = "tests/e2e_distributed.rs"
[[test]]
name = "e2e_replay"
path = "tests/e2e_replay.rs"
[[test]]
name = "e2e_single"
path = "tests/e2e_single.rs"
[[test]]
name = "e2e_wasm"
path = "tests/e2e_wasm.rs"
[[test]]
name = "support_distributed"
path = "tests/support_distributed.rs"
[[test]]
name = "support_single"
path = "tests/support_single.rs"
[dependencies.arcshift]
version = "0.4.2"
[dependencies.async-trait]
version = "0.1"
[dependencies.aws-credential-types]
version = "1.2.1"
[dependencies.aws-sigv4]
version = "1.2.1"
[dependencies.aws-smithy-runtime-api]
version = "1.9.3"
features = [
"client",
"http-auth",
]
[dependencies.base64]
version = "0.22.1"
[dependencies.clap]
version = "4.4.4"
features = [
"derive",
"env",
]
[dependencies.crossterm]
version = "0.27.0"
[dependencies.futures-util]
version = "0.3.30"
[dependencies.hdrhistogram]
version = "7.5.4"
features = ["serialization"]
[dependencies.http]
version = "1.1.0"
[dependencies.jemalloc-ctl]
version = "0.5.4"
optional = true
[dependencies.jemalloc-sys]
version = "0.5.4"
features = ["profiling"]
optional = true
[dependencies.jemallocator]
version = "0.5.4"
features = ["profiling"]
optional = true
[dependencies.libc]
version = "0.2.159"
[dependencies.once_cell]
version = "1.21.3"
[dependencies.plotters]
version = "0.3.7"
[dependencies.rand]
version = "0.8.5"
[dependencies.rand_regex]
version = "0.17.0"
[dependencies.ratatui]
version = "0.23.0"
[dependencies.reqwest]
version = "0.12"
features = [
"json",
"multipart",
"native-tls",
"stream",
]
[dependencies.rusqlite]
version = "0.31.0"
features = ["bundled"]
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.tokio]
version = "1.32.0"
features = ["full"]
[dependencies.tokio-rusqlite]
version = "0.5.1"
[dependencies.toml]
version = "0.8"
[dependencies.tracing]
version = "0.1.41"
[dependencies.tracing-subscriber]
version = "0.3.20"
features = ["env-filter"]
[dependencies.wasmparser]
version = "0.121.2"
optional = true
[dev-dependencies.tempfile]
version = "3.10.1"
[dev-dependencies.wat]
version = "1.0"
[lints.clippy]
allow_attributes = "deny"
arithmetic_side_effects = "deny"
assertions_on_constants = "deny"
await_holding_lock = "deny"
await_holding_refcell_ref = "deny"
bool_assert_comparison = "deny"
borrowed_box = "deny"
box_collection = "deny"
cmp_owned = "deny"
dbg_macro = "deny"
enum_glob_use = "deny"
expect_used = "deny"
filter_map_next = "deny"
flat_map_option = "deny"
float_arithmetic = "deny"
float_cmp = "deny"
format_push_string = "deny"
if_same_then_else = "deny"
ignored_unit_patterns = "deny"
implicit_clone = "deny"
indexing_slicing = "deny"
inefficient_to_string = "deny"
iter_not_returning_iterator = "deny"
large_enum_variant = "deny"
let_underscore_must_use = "deny"
lossy_float_literal = "deny"
manual_string_new = "deny"
map_err_ignore = "deny"
map_flatten = "deny"
match_bool = "deny"
match_ref_pats = "deny"
match_wild_err_arm = "deny"
missing_const_for_fn = "deny"
missing_errors_doc = "deny"
missing_panics_doc = "deny"
must_use_candidate = "deny"
mutable_key_type = "deny"
mutex_atomic = "deny"
needless_borrow = "deny"
needless_collect = "deny"
needless_lifetimes = "deny"
needless_pass_by_value = "deny"
ok_expect = "deny"
option_if_let_else = "deny"
or_fun_call = "deny"
panic = "deny"
panic_in_result_fn = "deny"
ptr_arg = "deny"
redundant_clone = "deny"
result_large_err = "deny"
shadow_unrelated = "deny"
single_char_lifetime_names = "deny"
str_to_string = "deny"
string_add = "deny"
todo = "deny"
trait_duplication_in_bounds = "deny"
trivially_copy_pass_by_ref = "deny"
undocumented_unsafe_blocks = "deny"
unimplemented = "deny"
unnecessary_box_returns = "deny"
unnecessary_wraps = "deny"
unreachable = "deny"
unwrap_in_result = "deny"
unwrap_used = "deny"
useless_asref = "deny"
vec_box = "deny"
wildcard_dependencies = "deny"
wildcard_enum_match_arm = "deny"
wrong_self_convention = "deny"
[lints.rust]
deprecated_safe_2024 = "warn"
rust_2024_guarded_string_incompatible_syntax = "warn"
rust_2024_incompatible_pat = "warn"
rust_2024_prelude_collisions = "warn"
[profile.dev]
opt-level = 0
lto = false
debug = 2
panic = "unwind"
overflow-checks = true
incremental = false
[profile.release]
opt-level = 3
lto = "thin"
codegen-units = 1
panic = "abort"
strip = "symbols"