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 f58357c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
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 f58357c

Please sign in to comment.