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 dwarf_line;
10pub mod error;
11pub mod ir;
12pub mod safety_manifest;
13pub mod sbom;
14pub mod target;
15pub mod wasm_decoder;
16pub mod wasm_op;
17pub mod wasm_stack_check;
18
19pub use backend::*;
20pub use component::*;
21pub use error::{Error, Result};
22pub use ir::*;
23pub use safety_manifest::SafetyManifest;
24pub use sbom::{CycloneDxSbom, SbomInputs};
25pub use target::*;
26pub use wasm_decoder::{
27    DecodedModule, FunctionOps, ImportEntry, ImportKind, WasmMemory, decode_wasm_functions,
28    decode_wasm_module,
29};
30pub use wasm_op::WasmOp;