rlt 0.4.0

A universal load testing library for Rust, with real-time TUI support
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "rlt"
version = "0.4.0"
authors = ["Wenxuan Zhang <wenxuangm@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A universal load testing library for Rust, with real-time TUI support"
readme = "README.md"
keywords = [
    "performance",
    "load-testing",
    "benchmark",
    "cli",
]
categories = [
    "visualization",
    "command-line-utilities",
    "development-tools::profiling",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/wfxr/rlt"

[features]
default = [
    "tracing",
    "rate_limit",
    "http",
]
http = ["dep:http"]
rate_limit = ["dep:governor"]
tracing = [
    "dep:log",
    "dep:tracing",
    "dep:tui-logger",
]

[lib]
name = "rlt"
path = "src/lib.rs"

[[example]]
name = "baseline"
path = "examples/baseline.rs"

[[example]]
name = "http_hyper"
path = "examples/http_hyper.rs"

[[example]]
name = "http_reqwest"
path = "examples/http_reqwest.rs"

[[example]]
name = "logging"
path = "examples/logging.rs"

[[example]]
name = "postgres"
path = "examples/postgres.rs"

[[example]]
name = "simple_stateless"
path = "examples/simple_stateless.rs"

[[example]]
name = "warmup"
path = "examples/warmup.rs"

[dependencies.anyhow]
version = "1"

[dependencies.async-trait]
version = "0.1"

[dependencies.byte-unit]
version = "5.1"

[dependencies.cfg-if]
version = "1"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.clap]
version = "4.5"
features = ["derive"]

[dependencies.crossterm]
version = "0.29"

[dependencies.governor]
version = "0.10"
optional = true

[dependencies.hdrhistogram]
version = "7.5"

[dependencies.http]
version = "1.1"
optional = true

[dependencies.humantime]
version = "2.1"

[dependencies.itertools]
version = "0.14"

[dependencies.log]
version = "0.4"
optional = true

[dependencies.nonzero_ext]
version = "0.3"

[dependencies.parking_lot]
version = "0.12"

[dependencies.ratatui]
version = "0.30"
features = ["crossterm"]
default-features = false

[dependencies.serde]
version = "1"
features = ["serde_derive"]

[dependencies.serde_json]
version = "1"

[dependencies.strum]
version = "0.27"
features = ["derive"]

[dependencies.tabled]
version = "0.20"
features = ["ansi"]

[dependencies.tokio]
version = "1.36"
features = [
    "rt",
    "time",
    "signal",
    "macros",
]

[dependencies.tokio-util]
version = "0.7"

[dependencies.tracing]
version = "0.1"
optional = true

[dependencies.tui-logger]
version = "0.18"
features = ["tracing-support"]
optional = true

[dev-dependencies.bytes]
version = "1.6"

[dev-dependencies.http-body-util]
version = "0.1"

[dev-dependencies.hyper]
version = "1.2"
features = ["client"]

[dev-dependencies.hyper-tls]
version = "0.6"

[dev-dependencies.hyper-util]
version = "0.1"
features = [
    "client",
    "client-legacy",
    "http1",
    "tokio",
]

[dev-dependencies.reqwest]
version = "0.13"

[dev-dependencies.tokio]
version = "1.36"
features = ["rt-multi-thread"]

[dev-dependencies.tokio-postgres]
version = "0.7"

[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]