| # 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" |
| name = "prometheus" |
| version = "0.13.3" |
| authors = [ |
| "[email protected]", |
| "[email protected]", |
| "[email protected]", |
| ] |
| description = "Prometheus instrumentation library for Rust applications." |
| homepage = "https://github.com/tikv/rust-prometheus" |
| documentation = "https://docs.rs/prometheus" |
| readme = "README.md" |
| keywords = [ |
| "prometheus", |
| "metrics", |
| ] |
| license = "Apache-2.0" |
| repository = "https://github.com/tikv/rust-prometheus" |
| |
| [package.metadata.docs.rs] |
| features = ["nightly"] |
| |
| [[bench]] |
| name = "atomic" |
| harness = false |
| |
| [[bench]] |
| name = "counter" |
| harness = false |
| |
| [[bench]] |
| name = "desc" |
| harness = false |
| |
| [[bench]] |
| name = "gauge" |
| harness = false |
| |
| [[bench]] |
| name = "histogram" |
| harness = false |
| |
| [[bench]] |
| name = "text_encoder" |
| harness = false |
| |
| [dependencies.cfg-if] |
| version = "^1.0" |
| |
| [dependencies.fnv] |
| version = "^1.0" |
| |
| [dependencies.lazy_static] |
| version = "^1.4" |
| |
| [dependencies.libc] |
| version = "^0.2" |
| optional = true |
| |
| [dependencies.memchr] |
| version = "^2.3" |
| |
| [dependencies.parking_lot] |
| version = "^0.12" |
| |
| [dependencies.protobuf] |
| version = "^2.0" |
| optional = true |
| |
| [dependencies.reqwest] |
| version = "^0.11" |
| features = ["blocking"] |
| optional = true |
| |
| [dependencies.thiserror] |
| version = "^1.0" |
| |
| [dev-dependencies.criterion] |
| version = "0.4" |
| |
| [dev-dependencies.getopts] |
| version = "^0.2" |
| |
| [dev-dependencies.hyper] |
| version = "^0.14" |
| features = [ |
| "server", |
| "http1", |
| "tcp", |
| ] |
| |
| [dev-dependencies.tokio] |
| version = "^1.0" |
| features = [ |
| "macros", |
| "rt-multi-thread", |
| ] |
| |
| [build-dependencies.protobuf-codegen-pure] |
| version = "^2.0" |
| optional = true |
| |
| [features] |
| default = ["protobuf"] |
| gen = ["protobuf-codegen-pure"] |
| nightly = ["libc"] |
| process = [ |
| "libc", |
| "procfs", |
| ] |
| push = [ |
| "reqwest", |
| "libc", |
| "protobuf", |
| ] |
| |
| [target."cfg(target_os = \"linux\")".dependencies.procfs] |
| version = "^0.14" |
| optional = true |
| default-features = false |
| |
| [badges.travis-ci] |
| repository = "pingcap/rust-prometheus" |