Cargo Features
[dependencies]
gix-revision = { version = "0.30.0", default-features = false, features = ["describe", "merge_base", "serde", "document-features"] }
- default = describe, merge_base
-
These default features are set whenever
gix-revision
is added without
somewhere in the dependency tree.default-features = false - describe default
-
git describe
functionalityEnables gix-hashtable and gix-trace
Affects
gix-revision::describe
… - merge_base default
-
git merge-base
functionalityEnables bitflags and gix-trace
Affects
gix-revision::merge_base
… - serde
-
Data structures implement
serde::Serialize
andserde::Deserialize
.Enables serde, serde of gix-hash and gix-object
Features from optional dependencies
- document-features implicit feature
-
Enables document-features
document-features:
Extract documentation for the feature flags from comments in Cargo.toml