Package: rust-prometheus / 0.13.4-4

drop-protobuf.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -83,7 +83,7 @@
 [dependencies.parking_lot]
 version = "^0.12"
 
-[dependencies.protobuf]
+[disabled.dependencies.protobuf]
 version = "^2.0"
 optional = true
 
@@ -116,23 +116,23 @@
     "rt-multi-thread",
 ]
 
-[build-dependencies.protobuf-codegen-pure]
+[disabled.build-dependencies.protobuf-codegen-pure]
 version = "^2.0"
 optional = true
 
 [features]
-default = ["protobuf"]
-gen = ["protobuf-codegen-pure"]
+default = []
+#gen = ["protobuf-codegen-pure"]
 nightly = ["libc"]
 process = [
     "libc",
     "procfs",
 ]
-push = [
-    "reqwest",
-    "libc",
-    "protobuf",
-]
+#push = [
+#    "reqwest",
+#    "libc",
+#    "protobuf",
+#]
 
 [target."cfg(target_os = \"linux\")".dependencies.procfs]
 version = "^0.16"