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

#21 in Build Utils

Download history 676129/week @ 2024-10-30 670254/week @ 2024-11-06 713672/week @ 2024-11-13 693294/week @ 2024-11-20 738638/week @ 2024-11-27 798183/week @ 2024-12-04 772771/week @ 2024-12-11 624442/week @ 2024-12-18 443023/week @ 2024-12-25 591169/week @ 2025-01-01 778006/week @ 2025-01-08 775203/week @ 2025-01-15 761662/week @ 2025-01-22 751465/week @ 2025-01-29 817605/week @ 2025-02-05 724894/week @ 2025-02-12

3,188,325 downloads per month
Used in 2,521 crates (25 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

~99–320KB