7 releases (4 breaking)

Uses old Rust 2015

0.5.0 Jul 6, 2022
0.4.0 Oct 27, 2018
0.3.0 Dec 30, 2016
0.2.0 Oct 3, 2016
0.1.2 Sep 15, 2016

#869 in Parser implementations

Download history 10395/week @ 2024-09-27 10513/week @ 2024-10-04 7455/week @ 2024-10-11 6163/week @ 2024-10-18 6243/week @ 2024-10-25 6129/week @ 2024-11-01 5307/week @ 2024-11-08 5238/week @ 2024-11-15 4739/week @ 2024-11-22 5198/week @ 2024-11-29 5472/week @ 2024-12-06 5927/week @ 2024-12-13 4005/week @ 2024-12-20 3919/week @ 2024-12-27 5451/week @ 2025-01-03 4707/week @ 2025-01-10

19,362 downloads per month
Used in 27 crates (7 directly)

MIT/Apache

9KB
119 lines

crates.io crates.io

rustc-cfg

Runs rustc --print cfg and parses its output

NOTE: If you are in build script context you should prefer to use the CARGO_CFG_* env variables that Cargo sets over this crate.

Documentation

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~235–690KB
~16K SLoC