alef 0.20.2

Opinionated polyglot binding generator for Rust libraries
Documentation
1
2
3
4
5
6
7
8
9
10
11
    {{ method_name }} = function({{ params }}) {
{%- if action_type == "skip" %}
      "skip"
{%- elif action_type == "continue" %}
      "continue"
{%- elif action_type == "preserve_html" %}
      "preserve_html"
{%- elif action_type == "custom" %}
      list(custom = "{{ action_value }}")
{%- endif %}
    },