alef 0.25.37

Opinionated polyglot binding generator for Rust libraries
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
{% if has_serde -%}
@JsonInclude(JsonInclude.Include.NON_ABSENT)
{% endif -%}
{% if builder_type -%}
@JsonDeserialize(builder = {{ builder_type }}.Builder.class)
{% endif -%}
{% if multiline -%}
public record {{ type_name }}(
{{ multiline_fields }}) {
{% else -%}
public record {{ type_name }}({{ fields_joined }}) {
{% endif -%}