wasm-compose
is a library for composing WebAssembly components
from other WebAssembly components.
It is made available as the compose
subcommand of wasm-tools
.
A quick note on the implementation status of the component model proposal:
At this time of this writing, no WebAssembly runtimes have fully implemented the component model proposal.
Wasmtime has implementation efforts underway to support it, but it's still a work-in-progress.
With a configuration file present, run the compose
command without
any options to compose a component:
sh
wasm-tools compose
See configuring wasm-compose
for more information on authoring configuration files.
See the example directory for a complete example of composing WebAssembly components together.
This project is licensed under the Apache 2.0 license with the LLVM exception. See LICENSE for more details.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you, as defined in the Apache-2.0 license, shall be licensed as above, without any additional terms or conditions.