10 releases

0.1.9 Nov 28, 2024
0.1.8 Mar 21, 2024
0.1.7 Feb 9, 2024
0.1.6 Dec 28, 2023
0.1.0 Sep 27, 2019

#18 in Build Utils

Download history 647626/week @ 2024-09-26 671441/week @ 2024-10-03 673762/week @ 2024-10-10 697614/week @ 2024-10-17 675915/week @ 2024-10-24 668754/week @ 2024-10-31 676813/week @ 2024-11-07 713588/week @ 2024-11-14 685896/week @ 2024-11-21 769199/week @ 2024-11-28 793822/week @ 2024-12-05 764761/week @ 2024-12-12 533383/week @ 2024-12-19 458591/week @ 2024-12-26 658299/week @ 2025-01-02 807473/week @ 2025-01-09

2,601,990 downloads per month
Used in 2,478 crates (23 directly)

MIT/Apache

19KB
463 lines

This crate is maintained by the Cargo team for use by the wider ecosystem. This crate follows semver compatibility for its APIs.


lib.rs:

Platform definition used by Cargo.

This defines a Platform type which is used in Cargo to specify a target platform. There are two kinds, a named target like x86_64-apple-darwin, and a "cfg expression" like cfg(any(target_os = "macos", target_os = "ios")).

See examples/matches.rs for an example of how to match against a Platform.

This crate is maintained by the Cargo team for use by the wider ecosystem. This crate follows semver compatibility for its APIs.

Dependencies

~100–330KB