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

#22 in Build Utils

Download history 586590/week @ 2024-08-24 586034/week @ 2024-08-31 617212/week @ 2024-09-07 566383/week @ 2024-09-14 634316/week @ 2024-09-21 638728/week @ 2024-09-28 684291/week @ 2024-10-05 694292/week @ 2024-10-12 674487/week @ 2024-10-19 669782/week @ 2024-10-26 678968/week @ 2024-11-02 698654/week @ 2024-11-09 691271/week @ 2024-11-16 667323/week @ 2024-11-23 822272/week @ 2024-11-30 684469/week @ 2024-12-07

2,980,304 downloads per month
Used in 2,401 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–340KB