[package]
edition = "2024"
rust-version = "1.88"
name = "hdrhistogram"
version = "7.6.0"
authors = [
"Jon Gjengset <jon@thesquareplanet.com>",
"Marshall Pierce <marshall@mpierce.org>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A port of HdrHistogram to Rust"
homepage = "https://github.com/HdrHistogram/HdrHistogram_rust"
documentation = "https://docs.rs/hdrhistogram"
readme = "README.md"
keywords = [
"sampling",
"statistics",
"analytics",
]
categories = [
"data-structures",
"development-tools::profiling",
]
license = "MIT/Apache-2.0"
repository = "https://github.com/HdrHistogram/HdrHistogram_rust.git"
[features]
bench_private = []
default = [
"serialization",
"sync",
]
serialization = [
"dep:flate2",
"dep:nom",
"dep:base64",
]
sync = ["dep:crossbeam-channel"]
[lib]
name = "hdrhistogram"
path = "src/lib.rs"
[[example]]
name = "cli"
path = "examples/cli.rs"
required-features = ["serialization"]
[[test]]
name = "auto_resize"
path = "tests/auto_resize.rs"
[[test]]
name = "data_access"
path = "tests/data_access.rs"
[[test]]
name = "histogram"
path = "tests/histogram.rs"
[[test]]
name = "interval_log"
path = "tests/interval_log.rs"
[[test]]
name = "iterators"
path = "tests/iterators.rs"
[[test]]
name = "quantile"
path = "tests/quantile.rs"
[[test]]
name = "serialization"
path = "tests/serialization.rs"
[[test]]
name = "sync"
path = "tests/sync.rs"
[[bench]]
name = "clone"
path = "benches/clone.rs"
[[bench]]
name = "interval_log"
path = "benches/interval_log.rs"
[[bench]]
name = "quantiles"
path = "benches/quantiles.rs"
[[bench]]
name = "record"
path = "benches/record.rs"
[[bench]]
name = "serialization"
path = "benches/serialization.rs"
[dependencies.base64]
version = "0.22.1"
optional = true
[dependencies.byteorder]
version = "1.0.0"
[dependencies.crossbeam-channel]
version = "0.5.15"
optional = true
[dependencies.flate2]
version = "1.0.3"
optional = true
[dependencies.nom]
version = "8.0.0"
optional = true
[dependencies.num-traits]
version = "0.2"
[dev-dependencies.clap]
version = "4"
features = ["string"]
[dev-dependencies.ieee754]
version = "0.2.2"
[dev-dependencies.rand]
version = "0.10.2"
[target."cfg(unix)".dev-dependencies.rug]
version = "1.2"
[profile.bench]
debug = 2
[profile.release]
debug = 2