1#![cfg_attr(not(any(feature = "wasi-component", feature = "wasmer-wai")), no_std)]
2#![allow(non_upper_case_globals)]
3#![allow(non_camel_case_types)]
4#![allow(non_snake_case)]
5#![allow(clippy::all)] extern crate libc;
8
9mod sodium_bindings;
10pub use sodium_bindings::*;
11
12#[cfg(any(feature = "wasi-component", feature = "wasmer-wai"))]
14pub mod crypto_impl;
15
16#[cfg(all(feature = "wasi-component", target_arch = "wasm32"))]
17mod component;
18
19#[cfg(all(feature = "wasmer-wai", target_arch = "wasm32"))]
20mod wai_component;