Cargo Features

git-odb has no features set by default.

git-odb = { version = "0.41.0", features = ["internal-testing-git-features-parallel", "serde1", "document-features"] }

Enables parallel of git-features


Use scoped threads and channels to parallelize common workloads on multiple objects. If enabled, it is used everywhere where it makes sense. As caches are likely to be used and instantiated per thread, more memory will be used on top of the costs for threads. The threading module will contain thread-safe primitives for shared ownership and mutation, otherwise these will be their single threaded counterparts. This way, single-threaded applications don't have to pay for threaded primitives.

serde1 = serde

Data structures implement serde::Serialize and serde::Deserialize.

Enables serde1 of git-hash, git-object, and git-pack

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

serde serde1?
document-features implicit feature

Enables document-features


Extract documentation for the feature flags from comments in Cargo.toml