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
28
29
30
31
32
33
34
35
36
37
38
39
40
//! Wirm is a WebAssembly Transformation Library for the Component Model. The design has been inspired by [Dfinity's IC]
//! and [Walrus].
//!
//! # Features
//!
//! ## Parallel Parsing and Encoding
//!
//! Wirm supports parallel processing during module parsing and encoding to improve performance. Enable the `parallel` feature
//! to parse and encode function bodies concurrently:
//!
//! ```toml
//! [dependencies]
//! wirm = { version = "1.1.0", features = ["parallel"] }
//! ```
//!
//! [Dfinity's IC]: https://github.com/dfinity/ic/tree/master/rs/wasm_transform
//! [Walrus]: https://github.com/rustwasm/walrus/tree/main
pub use crateOpcode;
pub use crateComponent;
// pub use crate::ir::function::FunctionBuilder;
pub use crateModule;
pub use crateDataSegment;
pub use crateDataSegmentKind;
pub use crateDataType;
pub use crateInitInstr;
pub use crateLocation;
// Re-export wasmparser so users can have the same types for e.g.
// `wasmparser::Operator` as we use internally.
pub use wasmparser;