3 releases (breaking)
Uses new Rust 2024
| new 0.30.0 | Mar 31, 2026 |
|---|---|
| 0.29.0 | Mar 27, 2026 |
| 0.28.0 | Feb 24, 2026 |
#2620 in WebAssembly
31 downloads per month
Used in 3 crates
46KB
836 lines
WASI Messaging
This module implements a runtime service for wasi:messaging
(https://github.com/WebAssembly/wasi-messaging).
Omnia WASI Messaging
This crate provides the Messaging interface for the Omnia runtime.
Interface
Implements the wasi:messaging WIT interface.
Backend
- Default: In-memory broadcast channel using
tokio::sync::broadcast. Messages are only delivered to subscribers within the same process.
Usage
Add this crate to your Cargo.toml and use it in your runtime configuration:
use omnia::runtime;
use omnia_wasi_messaging::MessagingDefault;
omnia::runtime!({
"messaging": MessagingDefault,
});
License
MIT OR Apache-2.0
Dependencies
~0–22MB
~293K SLoC