# 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 believe there's an error in this file please file an # issue against the rust-lang/cargo repository. If you're # editing this file be aware that the upstream Cargo.toml # will likely look very different (and much more reasonable) [package] edition = "2018" name = "ckb-metrics-runtime" version = "0.13.1" authors = ["Toby Lawrence ", "Nervos Core Dev "] description = "A batteries-included metrics library." documentation = "https://docs.rs/metrics" readme = "README.md" keywords = ["metrics", "telemetry", "histogram", "counter", "gauge"] categories = ["development-tools::debugging"] license = "MIT" repository = "https://github.com/nervosnetwork/metrics" [[bench]] name = "histogram" harness = false [dependencies.arc-swap] version = "^0.4" [dependencies.atomic-shim] version = "0.1.0" [dependencies.crossbeam-utils] version = "^0.7" [dependencies.metrics] version = "^0.12" features = ["std"] [dependencies.metrics-core] version = "^0.5" [dependencies.metrics-exporter-http] version = "^0.3" optional = true [dependencies.metrics-exporter-log] version = "^0.4" optional = true [dependencies.metrics-observer-json] version = "^0.1" optional = true [dependencies.metrics-observer-prometheus] version = "^0.1" optional = true [dependencies.metrics-observer-yaml] version = "^0.1" optional = true [dependencies.metrics-util] version = "^0.3" [dependencies.parking_lot] version = "^0.11" [dependencies.quanta] version = "^0.3" [dev-dependencies.criterion] version = "^0.3" [dev-dependencies.env_logger] version = "^0.7" [dev-dependencies.getopts] version = "^0.2" [dev-dependencies.hdrhistogram] version = "^7.1" [dev-dependencies.lazy_static] version = "^1.3" [dev-dependencies.log] version = "^0.4" [dev-dependencies.tokio] version = "^0.2" features = ["macros", "rt-core"] [features] default = ["exporters", "observers"] exporters = ["metrics-exporter-log", "metrics-exporter-http"] observers = ["metrics-observer-yaml", "metrics-observer-json", "metrics-observer-prometheus"]