Add the dependency, as usual:
[dependencies]
ewasm_api = { git = "https://github.com/PDXbaap/ewasm-rust-api", tag = "0.9" }In your project, include the prelude:
use ewasm_api::prelude::*;Other modules are available as well, outside of the prelude. Refer to the documentation for more info.
ewasm-rust-api builds with various feature sets:
default: Builds withwee_allocas the global allocator and with the Rust standard library.qimalloc: Builds with qimalloc as the global allocator.debug: Exposes the debugging interface.experimental: Exposes the experimental bignum system library API.
Further documentation is available here.
Alex Beregszaszi, Jake Lang
Apache 2.0