Cargo Features
[dependencies]
prometheus-32bitfix = { version = "0.13.1", default-features = false, features = ["gen", "nightly", "process", "push"] }
- default = protobuf
-
The
protobuf
feature is set by default wheneverprometheus-32bitfix
is added without
somewhere in the dependency tree.default-features = false - gen = protobuf-codegen-pure
- nightly = libc
-
Affects
histogram::Timespec
… - process = libc, procfs
-
Affects
prometheus-32bitfix::process_collector
… - push = libc, protobuf, reqwest
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.
- libc nightly? process? push?
- protobuf default push?
-
Enables protobuf ^2.0
Affects
prometheus-32bitfix::proto
… - reqwest push?
-
Enables reqwest ^0.11
- protobuf-codegen-pure build gen?
- procfs linux process?
-
Enables procfs ^0.12