alef 0.23.35

Opinionated polyglot binding generator for Rust libraries
Documentation
1
2
3
4
5
6
7
8
{%- if has_error %}
#[allow(clippy::missing_errors_doc)]
{%- endif %}
#[cfg(target_arch = "wasm32")]
#[wasm_bindgen{{ js_name_attr }}]
pub fn {{ func_name }}({{ params_str }}) -> {{ ret }} {
    {{ body }}
}