git2
v0.20.4 GrowingBindings to libgit2 for interoperating with git repositories. This library is both threadsafe and memory safe and allows both reading and writing git repositories.
Quick Verdict
- โActively maintained (updated 53d ago)
- !Pre-1.0: API may have breaking changes
- โMassive adoption (21.3K crates depend on it)
- โPermissive license (MIT OR Apache-2.0)
Security
Deep Insights
5.1M downloads in the last 30 days (170.1K/day), up 2% from the previous period.
21.3K crates depend on git2 โ it's part of the Rust ecosystem's core infrastructure. Removing it from your dependency tree would be extremely difficult.
The primary maintainer publishes 215 crates. This suggests deep Rust expertise and long-term commitment to the ecosystem.
Despite being 11+ years old, git2 hasn't reached 1.0 yet. Expect potential API changes between versions.
Notable dependents include built, git2-curl, shadow-rs, cargo, docify_macros. When high-quality crates choose git2, it's a strong quality signal.
Health Breakdown
Recency, release consistency, active ratio
Yanked ratio, deps, size, maturity, features
Reverse deps, ownership, ecosystem
Downloads, momentum, growth trend
Docs, repo, license, metadata
Download Trend
Top Dependents
Most downloaded crates that depend on git2
Version Adoption
Release Timeline
Feature Flags
default =["ssh", "https"]