Cargo Features

[dependencies]
gix-diff = { version = "0.47.0", default-features = false, features = ["blob", "serde", "wasm", "document-features"] }
default = blob

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

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 and serde::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