PackageTrack
Sign in Get early access

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.0 855M downloads/mo #68 most downloaded on crates.io RustCrypto/utils

What this package is like to depend on

Last release 6 months ago

05 Feb 2026

Release timing varies

gaps range from 1 weeks to 13 months

Nearly every release is documented

notes for 19 of 20 stable releases

6 versions withdrawn

withdrawn after publishing

5 years old

26 releases · first in 2021

1 release in the last 12 months

see the full history below

Release timeline

26 releases · Apr 2021 to Feb 2026
2022 2023 2024 2025 2026
Release Pre-release Withdrawn

Releases

latest 26
  1. 0.3.0 05 Feb 2026
    Release notes

    Added

    • x86 support for: sha512, sm3, sm4 (#1181)
    • InitToken::{init, init_get} (#1435)

    Changed

    • Edition changed to 2024 and MSRV bumped to 1.85 (#1149)
    Open source →
  2. 0.2.17 25 Jan 2025
    Release notes

    Fixed

    • Don't link std when linking libc (#1142)
    Open source →
  3. 0.2.16 22 Nov 2024
    Release notes

    Fixed

    • cfg for freestanding x86 targets (#1137)
    Open source →
  4. 0.2.15 11 Nov 2024
    Release notes

    Fixed

    • Relax XSAVE checks (#1130)
    Open source →
  5. 0.2.14 06 Sep 2024
    Release notes

    Added

    • Support for detecting Data Independent Timing (DIT) on AArch64 (#1100, #1101)
    Open source →
  6. 0.2.13 12 Aug 2024
    Release notes

    Changed

    • Use #[cold] for initialization code (#1096)
    Open source →
  7. 0.2.12 04 Jan 2024
    Release notes

    Added

    • Support for x86-64 AVX-512 target features: gfni, vaes, vpclmulqdq, avx512bitalg, avx512vpopcntdq (#1035)
    Open source →
  8. 0.2.11 26 Oct 2023
    Release notes

    Added

    • Support for AArch64's sm4 target feature (#972)
    Open source →
  9. 0.2.10 20 Oct 2023
    Release notes

    Added

    • LoongArch64 target support (#955)
    Open source →
  10. 0.2.9 05 Jul 2023
    Release notes

    Added

    • Support for avx512vbmi and avx512vbmi2 target features (#926)
    Open source →
  11. 0.2.8 15 Jun 2023
    Release notes

    Fixed

    • Check OS register support on x86 targets (#919)
    Open source →
  12. 0.2.7 20 Apr 2023
    Release notes

    Added

    • Support freestanding/UEFI x86 targets (#821)
    Open source →
  13. 0.2.6 25 Mar 2023
    Release notes

    Added

    • Support dynamic feature detection on iOS and derivative platforms (#848)
    • Support for detecting AVX-512 target features (#862)
    Open source →
  14. 0.2.5 04 Sep 2022
    Release notes

    Fixed

    Open source →
  15. 0.2.4 22 Aug 2022 withdrawn
    Release notes
    • Re-release v0.2.3 without any changes to fix #795 (#796)
    Open source →
  16. 0.2.3 18 Aug 2022 withdrawn
    Release notes

    Changed

    • Update libc version to v0.2.95 (#789)
    • Disable all target features under MIRI (#779)
    • Check AVX availability when detecting AVX2 and FMA (#792)
    Open source →
  17. 0.2.2 18 Mar 2022 withdrawn
    Release notes

    Added

    • Support for Android on aarch64 (#752)

    Removed

    • Vestigial code around crypto target feature (#600)
    Open source →
  18. 0.2.1 26 Aug 2021 withdrawn
    Release notes

    Changed

    • Revert #583 "Use from_bytes_with_nul for string check" (#597)
    Open source →
  19. 0.2.0 26 Aug 2021 withdrawn
    Release notes

    Removed

    • AArch64 crypto target feature (#594)
    Open source →
  20. 0.1.5 22 Jun 2021
    Release notes

    Added

    Changed

    • Map aarch64 HWCAPs to target features; add crypto (#456)
    Open source →
  21. 0.1.4 15 May 2021
    Release notes

    Added

    • Support compiling on non-Linux/macOS aarch64 targets (#408)
    Open source →
  22. 0.1.3 13 May 2021
    Release notes

    Removed

    • neon on aarch64 targets: already enabled by default (#406)
    Open source →
  23. 0.1.2 13 May 2021 withdrawn
    Release notes

    Added

    • neon feature detection on aarch64 targets (#403)

    Fixed

    • Support for musl-based targets (#403)
    Open source →
  24. 0.1.1 06 May 2021
    Release notes

    Added

    • aarch64 support for Linux and macOS/M4 targets (#393)
    Open source →
  25. 0.1.0 29 Apr 2021
    Release notes
    • Initial release
    Open source →
  26. 0.0.0 26 Apr 2021

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive