Cargo Features
[dependencies]
prometheus_push = { version = "0.4.5", default-features = false, features = ["non_blocking", "blocking", "prometheus_crate", "prometheus_client_crate", "with_reqwest", "with_reqwest_blocking"] }
- default = non_blocking
-
The
non_blocking
feature is set by default wheneverprometheus_push
is added without
somewhere in the dependency tree.default-features = false - non_blocking default with_reqwest?
-
Affects
prometheus_push::non_blocking
,utils::PushType
… - blocking with_reqwest_blocking?
-
Affects
prometheus_push::blocking
,utils::PushType
… - prometheus_crate = prometheus
-
Affects
prometheus_push::prometheus_crate
… - prometheus_client_crate = prometheus-client
-
Affects
prometheus_push::prometheus_client_crate
… - with_reqwest = log, non_blocking, reqwest
-
Affects
prometheus_push::with_reqwest
,prometheus_client_crate::PrometheusClientMetricsPusher
,prometheus_crate::PrometheusMetricsPusher
… - with_reqwest_blocking = blocking, log
-
Affects
blocking::with_reqwest
,prometheus_client_crate::PrometheusClientMetricsPusherBlocking
,prometheus_crate::PrometheusMetricsPusherBlocking
…
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.