Cargo Features
[dependencies]
gix-worktree = { version = "0.46.0", default-features = false, features = ["attributes", "serde", "document-features"] }
- default = attributes
-
The
attributesfeature is set by default whenevergix-worktreeis added withoutsomewhere in the dependency tree.default-features = false - attributes default
-
Instantiate stacks that can access
.gitattributesinformation.Enables gix-attributes and gix-validate
Affects
stack::Statistics.attributes,state::Attributes,state::attributes… - serde
-
Data structures implement
serde::Serializeandserde::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