Decision Workspace
git2version vs git-version vs grev
Side-by-side comparison of Rust crates
54
git2version
growingv0.5.0
This crate provides a way to get the version of the package from git and incorporate it as a constant into your program.
54
git-version
growingv0.3.9
Compile the git version (tag name, or hash otherwise) and dirty state into your program.
54
grev
growingv0.1.4
A crate for working with git revision information from a build script.
Core Metrics
| git2version | git-version | grev | |
|---|---|---|---|
| Health Score | 54 | 54 | 54 |
| Total Downloads | 179.5K | 16.2M | 134.9K |
| 30d Downloads | 195 | 909.4K | 3.4K |
| Dependents | 0 | 2.0K | 62 |
| Releases | 5 | 11 | 5 |
| Last Updated | 94d ago | 835d ago | 166d ago |
| Age | 2y 10m | 8y 5m | 3y 3m |
Health Breakdown
git2version
Maintenance
11
Quality
16
Community
6
Popularity
6
Documentation
15
git-version
Maintenance
4
Quality
12
Community
17
Popularity
8
Documentation
13
grev
Maintenance
9
Quality
15
Community
11
Popularity
6
Documentation
13
Technical Details
| git2version | git-version | grev | |
|---|---|---|---|
| Version | 0.5.0 | 0.3.9 | 0.1.4 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | BSD-2-Clause | Apache-2.0 OR MIT |
| Dependencies | 7 | 3 | 1 |
| Crate Size | 26KB | 3KB | 12KB |
| Features | 2 | 0 | 0 |
| Yanked % | 0.0% | 9.1% | 0.0% |
| Edition | 2024 | 2021 | 2021 |
| MSRV | 1.89 | — | — |
| Owners | 1 | 2 | 1 |
Links
Quick Verdict
- •git2version leads with a health score of 54/100, but none of the options score above 80.
- •git-version has the most downloads (16.2M), suggesting wider adoption.
- •git-version is depended on by 2.0K crates — strongest ecosystem trust.
- •⚠ git-version has not been updated in over a year.