Skip to main content

load_transforms_from_dir

Function load_transforms_from_dir 

Source
pub fn load_transforms_from_dir(dir: &Path) -> Result<Transforms>
Expand description

Scan a directory for .wasm files, read each one, and return a Transforms registry with factory functions that create WasmTransform instances.

The transform name is derived from the file stem (e.g. my_transform.wasm"my_transform").