Decision Workspace
git2version vs grev vs git-version
Side-by-side comparison of Rust crates
49
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.
61
grev
growingv0.2.0
A crate for working with git revision information from a build script.
54
git-version
growingv0.3.9
Compile the git version (tag name, or hash otherwise) and dirty state into your program.
Core Metrics
| git2version | grev | git-version | |
|---|---|---|---|
| Health Score | 49 | 61 | 54 |
| Total Downloads | 199.0K | 154.1K | 26.6M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 74 | 2.3K |
| Releases | 5 | 6 | 11 |
| Last Updated | 290d ago | 43d ago | 1031d ago |
| Age | 3y 4m | 3y 9m | 8y 11m |
Health Breakdown
git2version
Maintenance
6
Quality
16
Community
6
Popularity
6
Documentation
15
grev
Maintenance
13
Quality
16
Community
11
Popularity
6
Documentation
15
git-version
Maintenance
4
Quality
12
Community
17
Popularity
8
Documentation
13
Technical Details
| git2version | grev | git-version | |
|---|---|---|---|
| Version | 0.5.0 | 0.2.0 | 0.3.9 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | Apache-2.0 OR MIT | BSD-2-Clause |
| Dependencies | 7 | 0 | 3 |
| Crate Size | 26KB | 12KB | 3KB |
| Features | 2 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 9.1% |
| Edition | 2024 | 2021 | 2021 |
| MSRV | 1.89 | 1.74 | — |
| Owners | 1 | 1 | 2 |
Links
Quick Verdict
- •grev leads with a health score of 61/100, but none of the options score above 80.
- •git-version has the most downloads (26.6M), suggesting wider adoption.
- •git-version is depended on by 2.3K crates — strongest ecosystem trust.
- •⚠ git-version has not been updated in over a year.