parity_wasm/lib.rs
1//! WebAssembly format library
2#![warn(missing_docs)]
3#![cfg_attr(not(feature = "std"), no_std)]
4
5#[macro_use]
6extern crate alloc;
7
8pub mod builder;
9pub mod elements;
10mod io;
11
12pub use elements::{deserialize_buffer, peek_size, serialize, Error as SerializationError};
13
14#[cfg(feature = "std")]
15pub use elements::{deserialize_file, serialize_to_file};