wasmind_actor_bindings 0.1.0

WebAssembly component model bindings for Wasmind actors
Documentation
  • Coverage
  • 0%
    0 out of 1 items documented0 out of 0 items with examples
  • Size
  • Source code size: 120.5 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 964.69 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 12s Average build duration of successful builds.
  • all releases: 12s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • SilasMarvin/wasmind
    29 1 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • SilasMarvin

Wasmind Actor Bindings

WebAssembly Interface Type (WIT) definitions for Wasmind actor communication. This crate contains the interface specifications that define how actors interact with the Wasmind system and each other.

docs.rs

No Rust is exported from this crate! It is designed to be included as a component dependency. Add the following lines to your Cargo.toml:

[package.metadata.component.target.dependencies]
"Wasmind:actor" = "0.1" 

You can then import these interfaces in your WIT definition. E.G:

world your-world {
  import Wasmind:actor/host-info@0.1.0;
  import Wasmind:actor/messaging@0.1.0;
  import Wasmind:actor/http@0.1.0;
  import Wasmind:actor/logger@0.1.0;

  ... your exports
}

See the entire interface in wit/world.wit

Interface Overview

The WIT definitions specify how actors:

  • Receive and handle messages via handle-message
  • Access system capabilities (HTTP, commands, spawning)

Links