59 lines
1.4 KiB
TOML
59 lines
1.4 KiB
TOML
[package]
|
|
name = "metrics-util"
|
|
version = "0.4.0-alpha.6"
|
|
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 = { version = "0.9", optional = true }
|
|
crossbeam-utils = { version = "0.8", default-features = false }
|
|
arc-swap = { version = "0.4", optional = true }
|
|
atomic-shim = { version = "0.1", optional = true }
|
|
aho-corasick = { version = "0.7", optional = true }
|
|
dashmap = { version = "3", optional = true }
|
|
indexmap = { version = "1.6", optional = true }
|
|
|
|
[dev-dependencies]
|
|
bolero = "0.5"
|
|
criterion = "0.3"
|
|
lazy_static = "1.3"
|
|
rand = { version = "0.7", features = ["small_rng"] }
|
|
rand_distr = "0.3"
|
|
|
|
[features]
|
|
default = ["std"]
|
|
std = ["arc-swap", "atomic-shim", "crossbeam-epoch", "dashmap", "indexmap"]
|
|
layer-filter = ["aho-corasick"]
|
|
|
|
[[test]]
|
|
name = "streaming"
|
|
path = "tests/streaming/fuzz_target.rs"
|
|
harness = false
|