Cargo Features

git-commitgraph has no features set by default.

[dependencies]
git-commitgraph = { version = "0.13.1", features = ["serde1", "document-features"] }
serde1 = serde

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

Enables serde of bstr, serde1 of git-hash

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

serde serde1?

With derive

document-features implicit feature