alef 0.23.29

Opinionated polyglot binding generator for Rust libraries
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# frozen_string_literal: true

require_relative "{{ gem_name_snake }}/version"
require_relative "{{ gem_name_snake }}/native"

# Top-level namespace for the {{ module_name }} Ruby binding.
#
# All type and function symbols are re-exported from the native extension
# loaded via `require_relative "{{ gem_name_snake }}/native"`. See
# {file:README.md} for usage examples and the upstream documentation
# for the full API reference.
module {{ module_name }}
  # Re-export all types and functions from native extension
{% if has_services %}
  require_relative "{{ gem_name_snake }}/service"
{% endif %}
end