crates.io · crates:testcontainers
testcontainers 活跃
A library for integration-testing against docker containers from within Rust.
| 最新稳定版本 | 0.28.0 |
|---|---|
| 发布时间 | 2026-08-06 01:29:41 UTC |
| 安装 | cargo add testcontainers |
| 最低 Rust 版本 (rust-version) | Rust ≥ 1.88 |
| 许可证 | MIT OR Apache-2.0 |
| 最新版本的安全公告 | 暂无已知 |
| 最近核实 | 2026-10-09 03:17:34 UTC |
| 来源 | api.osv.dev, crates.io |
维护情况
| 活跃度 | 活跃 |
|---|---|
| 最近的稳定版本 | 2026-08-06 01:29:41 UTC · 64 天前 |
| 过去 12 个月的稳定版本数 | 12 |
| 已发布版本数 | 51 |
仅根据发布时间估算,不反映对 issue 或安全问题的响应速度。
版本历史
| 版本 | 发布时间 |
|---|---|
0.28.0 | 2026-08-06 01:29:41 UTC |
0.27.3 | 2026-04-15 20:56:39 UTC |
0.27.2 | 2026-03-23 14:03:00 UTC |
0.27.1 | 2026-02-23 04:03:08 UTC |
0.27.0 | 2026-02-06 02:43:46 UTC |
0.26.4 已撤回 | 2026-02-05 14:59:49 UTC |
0.26.3 | 2025-12-24 00:22:09 UTC |
0.26.2 | 2025-12-19 04:53:55 UTC |
0.26.1 | 2025-12-19 01:26:34 UTC |
0.26.0 | 2025-12-01 05:11:08 UTC |
0.25.2 | 2025-10-27 22:24:01 UTC |
0.25.1 | 2025-10-27 15:16:36 UTC |
0.25.0 | 2025-07-27 15:44:15 UTC |
0.24.0 | 2025-05-04 21:01:10 UTC |
0.23.3 | 2025-02-19 14:21:52 UTC |
0.23.2 | 2025-02-07 16:52:28 UTC |
0.23.1 | 2024-09-26 00:07:55 UTC |
0.23.0 | 2024-09-25 11:15:58 UTC |
0.22.0 | 2024-08-30 19:22:18 UTC |
0.21.1 | 2024-08-05 23:27:00 UTC |
显示 51 个版本中最新的 20 个。 JSON
版本兼容性
声明支持各运行时版本的最新稳定版本(依据每个版本发布的要求)。
| 运行时 | 最新兼容版本 |
|---|---|
rust 1.63 | 0.15.0 |
rust 1.70 | 0.17.0 |
rust 1.75 | 0.23.1 |
rust 1.80 | 0.23.1 |
rust 1.85 | 0.25.0 |
rust 1.90 | 0.28.0 |
把这些数据交给你的 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" } } }常见问题
testcontainers 的最新版本是什么?
testcontainers 的最新稳定版本是 0.28.0,发布于 2026-08-06。Vigia 于 2026-10-09 核实。
如何安装 testcontainers 的最新版本?
运行 cargo add testcontainers。最新稳定版本是 0.28.0(2026-10-09 核实)。
testcontainers 是否已弃用?
否。注册表中 testcontainers 未被标记为已弃用。
testcontainers 需要哪个版本的 Rust?
testcontainers 0.28.0 声明的要求为:Rust ≥ 1.88。
testcontainers 0.28.0 是否存在已知漏洞?
根据 Vigia 检查的数据,没有已知安全公告影响 testcontainers 0.28.0。
testcontainers 是否仍在维护?
testcontainers 在过去 12 个月内发布了 12 个稳定版本,最近一次在 64 天前。活跃度:活跃。
观察到的变更
自 Vigia 开始跟踪此软件包以来,尚未观察到变更。
相关软件包
- x509-cert
- tempdir
- unic-ucd-ident
- cranelift-isle
- html-escape
- multihash
- askama_parser
- tree-sitter
- typed-path
- cached_proc_macro
- scheduled-thread-pool
- rapidhash
用于 README 的徽章
展示此软件包的最新版本、维护状态以及是否已弃用。复制 Markdown:
[](https://vigia.coredls.cloud/crates/testcontainers) [](https://vigia.coredls.cloud/crates/testcontainers) [](https://vigia.coredls.cloud/crates/testcontainers)
供智能体使用
GET https://vigia.coredls.cloud/v1/packages/crates/testcontainers
GET https://vigia.coredls.cloud/v1/packages/crates/testcontainers/versions/{version}