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

#843 in Parser implementations

Download history 11492/week @ 2023-11-21 13242/week @ 2023-11-28 12164/week @ 2023-12-05 12589/week @ 2023-12-12 11317/week @ 2023-12-19 8212/week @ 2023-12-26 11971/week @ 2024-01-02 12956/week @ 2024-01-09 14925/week @ 2024-01-16 14601/week @ 2024-01-23 13807/week @ 2024-01-30 12807/week @ 2024-02-06 13330/week @ 2024-02-13 13561/week @ 2024-02-20 13964/week @ 2024-02-27 12255/week @ 2024-03-05

55,355 downloads per month
Used in 30 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

~0.4–0.8MB
~20K SLoC