platforms
Rust platform registry with information about valid Rust platforms (target triple, target_arch, target_os) sourced from the Rust compiler.
4.1.1
37M downloads/mo
#1476 most downloaded on crates.io
rustsec/rustsec
What this package is like to depend on
Last release 12 days ago
11 Aug 2026
Release timing varies
gaps range from 2 weeks to 7 months
Some releases are documented
notes for 13 of 24 stable releases
10 versions withdrawn
withdrawn after publishing
8 years old
34 releases · first in 2018
9 releases in the last 12 months
see the full history below
Release timeline
34 releases · Jul 2018 to Aug 2026Releases
latest 34-
4.1.111 Aug 2026Nothing published for this version
-
4.1.010 Jul 2026 -
4.0.007 Jul 2026 -
3.12.024 Jun 2026 -
3.11.005 Jun 2026Release notes
Open source → -
3.10.027 Mar 2026Release notes
Open source → -
3.9.012 Mar 2026 -
3.8.004 Feb 2026 -
3.7.010 Oct 2025Nothing published for this version
-
3.6.003 Jun 2025Nothing published for this version
-
3.5.030 Oct 2024Nothing published for this version
-
3.4.124 Jun 2024Nothing published for this version
-
3.4.027 Mar 2024Nothing published for this version
-
3.3.028 Dec 2023Nothing published for this version
-
3.2.001 Nov 2023Nothing published for this version
-
3.1.228 Aug 2023Nothing published for this version
-
3.1.128 Aug 2023Nothing published for this version
-
3.0.203 Nov 2022Nothing published for this version
-
3.0.120 Jul 2022 -
3.0.023 Apr 2022Release notes
Open source →Added
target_endianandtarget_pointer_widthfields onPlatform(#516)
Changed
- Auto-generate platforms registry from rustc (#516)
- Make
Platformstruct#[non_exhaustive]to allow new fields (#516) - Make
Platform::envfield non-optional (#516)
Fixed
serdedeserializers (#527)
-
2.0.015 Nov 2021 -
1.1.028 Dec 2020 -
1.0.329 Oct 2020Release notes
Open source →Changed
- Source
Platform::guess_currentfrom$TARGETenvironment variable when available
- Source
-
1.0.214 Sep 2020 -
1.0.114 Sep 2020 withdrawnRelease notes
Open source →Changed
- Make
Platform::all()aconst fn - Refactor
Platform::findand::guess_current - Rename
ALL_PLATFORMStoPlatform::all()
- Make
-
1.0.013 Sep 2020 withdrawnRelease notes
Open source →Added
- Ensure all types have
FromStr,Display, andserdeimpls aarch64-pc-windows-msvcplatform
Changed
- Make extensible enums
non_exhaustive; MSRV 1.40+
- Ensure all types have
-
0.2.124 Sep 2019 withdrawnRelease notes
Open source →- Initial GitHub Actions config
- Properly set up
target::os::TARGET_OSconst for unknown OS
-
0.2.013 Jan 2019 withdrawn -
0.1.429 Jul 2018 withdrawnRelease notes
Open source →x86_64-apple-darwin: fix typo in target triple name- Have markdown-table-gen output links to Platform structs on docs.rs
-
0.1.328 Jul 2018 withdrawn -
0.1.227 Jul 2018 withdrawn -
0.1.127 Jul 2018 withdrawn -
0.1.027 Jul 2018 withdrawn -
0.0.127 Jul 2018 withdrawn