metrics/metrics-util/Cargo.toml

54 lines
1.1 KiB
TOML

[package]
name = "metrics-util"
version = "0.4.0-alpha.3"
authors = ["Toby Lawrence <toby@nuclearfurnace.com>"]
edition = "2018"
license = "MIT"
description = "Helper types/functions used by the metrics ecosystem."
homepage = "https://github.com/metrics-rs/metrics"
repository = "https://github.com/metrics-rs/metrics"
documentation = "https://docs.rs/metrics-util"
readme = "README.md"
categories = ["development-tools::debugging"]
keywords = ["metrics", "quantile", "percentile"]
[lib]
bench = false
[[bench]]
name = "bucket"
harness = false
[[bench]]
name = "registry"
harness = false
[[bench]]
name = "streaming_integers"
harness = false
[dependencies]
metrics = { version = "0.13.0-alpha.1", path = "../metrics", features = ["std"] }
crossbeam-epoch = "0.8"
crossbeam-utils = "0.7"
serde = "1.0"
arc-swap = "0.4"
atomic-shim = "0.1"
parking_lot = "0.11"
aho-corasick = { version = "0.7", optional = true }
dashmap = "3"
[dev-dependencies]
criterion = "0.3"
lazy_static = "1.3"
rand = { version = "0.7", features = ["small_rng"] }
rand_distr = "0.3"
[features]
default = ["std", "layer-filter"]
std = []
layer-filter = ["aho-corasick"]