Expand description
§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
§WASI Config Service
This module implements a runtime service for wasi:config
(https://github.com/WebAssembly/wasi-config).
Re-exports§
pub use wasmtime_wasi_config;
Macros§
- omnia_
wasi_ view - Implementation of the
WasiConfigViewtrait for the store context.
Structs§
- Config
Default - Default implementation for
wasi:config. - Wasi
Config - Host-side service for
wasi:config.
Traits§
- Wasi
Config Ctx - A trait which provides internal WASI Config context.
- Wasi
Config View - A trait which provides internal WASI Config state.