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

#964 in Parser implementations

Download history 12177/week @ 2024-07-19 11809/week @ 2024-07-26 11179/week @ 2024-08-02 11411/week @ 2024-08-09 9985/week @ 2024-08-16 9549/week @ 2024-08-23 9565/week @ 2024-08-30 10864/week @ 2024-09-06 11353/week @ 2024-09-13 12541/week @ 2024-09-20 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 6108/week @ 2024-11-01

27,843 downloads per month
Used in 26 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

~260–720KB
~17K SLoC