camel-wit 0.8.2

WIT interface definitions for rust-camel WASM plugins
Documentation
  • Coverage
  • 80%
    4 out of 5 items documented0 out of 1 items with examples
  • Size
  • Source code size: 10.19 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 263.22 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 36s Average build duration of successful builds.
  • all releases: 23s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • kennycallado/rust-camel
    0 0 1
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • kennycallado

camel-wit

WIT interface definitions for rust-camel WASM plugins.

Published to crates.io with raw .wit files included in the tarball, making them accessible to any language toolchain.

Rust usage

// Embed the combined WIT package as a &str
let wit: &str = camel_wit::FULL_WIT;

// Or individual worlds
let plugin: &str = camel_wit::PLUGIN_WIT;
let bean: &str = camel_wit::BEAN_WIT;

// Filesystem path to the wit/ directory (camel-wit's own directory)
let dir: &std::path::Path = camel_wit::wit_dir();

WIT files

  • wit/camel-all.wit — canonical merged package (both worlds, single file)
  • wit/camel-plugin.witplugin world standalone
  • wit/camel-bean.witbean world standalone

All three files belong to package camel:plugin;.

Other languages

Download the .wit files from the crates.io source tarball or the GitHub repository and use with your language's WIT toolchain (wasm-tools, wit-bindgen, etc.).