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