PackageTrack
Sign in Get early access

rustversion

Conditional compilation according to rustc compiler version

1.0.23 698M downloads/mo #121 most downloaded on crates.io dtolnay/rustversion

What this package is like to depend on

Last release 1 months ago

07 Jul 2026

Release timing varies

gaps range from 2 weeks to 11 months

Some releases are documented

notes for 11 of 26 stable releases

Nothing withdrawn

no release was ever pulled

7 years old

26 releases · first in 2019

1 release in the last 12 months

see the full history below

Release timeline

26 releases · Jul 2019 to Jul 2026
2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 26
  1. 1.0.23 07 Jul 2026
    Release notes
    • Set RUSTVERSION=1 during rustc --version command (#68)
    Open source →
  2. 1.0.22 08 Aug 2025
    Release notes
    • Turn off clippy incompatible_msrv in rustversion-conditional code (#63)
    Open source →
  3. 1.0.21 22 May 2025
    Release notes
    • Support -Zfmt-debug=none (#61)
    Open source →
  4. 1.0.20 04 Mar 2025
    Release notes
    • Documentation improvements
    Open source →
  5. 1.0.19 26 Dec 2024
    Release notes
    • Documentation improvements
    Open source →
  6. 1.0.18 14 Oct 2024
    Release notes Open source →
  7. 1.0.17 14 May 2024
    Release notes
    • Support Windows builds that have OUT_DIR prefixed with \\?\ (#51)
    Open source →
  8. 1.0.16 07 May 2024
    Release notes
    • Resolve unexpected_cfgs warning (#48)
    Open source →
  9. 1.0.15 06 Apr 2024
    Release notes
    • Recognize $RUSTC_WRAPPER environment variable (#47)
    Open source →
  10. 1.0.14 15 Jul 2023
    Release notes
    • Documentation improvements
    Open source →
  11. 1.0.13 03 Jul 2023

    Nothing published for this version

  12. 1.0.12 05 Mar 2023

    Nothing published for this version

  13. 1.0.11 17 Dec 2022

    Nothing published for this version

  14. 1.0.10 17 Dec 2022

    Nothing published for this version

  15. 1.0.9 03 Aug 2022

    Nothing published for this version

  16. 1.0.8 16 Jul 2022

    Nothing published for this version

  17. 1.0.7 20 Jun 2022

    Nothing published for this version

  18. 1.0.6 06 Dec 2021

    Nothing published for this version

  19. 1.0.5 14 May 2021

    Nothing published for this version

  20. 1.0.4 26 Oct 2020

    Nothing published for this version

  21. 1.0.3 16 Jun 2020

    Nothing published for this version

  22. 1.0.2 23 Jan 2020

    Nothing published for this version

  23. 1.0.1 30 Dec 2019

    Nothing published for this version

  24. 1.0.0 11 Oct 2019
    Release notes
    • ~1500 changes, numerous bugfixes

    Highlights

    • The vast majority of the standard library is now #[stable]. It is no longer possible to use unstable features with a stable build of the compiler.
    • Many popular crates on crates.io now work on the stable release channel.
    • Arithmetic on basic integer types now checks for overflow in debug builds.

    Language

    Libraries

    Misc

    • Many errors now have extended explanations that can be accessed with the --explain flag to rustc.
    • Many new examples have been added to the standard library documentation.
    • rustdoc has received a number of improvements focused on completion and polish.
    • Metadata was tuned, shrinking binaries by 27%.
    • Much headway was made on ecosystem-wide CI, making it possible to compare builds for breakage.
    Open source →
  25. 0.1.4 18 Aug 2019

    Nothing published for this version

  26. 0.1.3 08 Jul 2019

    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