We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 59f13b5 commit 751176eCopy full SHA for 751176e
Cargo.toml
@@ -10,7 +10,7 @@ edition = "2021"
10
11
[features]
12
default = ["prometheus"]
13
-prometheus = ["prometheus/push", "prometheus/process"]
+prometheus = ["dep:prometheus", "prometheus/push", "prometheus/process"]
14
# Enable integration tests with a running TiKV and PD instance.
15
# Use $PD_ADDRS, comma separated, to set the addresses the tests use.
16
integration-tests = []
@@ -34,7 +34,7 @@ futures = { version = "0.3" }
34
lazy_static = "1"
35
log = "0.4"
36
pin-project = "1"
37
-prometheus = { version = "0.13", default-features = false }
+prometheus = { version = "0.13", default-features = false, optional = true }
38
prost = "0.12"
39
rand = "0.8"
40
regex = "1"
0 commit comments