Add support for Wasm components
Angelmmiguel opened this issue · comments
Is your feature request related to a problem? Please describe.
Wasm components (component-model proposal) are close to hit a milestone. The WASI preview2 release is close and it's based on components. Several projects like Runwasi started to integrate components as the main entrypoint for applications.
I would like to continue using Wasm Workers Server to run this kind of modules.
Describe the solution you'd like
Wasm Workers Server will continue supporting multiple application types. From source code files to core modules and components. wws
will detect the different types automatically and route requests to them. For now, we will only support Rust, but we expect to start supporting more languages via wit-bindgen
.
Existing workers will continue working. wws
will configure the runtime and prepare the context for every worker.
Describe alternatives you've considered
No response
Additional context
No response
Implemented in #225