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 645167/week @ 2024-09-24 654965/week @ 2024-10-01 675389/week @ 2024-10-08 698586/week @ 2024-10-15 670170/week @ 2024-10-22 677508/week @ 2024-10-29 668412/week @ 2024-11-05 707322/week @ 2024-11-12 701266/week @ 2024-11-19 710366/week @ 2024-11-26 808745/week @ 2024-12-03 783300/week @ 2024-12-10 688600/week @ 2024-12-17 439392/week @ 2024-12-24 530896/week @ 2024-12-31 648882/week @ 2025-01-07

2,441,047 downloads per month
Used in 2,475 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

~105–340KB