Cargo Features
gix-object has no features set by default.
[dependencies]
gix-object = { version = "0.46.0", features = ["serde", "verbose-object-parsing-errors", "document-features"] }
- serde
-
Data structures implement
serde::Serialize
andserde::Deserialize
.Enables serde, serde of smallvec, serde of bstr, gix-actor, and gix-hash
- verbose-object-parsing-errors
-
When parsing objects by default errors will only be available on the granularity of success or failure, and with the above flag enabled details information about the error location will be collected.
Use it in applications which expect broken or invalid objects or for debugging purposes. Incorrectly formatted objects aren't at all common otherwise.
Features from optional dependencies
- document-features implicit feature
-
Enables document-features
document-features:
Extract documentation for the feature flags from comments in Cargo.toml