omnia_wasi_otel/lib.rs
1#![doc = include_str!("../README.md")]
2
3//! # WASI OpenTelemetry
4//!
5//! Bindings for the OpenTelemetry specification (wasi:otel) for guest and host
6//! components.
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::*;