Cargo Features
[dependencies]
powerline-rs = { version = "0.2.0", default-features = false, features = ["flame", "chrono", "git2", "users"] }
- default = chrono, git2, users
-
These default features are set whenever
powerline-rs
is added without
somewhere in the dependency tree.default-features = false
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.
- flame implicit feature
-
Enables flame
flame:
a profiling / flamegraph library
- chrono default
- git2 default
-
Enables git2 ^0.10.1
Affects
segments::segment_git
… - users default
-
Enables users ^0.9.1