alef 0.114.0

Opinionated polyglot binding generator for Rust libraries
Documentation
1
2
3
4
    pub fn {{ getter_name }}(&self) -> {{ return_type }} {
        serde_json::to_string(&self.0.{{ name }})
            .map_err(|error| alef_bridge_error(format!("serializing structured {{ name }}: {error}")))
    }