From 1206c261b6cc5bc8a15320fac98ae25565adaefe Mon Sep 17 00:00:00 2001 From: Tobias Bieniek Date: Sun, 26 Sep 2021 12:11:54 +0200 Subject: [PATCH] prometheus: Disable `protobuf` feature see https://github.com/tikv/rust-prometheus/pull/216 --- Cargo.lock | 7 ------- Cargo.toml | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c27062f4095..bd8d998aaed 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1905,16 +1905,9 @@ dependencies = [ "lazy_static", "memchr", "parking_lot", - "protobuf", "thiserror", ] -[[package]] -name = "protobuf" -version = "2.25.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23129d50f2c9355ced935fce8a08bd706ee2e7ce2b3b33bf61dace0e379ac63a" - [[package]] name = "quick-error" version = "2.0.1" diff --git a/Cargo.toml b/Cargo.toml index 0e14464be8e..73ca9e4eb21 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -68,7 +68,7 @@ lettre = { version = "0.10.0-beta.3", default-features = false, features = ["fil license-exprs = "1.6" oauth2 = { version = "4.0.0", default-features = false, features = ["reqwest"] } parking_lot = "0.11" -prometheus = "0.12.0" +prometheus = { version = "0.12.0", default-features = false } rand = "0.8" reqwest = { version = "0.11", features = ["blocking", "gzip", "json"] } scheduled-thread-pool = "0.2.0"