diff --git a/Cargo.toml b/Cargo.toml index 07328015..239dea2c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,7 +9,8 @@ description = "The Rust language implementation of TiKV client." edition = "2021" [features] -default = ["prometheus/process"] +default = ["prometheus"] +prometheus = ["prometheus/push", "prometheus/process"] # Enable integration tests with a running TiKV and PD instance. # Use $PD_ADDRS, comma separated, to set the addresses the tests use. integration-tests = [] @@ -33,8 +34,8 @@ futures = { version = "0.3" } lazy_static = "1" log = "0.4" pin-project = "1" -prometheus = { version = "0.13", features = ["push"], default-features = false } -prost = "0.11" +prometheus = { version = "0.13", default-features = false } +prost = "0.12" rand = "0.8" # regex = "1" semver = "1.0"