# 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 = "2018" rust-version = "1.71.1" name = "metrics-util" version = "0.18.0" authors = ["Toby Lawrence "] description = "Helper types/functions used by the metrics ecosystem." homepage = "https://github.com/metrics-rs/metrics" documentation = "https://docs.rs/metrics-util" readme = "README.md" keywords = [ "metrics", "quantile", "percentile", ] categories = ["development-tools::debugging"] license = "MIT" repository = "https://github.com/metrics-rs/metrics" [lib] bench = false [[example]] name = "bucket-crusher" required-features = ["handles"] [[bench]] name = "bucket" harness = false required-features = ["handles"] [[bench]] name = "registry" harness = false required-features = ["registry"] [[bench]] name = "prefix" harness = false [[bench]] name = "filter" harness = false [[bench]] name = "router" harness = false required-features = ["layer-router"] [dependencies.ahash] version = "0.8" optional = true default-features = false [dependencies.aho-corasick] version = "1" features = ["std"] optional = true default-features = false [dependencies.crossbeam-epoch] version = "0.9" features = [ "alloc", "std", ] optional = true default-features = false [dependencies.crossbeam-utils] version = "0.8" optional = true default-features = false [dependencies.hashbrown] version = "0.15" features = [ "default-hasher", "raw-entry", ] optional = true default-features = false [dependencies.indexmap] version = "2.6" features = ["std"] optional = true default-features = false [dependencies.metrics] version = "^0.24" [dependencies.ordered-float] version = "4.2" optional = true default-features = false [dependencies.quanta] version = "0.12" optional = true default-features = false [dependencies.radix_trie] version = "0.2" optional = true default-features = false [dependencies.sketches-ddsketch] version = "0.3" optional = true default-features = false [dev-dependencies.approx] version = "0.5" default-features = false [dev-dependencies.criterion] version = "=0.3.3" default-features = false [dev-dependencies.crossbeam-queue] version = "0.3" features = ["std"] default-features = false [dev-dependencies.getopts] version = "0.2" default-features = false [dev-dependencies.hdrhistogram] version = "7.2" default-features = false [dev-dependencies.mockall] version = "0.12" default-features = false [dev-dependencies.ndarray] version = "0.16" default-features = false [dev-dependencies.ndarray-stats] version = "0.6" default-features = false [dev-dependencies.noisy_float] version = "0.2" default-features = false [dev-dependencies.ordered-float] version = "4.2" default-features = false [dev-dependencies.predicates] version = "=3.1.0" default-features = false [dev-dependencies.predicates-core] version = "=1.0.6" default-features = false [dev-dependencies.predicates-tree] version = "=1.0.9" default-features = false [dev-dependencies.quickcheck] version = "1" default-features = false [dev-dependencies.quickcheck_macros] version = "1" default-features = false [dev-dependencies.rand] version = "0.8" features = [ "std", "std_rng", "small_rng", ] default-features = false [dev-dependencies.rand_distr] version = "0.4" default-features = false [dev-dependencies.sketches-ddsketch] version = "0.3" default-features = false [dev-dependencies.tracing] version = "0.1" default-features = false [dev-dependencies.tracing-subscriber] version = "0.3" features = [ "fmt", "ansi", ] default-features = false [features] debugging = [ "indexmap", "ordered-float", "registry", ] default = [ "debugging", "handles", "layers", "summary", "recency", "registry", ] handles = [ "crossbeam-epoch", "crossbeam-utils", ] layer-filter = ["aho-corasick"] layer-router = ["radix_trie"] layers = [ "layer-filter", "layer-router", ] recency = [ "registry", "quanta", ] registry = [ "crossbeam-epoch", "crossbeam-utils", "handles", "hashbrown", ] summary = ["sketches-ddsketch"]