crates.io · crates:static_init
static_init 活跃
Safe mutable static and non const static initialization, and code execution at program startup/exit.
| 最新稳定版本 | 1.0.4 |
|---|---|
| 发布时间 | 2025-05-21 08:27:18 UTC |
| 安装 | cargo add static_init |
| 最低 Rust 版本 (rust-version) | Rust ≥ 1.82 |
| 许可证 | MIT OR Apache-2.0 |
| 最新版本的安全公告 | 暂无已知 |
| 最近核实 | 2026-10-10 03:43:38 UTC |
| 来源 | api.osv.dev, crates.io |
维护情况
| 活跃度 | 放缓 |
|---|---|
| 最近的稳定版本 | 2025-05-21 08:27:18 UTC · 507 天前 |
| 过去 12 个月的稳定版本数 | 0 |
| 已发布版本数 | 20 |
仅根据发布时间估算,不反映对 issue 或安全问题的响应速度。
版本历史
| 版本 | 发布时间 |
|---|---|
1.0.4 | 2025-05-21 08:27:18 UTC |
1.0.3 | 2022-08-18 10:40:42 UTC |
1.0.2 | 2022-01-10 09:32:47 UTC |
1.0.1 | 2021-04-14 18:15:51 UTC |
1.0.0 已撤回 | 2021-04-13 13:59:00 UTC |
0.5.2 | 2021-03-09 12:38:11 UTC |
0.5.1 已撤回 | 2021-03-08 16:49:47 UTC |
0.5.0 已撤回 | 2021-03-08 16:42:29 UTC |
0.4.2 已撤回 | 2021-03-07 12:15:49 UTC |
0.4.1 已撤回 | 2021-02-11 13:28:13 UTC |
0.4.0 已撤回 | 2021-01-24 09:42:16 UTC |
0.3.0 | 2021-01-21 11:11:00 UTC |
0.2.2 | 2021-01-21 10:13:20 UTC |
0.2.1 | 2021-01-21 09:56:48 UTC |
0.2.0 | 2021-01-21 09:45:05 UTC |
0.1.3 | 2021-01-21 07:52:54 UTC |
0.1.2 | 2021-01-20 18:14:22 UTC |
0.1.1 | 2021-01-20 18:00:34 UTC |
显示 18 个版本中最新的 18 个。 JSON
版本兼容性
声明支持各运行时版本的最新稳定版本(依据每个版本发布的要求)。
| 运行时 | 最新兼容版本 |
|---|---|
rust 1.63 | 1.0.3 |
rust 1.70 | 1.0.3 |
rust 1.75 | 1.0.3 |
rust 1.80 | 1.0.3 |
rust 1.85 | 1.0.4 |
rust 1.90 | 1.0.4 |
把这些数据交给你的 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" } } }常见问题
static_init 的最新版本是什么?
static_init 的最新稳定版本是 1.0.4,发布于 2025-05-21。Vigia 于 2026-10-10 核实。
如何安装 static_init 的最新版本?
运行 cargo add static_init。最新稳定版本是 1.0.4(2026-10-10 核实)。
static_init 是否已弃用?
否。注册表中 static_init 未被标记为已弃用。
static_init 需要哪个版本的 Rust?
static_init 1.0.4 声明的要求为:Rust ≥ 1.82。
static_init 1.0.4 是否存在已知漏洞?
根据 Vigia 检查的数据,没有已知安全公告影响 static_init 1.0.4。
static_init 是否仍在维护?
static_init 在过去 12 个月内发布了 0 个稳定版本,最近一次在 507 天前。活跃度:放缓。
观察到的变更
自 Vigia 开始跟踪此软件包以来,尚未观察到变更。
相关软件包
- vt100
- static_init_macro
- atspi-proxies
- spl-token-group-interface
- speedate
- rocket_http
- sea-schema-derive
- atspi-common
- google-cloud-iam-v1
- thin-slice
- noisy_float
- cpp_macros
用于 README 的徽章
展示此软件包的最新版本、维护状态以及是否已弃用。复制 Markdown:
[](https://vigia.coredls.cloud/crates/static_init) [](https://vigia.coredls.cloud/crates/static_init) [](https://vigia.coredls.cloud/crates/static_init)
供智能体使用
GET https://vigia.coredls.cloud/v1/packages/crates/static_init
GET https://vigia.coredls.cloud/v1/packages/crates/static_init/versions/{version}