crates.io · crates:git2
git2 活跃
Bindings to libgit2 for interoperating with git repositories. This library is both threadsafe and memory safe and allows both reading and writing git repositories.
| 最新稳定版本 | 0.21.0 |
|---|---|
| 发布时间 | 2026-05-18 16:06:09 UTC |
| 安装 | cargo add git2 |
| 最低 Rust 版本 (rust-version) | 未声明 |
| 许可证 | MIT OR Apache-2.0 |
| 最新版本的安全公告 | 暂无已知 |
| 最近核实 | 2026-10-09 03:05:17 UTC |
| 来源 | api.osv.dev, crates.io |
维护情况
| 活跃度 | 活跃 |
|---|---|
| 最近的稳定版本 | 2026-05-18 16:06:09 UTC · 143 天前 |
| 过去 12 个月的稳定版本数 | 3 |
| 已发布版本数 | 125 |
仅根据发布时间估算,不反映对 issue 或安全问题的响应速度。
版本历史
| 版本 | 发布时间 |
|---|---|
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 |
显示 125 个版本中最新的 20 个。 JSON
把这些数据交给你的 AI 智能体
Vigia 是免费的 MCP 服务器:你的编程智能体在写代码之前就能检查版本、不兼容变更和安全漏洞。无需注册,无需 API 密钥。
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
添加到 Cursor添加到 VS Code★ 在 GitHub 上加星
任何其他 MCP 客户端
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }常见问题
git2 的最新版本是什么?
git2 的最新稳定版本是 0.21.0,发布于 2026-05-18。Vigia 于 2026-10-09 核实。
如何安装 git2 的最新版本?
运行 cargo add git2。最新稳定版本是 0.21.0(2026-10-09 核实)。
git2 是否已弃用?
否。注册表中 git2 未被标记为已弃用。
git2 需要哪个版本的 Rust?
git2 0.21.0 未声明对 Rust 版本的要求。
git2 0.21.0 是否存在已知漏洞?
根据 Vigia 检查的数据,没有已知安全公告影响 git2 0.21.0。
git2 是否仍在维护?
git2 在过去 12 个月内发布了 3 个稳定版本,最近一次在 143 天前。活跃度:活跃。
观察到的变更
自 Vigia 开始跟踪此软件包以来,尚未观察到变更。
相关软件包
- aws-sdk-sso
- ron
- inflector
- seq-macro
- libgit2-sys
- multer
- dlv-list
- lexical-write-float
- config
- ascii
- lexical-write-integer
- hdrhistogram
用于 README 的徽章
展示此软件包的最新版本、维护状态以及是否已弃用。复制 Markdown:
[](https://vigia.coredls.cloud/crates/git2) [](https://vigia.coredls.cloud/crates/git2) [](https://vigia.coredls.cloud/crates/git2)
供智能体使用
GET https://vigia.coredls.cloud/v1/packages/crates/git2
GET https://vigia.coredls.cloud/v1/packages/crates/git2/versions/{version}