lightbench 0.3.2

A transport-agnostic benchmarking framework for latency and throughput measurement
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 = "lightbench"
version = "0.3.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A transport-agnostic benchmarking framework for latency and throughput measurement"
readme = "README.md"
keywords = ["benchmark"]
categories = [
    "development-tools::profiling",
    "asynchronous",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/pawissanutt/lightbench"

[features]
clap = ["dep:clap"]

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

[[example]]
name = "async_task"
path = "examples/async_task.rs"
required-features = ["clap"]

[[example]]
name = "http_get"
path = "examples/http_get.rs"
required-features = ["clap"]

[[example]]
name = "noop"
path = "examples/noop.rs"
required-features = ["clap"]

[[example]]
name = "producer_consumer"
path = "examples/producer_consumer.rs"
required-features = ["clap"]

[dependencies.clap]
version = "4"
features = ["derive"]
optional = true

[dependencies.hdrhistogram]
version = "7.5"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1"
features = [
    "rt",
    "time",
    "sync",
    "fs",
    "io-util",
]

[dependencies.tracing]
version = "0.1"

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

[dev-dependencies.axum]
version = "0.8"

[dev-dependencies.reqwest]
version = "0.13.2"
features = ["json"]

[dev-dependencies.serde]
version = "1.0"
features = ["derive"]

[dev-dependencies.tokio]
version = "1.48"
features = ["full"]

[dev-dependencies.tokio-test]
version = "0.4"