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 |
#18 in #wasi-run-time
Used in omnia-sdk
31KB
134 lines
WASI Config Service
This module implements a runtime service for wasi:config
(https://github.com/WebAssembly/wasi-config).
Omnia WASI Config
This crate provides the Config interface for the Omnia runtime.
Interface
Implements the wasi:config WIT interface.
Backend
- Default: Wraps
wasmtime-wasi-configto provide configuration values from the host environment or configuration files.
Usage
Add this crate to your Cargo.toml and use it in your runtime configuration:
use omnia::runtime;
use omnia_wasi_config::ConfigDefault;
omnia::runtime!({
"config": ConfigDefault,
});
License
MIT OR Apache-2.0
Dependencies
~31–50MB
~816K SLoC