Skip to main content

omnia_wasi_keyvalue/
lib.rs

1#![doc = include_str!("../README.md")]
2
3//! # WASI Key-Value
4//!
5//! This module implements a runtime service for `wasi:keyvalue`
6//! (<https://github.com/WebAssembly/wasi-keyvalue>).
7
8#![forbid(unsafe_code)]
9
10#[cfg(target_arch = "wasm32")]
11mod guest;
12#[cfg(target_arch = "wasm32")]
13pub use guest::*;
14
15#[cfg(not(target_arch = "wasm32"))]
16mod host;
17#[cfg(not(target_arch = "wasm32"))]
18pub use host::*;