ferric_parser 0.2.0

The Parser and currently the code gen for the ferric group of languages
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
fn main() {
    let binding = std::env::var("CARGO_FEATURES")
        .unwrap_or_default();

    // Access the features that are enabled
    let features: Vec<&str> = binding.split(',').collect();

    // Check if both `bash` and `asm` features are enabled
    if features.contains(&"bash") && features.contains(&"asm") {
        panic!("The features `bash` and `asm` are mutually exclusive and cannot be enabled at the same time.");
    }
}