crates.io · crates:git2
git2 active
Bindings to libgit2 for interoperating with git repositories. This library is both threadsafe and memory safe and allows both reading and writing git repositories.
The latest stable version of git2 is 0.21.0, published on 2026-05-18. Verified by Vigia on 2026-11-27.
| Latest stable version | 0.21.0 |
|---|---|
| Published | 2026-05-18 16:06:09 UTC |
| Install | cargo add git2 |
| Minimum Rust version (rust-version) | none declared |
| License | MIT OR Apache-2.0 |
| Advisories on latest version | none known |
| Last verified | 2026-11-27 03:41:48 UTC |
| Sources | api.osv.dev, crates.io |
Maintenance
| Activity | slowing down |
|---|---|
| Last stable release | 2026-05-18 16:06:09 UTC · 192 days ago |
| Stable releases in the last 12 months | 3 |
| Published versions | 125 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
0.21.0 | 2026-05-18 16:06:09 UTC |
0.20.4 | 2026-02-02 14:57:07 UTC |
0.20.3 | 2025-12-06 17:02:35 UTC |
0.20.2 | 2025-05-05 17:12:28 UTC |
0.20.1 | 2025-03-17 22:43:50 UTC |
0.20.0 | 2025-01-05 00:42:31 UTC |
0.19.0 | 2024-06-14 00:37:36 UTC |
0.18.3 | 2024-03-19 15:52:49 UTC |
0.18.2 | 2024-02-07 04:01:09 UTC |
0.18.1 | 2023-09-20 20:50:55 UTC |
0.18.0 | 2023-08-28 19:21:27 UTC |
0.17.2 | 2023-05-28 18:36:58 UTC |
0.17.1 | 2023-04-16 17:48:52 UTC |
0.17.0 | 2023-04-02 22:16:43 UTC |
0.16.1 | 2023-01-20 22:56:07 UTC |
0.16.0 | 2023-01-10 16:21:42 UTC |
0.15.0 | 2022-07-28 22:18:30 UTC |
0.14.4 | 2022-05-10 17:04:11 UTC |
0.14.3 | 2022-04-27 20:25:15 UTC |
0.14.2 | 2022-03-10 17:04:37 UTC |
Showing the 20 most recent of 125 versions. JSON
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What is the latest version of git2?
The latest stable version of git2 is 0.21.0, published on 2026-05-18. Verified by Vigia on 2026-11-27.
How do I install the latest version of git2?
Run cargo add git2. The latest stable version is 0.21.0 (verified 2026-11-27).
Is git2 deprecated?
No. git2 is not marked as deprecated in the registry.
Which Rust version does git2 require?
git2 0.21.0 does not declare a Rust version requirement.
Does git2 0.21.0 have known vulnerabilities?
No known advisories affect git2 0.21.0 according to the data Vigia checks.
Is git2 still maintained?
git2 published 3 stable releases in the last 12 months; the most recent was 192 days ago. Activity: slowing down.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- libgit2-sys
- flatbuffers
- jsonschema
- nohash-hasher
- os_pipe
- ron
- config
- cssparser
- widestring
- cpp_demangle
- openssl-src
- gloo-timers
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/crates/git2) [](https://vigia.coredls.cloud/crates/git2) [](https://vigia.coredls.cloud/crates/git2)
For agents
GET https://vigia.coredls.cloud/v1/packages/crates/git2
GET https://vigia.coredls.cloud/v1/packages/crates/git2/versions/{version}