crates.io · crates:cpufeatures
cpufeatures 活跃
Lightweight runtime CPU feature detection for aarch64, loongarch64, and x86/x86_64 targets, with no_std support and support for mobile targets including Android and iOS
| 最新稳定版本 | 0.3.1 |
|---|---|
| 发布时间 | 2026-08-26 18:39:59 UTC |
| 安装 | cargo add cpufeatures |
| 最低 Rust 版本 (rust-version) | Rust ≥ 1.85 |
| 许可证 | MIT OR Apache-2.0 |
| 最新版本的安全公告 | 暂无已知 |
| 最近核实 | 2026-10-08 19:49:26 UTC |
| 来源 | api.osv.dev, crates.io |
维护情况
| 活跃度 | 活跃 |
|---|---|
| 最近的稳定版本 | 2026-08-26 18:39:59 UTC · 43 天前 |
| 过去 12 个月的稳定版本数 | 2 |
| 已发布版本数 | 27 |
仅根据发布时间估算,不反映对 issue 或安全问题的响应速度。
版本历史
| 版本 | 发布时间 |
|---|---|
0.3.1 | 2026-08-26 18:39:59 UTC |
0.3.0 | 2026-02-05 06:28:26 UTC |
0.2.17 | 2025-01-25 01:35:46 UTC |
0.2.16 | 2024-11-22 01:28:31 UTC |
0.2.15 | 2024-11-11 18:02:24 UTC |
0.2.14 | 2024-09-06 12:14:54 UTC |
0.2.13 | 2024-08-12 19:13:08 UTC |
0.2.12 | 2024-01-04 20:28:02 UTC |
0.2.11 | 2023-10-26 18:05:15 UTC |
0.2.10 | 2023-10-20 13:49:29 UTC |
0.2.9 | 2023-07-05 10:45:48 UTC |
0.2.8 | 2023-06-15 19:01:57 UTC |
0.2.7 | 2023-04-20 22:03:46 UTC |
0.2.6 | 2023-03-25 02:45:54 UTC |
0.2.5 | 2022-09-04 20:47:38 UTC |
0.2.4 已撤回 | 2022-08-22 16:28:01 UTC |
0.2.3 已撤回 | 2022-08-18 09:58:19 UTC |
0.2.2 已撤回 | 2022-03-18 20:10:20 UTC |
0.2.1 已撤回 | 2021-08-26 23:50:21 UTC |
0.2.0 已撤回 | 2021-08-26 15:59:51 UTC |
显示 27 个版本中最新的 20 个。 JSON
版本兼容性
声明支持各运行时版本的最新稳定版本(依据每个版本发布的要求)。
| 运行时 | 最新兼容版本 |
|---|---|
rust 1.63 | 0.2.17 |
rust 1.70 | 0.2.17 |
rust 1.75 | 0.2.17 |
rust 1.80 | 0.2.17 |
rust 1.85 | 0.3.1 |
rust 1.90 | 0.3.1 |
把这些数据交给你的 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" } } }常见问题
cpufeatures 的最新版本是什么?
cpufeatures 的最新稳定版本是 0.3.1,发布于 2026-08-26。Vigia 于 2026-10-08 核实。
如何安装 cpufeatures 的最新版本?
运行 cargo add cpufeatures。最新稳定版本是 0.3.1(2026-10-08 核实)。
cpufeatures 是否已弃用?
否。注册表中 cpufeatures 未被标记为已弃用。
cpufeatures 需要哪个版本的 Rust?
cpufeatures 0.3.1 声明的要求为:Rust ≥ 1.85。
cpufeatures 0.3.1 是否存在已知漏洞?
根据 Vigia 检查的数据,没有已知安全公告影响 cpufeatures 0.3.1。
cpufeatures 是否仍在维护?
cpufeatures 在过去 12 个月内发布了 2 个稳定版本,最近一次在 43 天前。活跃度:活跃。
观察到的变更
自 Vigia 开始跟踪此软件包以来,尚未观察到变更。
相关软件包
- semver
- lock_api
- windows_x86_64_gnullvm
- lazy_static
- tokio
- windows_aarch64_gnullvm
- sha2
- either
- num-traits
- anyhow
- version_check
- idna
用于 README 的徽章
展示此软件包的最新版本、维护状态以及是否已弃用。复制 Markdown:
[](https://vigia.coredls.cloud/crates/cpufeatures) [](https://vigia.coredls.cloud/crates/cpufeatures) [](https://vigia.coredls.cloud/crates/cpufeatures)
供智能体使用
GET https://vigia.coredls.cloud/v1/packages/crates/cpufeatures
GET https://vigia.coredls.cloud/v1/packages/crates/cpufeatures/versions/{version}