wit-bindgen-moonbit 0.61.1

MoonBit bindings generator for WIT and the component model, typically used through the `wit-bindgen-cli` crate.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# MoonBit Bindings Context

MoonBit emits core wasm and `wasm-tools` adapts it into a component. Generated
bindings expose WIT imports and adapt MoonBit exports to the component ABI.

Async design references:

- [Design contract]docs/async-design.md
- [Terminology]docs/async-glossary.md
- [FFI-boundary conversion decision]docs/adr/0001-async-ffi-boundary-conversion.md
- [Local Future/Promise decision]docs/adr/0002-local-future-promise.md

Lowercase `future` and `stream` refer to Component Model types. Uppercase
`Future` and `Stream` refer to local MoonBit types. Generated code converts
between them only at concrete WIT positions whose intrinsic names come from
`wit-parser`.