Skip to main content

synth_core/
lib.rs

1//! Synth Core - Fundamental data structures and types
2//!
3//! This crate defines the core data structures used throughout the Synth synthesizer,
4//! including representations for WebAssembly components, modules, and the intermediate
5//! representation (IR) used for synthesis.
6
7pub mod backend;
8pub mod component;
9pub mod error;
10pub mod ir;
11pub mod safety_manifest;
12pub mod sbom;
13pub mod target;
14pub mod wasm_decoder;
15pub mod wasm_op;
16pub mod wasm_stack_check;
17
18pub use backend::*;
19pub use component::*;
20pub use error::{Error, Result};
21pub use ir::*;
22pub use safety_manifest::SafetyManifest;
23pub use sbom::{CycloneDxSbom, SbomInputs};
24pub use target::*;
25pub use wasm_decoder::{
26    DecodedModule, FunctionOps, ImportEntry, ImportKind, WasmMemory, decode_wasm_functions,
27    decode_wasm_module,
28};
29pub use wasm_op::WasmOp;