Cargo Features
[dependencies]
gix-worktree = { version = "0.38.0", default-features = false, features = ["attributes", "serde", "document-features"] }
- default = attributes
-
The
attributes
feature is set by default whenevergix-worktree
is added without
somewhere in the dependency tree.default-features = false - attributes default
-
Instantiate stacks that can access
.gitattributes
information.Enables gix-attributes and gix-validate
Affects
stack::Statistics.attributes
,state::Attributes
,state::attributes
… - serde
-
Data structures implement
serde::Serialize
andserde::Deserialize
.Enables serde, serde of bstr, gix-hash, gix-ignore, gix-index, gix-object, and optional gix-attributes
Features from optional dependencies
- document-features implicit feature
-
Enables document-features
document-features:
Extract documentation for the feature flags from comments in Cargo.toml