alef 0.62.9

Opinionated polyglot binding generator for Rust libraries
Documentation
1
2
3
4
5
6
#[allow(dead_code)]
fn {{ fn_name }}(value: &str) -> {{ source_path }} {
    match value {
{{ variants }}        _ => panic!("unknown {{ enum_name }} variant: {}", value),
    }
}