Skip to content

Commit

Permalink
Disable default-features for dependency prometheus
Browse files Browse the repository at this point in the history
By default, the prometheus crate enables the feature to push metrics, which is not used in this libary.
If needed, a downstream user can enable the feature flag.
  • Loading branch information
ltentrup committed Feb 1, 2024
1 parent 69361b1 commit 630bd91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ members = [
"foundations",
"foundations-macros",
"examples",
"tools/gen-syscall-enum"
"tools/gen-syscall-enum",
]
resolver = "2"

Expand Down Expand Up @@ -41,7 +41,7 @@ ipnetwork = "0.20"
once_cell = "1.5"
parking_lot = "0.12"
proc-macro2 = { version = "1", default-features = false }
prometheus = "0.13.3"
prometheus = { version = "0.13.3", default-features = false }
prometheus-client = "0.18.1"
prometools = "0.2.1"
rand = "0.8"
Expand Down

0 comments on commit 630bd91

Please sign in to comment.