Crates.io | build-features |
lib.rs | build-features |
version | 0.1.7 |
source | src |
created_at | 2021-12-01 17:19:25.573414 |
updated_at | 2021-12-02 10:46:22.474893 |
description | A simple proc macro to create a vector that a list of enabled features in a root package |
homepage | |
repository | https://github.com/dumitory-dev/build-features |
max_upload_size | |
id | 490347 |
size | 11,202 |
A simple proc macro to create a vector that a list of enabled features in a root package
Note: using this crate makes your build non-deterministic!
fn main() {
build_features::get_enabled_features!();
println!("{:?}", enabled_features); //enjoy!
}
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.