3 releases (breaking)
Uses new Rust 2024
| 0.30.0 | Mar 31, 2026 |
|---|---|
| 0.29.0 | Mar 27, 2026 |
| 0.28.0 | Feb 24, 2026 |
#2748 in WebAssembly
37 downloads per month
Used in 4 crates
39KB
555 lines
WASI Key-Value
This module implements a runtime service for wasi:keyvalue
(https://github.com/WebAssembly/wasi-keyvalue).
Omnia WASI Key-Value
This crate provides the Key-Value interface for the Omnia runtime.
Interface
Implements the wasi:keyvalue WIT interface.
Backend
- Default: In-memory cache using
moka. Data is not persisted across restarts.
Usage
Add this crate to your Cargo.toml and use it in your runtime configuration:
use omnia::runtime;
use omnia_wasi_keyvalue::KeyValueDefault;
omnia::runtime!({
"keyvalue": KeyValueDefault,
});
License
MIT OR Apache-2.0
Dependencies
~5–28MB
~338K SLoC