arora-module-rust 0.1.1

Rust source generation for Arora modules (types and bindings from type records).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
# Rust Code Generator (`arora-module-rust`)

This crate provides both a library and an binary.

The binary is meant to be used in the context of
[`arora-module-cli`](../cli/readme.md).

The library can provides the function
[`generate_sources`](src/lib.rs)
to generate Rust code from
[`ModuleAsset`s produced by `arora-module-core`](../core/readme.md#asset).
See [the Test Rust WASM module](../../../modules/test-rust-wasm/readme.md)
for a working example.