alef 0.84.0

Opinionated polyglot binding generator for Rust libraries
Documentation
1
2
3
4
5
6
7
8
9
{% for candidate in candidates %}
{% if candidate.cfg %}
#[cfg({{ candidate.cfg }})]
{% endif %}
#[allow(clippy::derivable_impls)]
impl Default for {{ binding_name }} {
    fn default() -> Self { Self::{{ candidate.variant_name }} }
}
{% endfor %}