Cargo Features

[dependencies]
gix-worktree = { version = "0.33.1", default-features = false, features = ["attributes", "serde", "document-features"] }
default = attributes

The attributes feature is set by default whenever gix-worktree is added without default-features = false somewhere in the dependency tree.

attributes default

Instantiate stacks that can access .gitattributes information.

Enables gix-attributes

Affects stack::Statistics.attributes, state::Attributes, state::attributes

serde

Data structures implement serde::Serialize and serde::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