Cargo Features
[dependencies]
procfs = { version = "0.17.0", default-features = false, features = ["backtrace", "serde1", "chrono", "flate2"] }
- default = chrono, flate2
-
These default features are set whenever
procfs
is added without
somewhere in the dependency tree.default-features = false Enables procfs-core
- backtrace
-
Enables backtrace, backtrace of procfs-core
- serde1 = serde
-
Enables serde1 of procfs-core
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.