Fixes/upgrades

This commit is contained in:
2026-07-30 21:12:29 -04:00
parent e00b3a177e
commit 9494549861
13 changed files with 823 additions and 60 deletions

View File

@@ -0,0 +1,7 @@
#[derive({% for d in derives %}{% if !loop.first %}, {% endif %}{{ d }}{% endfor %})]
#[serde(rename_all = "snake_case")]
pub enum {{ name }} {
{% for v in variants %}{% if v.is_default %} #[default]
{% endif %} {{ v.ident }},
{% endfor %}}

View File

@@ -0,0 +1,2 @@
{{ header }}{% for block in blocks %}{{ block }}{% if !loop.last %}
{% endif %}{% endfor %}