Cargo Features
[dependencies]
gix-diff = { version = "0.48.0", default-features = false, features = ["blob", "serde", "wasm", "document-features"] }
- default = blob
-
The
blob
feature is set by default whenevergix-diff
is added without
somewhere in the dependency tree.default-features = false - blob default
-
Enable diffing of blobs using imara-diff, which also allows for a generic rewrite tracking implementation.
Enables gix-command, gix-filter, gix-fs, gix-path, gix-tempfile, gix-trace, gix-traverse, gix-worktree, and imara-diff
Affects
gix-diff::Rewrites
,gix-diff::rewrites
,gix-diff::tree_with_rewrites
,gix-diff::blob
… - serde
-
Data structures implement
serde::Serialize
andserde::Deserialize
.Enables serde, serde of gix-hash and gix-object
- wasm
-
Make it possible to compile to the
wasm32-unknown-unknown
target.Enables getrandom
Features from optional dependencies
- document-features implicit feature
-
Enables document-features
document-features:
Extract documentation for the feature flags from comments in Cargo.toml