camel-component-wasm 0.24.0

WASM plugin component for rust-camel
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
wasmtime::component::bindgen!({
    path: "wit",
    world: "bean",
    imports: {
        // Only genuinely-async host funcs use `async`; sync funcs stay sync so
        // the registered import ABI matches guests that import them as sync.
        "camel:plugin/host.camel-call": async | store,
        "camel:plugin/host.camel-poll": async | store,
        default: store,
    },
    exports: {
        default: async | store,
    },
});