alef 0.25.37

Opinionated polyglot binding generator for Rust libraries
Documentation
1
2
3
4
5
6
7
8
#[derive(Clone)]
#[napi(js_name = "{{ name }}")]
pub struct {{ struct_name }} {
    pub(crate) inner: Arc<{{ rust_path }}>,
}

#[napi]
impl {{ struct_name }} {}