1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
//! WebAssembly format library

#![warn(missing_docs)]

#[macro_use]
extern crate log;
extern crate byteorder;
extern crate parking_lot;

pub mod elements;
pub mod builder;
pub mod interpreter;

pub use elements::{
    Error as SerializationError,
    deserialize_buffer, 
    deserialize_file,
    serialize,
    serialize_to_file,
};

pub use interpreter::{
    ProgramInstance,
    ModuleInstance,
    ModuleInstanceInterface,
    RuntimeValue,
};