Skip to main content

omnia_wasi_http/
lib.rs

1#![doc = include_str!("../README.md")]
2
3//! # WASI Http Service
4//!
5//! This module implements a runtime service for `wasi:http`
6//! (<https://github.com/WebAssembly/wasi-http>).
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::*;