Cargo Features
git-config has no features set by default.
[dependencies]
git-config = { version = "0.16.2", features = ["serde1", "document-features"] }
- serde1 = serde
-
Data structures implement
serde::Serialize
andserde::Deserialize
.Enables serde of bstr, serde1 of git-config-value, git-glob, git-ref, and git-sec
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
document-features:
Extract documentation for the feature flags from comments in Cargo.toml