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
27,843 downloads per month
Used in 26 crates
(7 directly)
9KB
119 lines
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
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
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