parity-wasm/src/lib.rs

31 lines
497 B
Rust
Raw Normal View History

2017-04-04 03:03:57 +03:00
//! WebAssembly format library
#![warn(missing_docs)]
2017-06-13 13:36:37 +03:00
#[macro_use]
extern crate log;
2017-03-29 18:16:58 +03:00
extern crate byteorder;
2017-04-21 14:35:12 +03:00
extern crate parking_lot;
2017-03-29 18:16:58 +03:00
2017-04-03 13:58:49 +03:00
pub mod elements;
2017-04-06 11:34:31 +03:00
pub mod builder;
2017-04-21 14:35:12 +03:00
pub mod interpreter;
2017-12-01 09:00:42 +03:00
pub mod validation;
2017-12-01 15:35:01 +03:00
mod common;
2017-03-29 18:16:58 +03:00
2017-03-31 01:54:04 +03:00
pub use elements::{
2017-04-03 13:58:49 +03:00
Error as SerializationError,
2017-10-30 17:35:59 +03:00
deserialize_buffer,
2017-04-06 16:00:12 +03:00
deserialize_file,
serialize,
serialize_to_file,
2017-10-30 17:35:59 +03:00
peek_size,
2017-03-31 01:54:04 +03:00
};
2017-04-27 14:44:03 +03:00
pub use interpreter::{
ProgramInstance,
ModuleInstance,
2017-05-04 11:25:25 +03:00
ModuleInstanceInterface,
2017-04-27 14:44:03 +03:00
RuntimeValue,
};