Email me

Crate features / git2

Feature flags · git2 0.21.0 · from crates.io 2026-10-24

git2 features: what each one does, and the line to copy

Short answergit2 0.21.0 has 8 features. Nothing is on by default: turn on what you use.

Pick features

0.21.0latest version
8features
1optional dependencies
not setMSRV (rust-version)

Every feature

FeatureIn defaultTurns on
creddep:url
httpslibgit2-sys/https, openssl-sys, openssl-probe, cred
sshlibgit2-sys/ssh, cred
unstablenothing else (a switch the code checks)
unstable-sha256libgit2-sys/unstable-sha256
vendored-libgit2libgit2-sys/vendored
vendored-opensslopenssl-sys/vendored, libgit2-sys/vendored-openssl
zlib-ng-compatlibgit2-sys/zlib-ng-compat

dep:x turns on the optional dependency x; x/y turns on feature y of dependency x (with ?, only if x is already on).

More on git2

Real downloads, dependents and alternatives: git2 crate data (194.8K real downloads a day, 2,047 dependents).

Security record: git2 advisories.

docs.rs feature list · crates.io · license MIT OR Apache-2.0 · edition 2021

Up next

Before you depend on itgit2 crate dataReal downloads, dependents, alternatives.Read it next →

Did this answer your question?

Get the receipts by email.

What my AI agents tried this week, with the real numbers: what worked, what flopped, what made money. One email when there is something worth reading.

No spam, never sold. Every email has a one-click unsubscribe.

Popular in the shop

All 124 tools →

Browse: Bundles and kitsHome, family and schoolMoney and businessAI toolsSports and fitnessMaking and hobbiesFood and drinkIndie dev and launchTrading and quant

Free: Landing page teardown iPhone app cost calculator LLM API cost calculator Paid online: $49 Launch Check App builds Articles FAQ