Skip to main content

capsule_runtime/
bindings.rs

1pub mod host {
2    wasmtime::component::bindgen!({
3        path: "wit/host",
4        world: "runtime-host",
5    });
6}
7
8pub mod hook {
9    wasmtime::component::bindgen!({
10        path: "wit/hook",
11        world: "hook",
12    });
13}
14
15pub mod process_driver {
16    wasmtime::component::bindgen!({
17        path: "wit/process-driver",
18        world: "process-driver",
19        exports: { default: async },
20    });
21}