# The first module of record of WAISM's integer level (`extensions/waism.md`, `waism/1-int`): # the operator-set module. One WebAssembly module, the ABI of waism ยง5 and nothing else, # that decodes every integer capability `wai-rs` decodes through the integer operator set # (`wai-ops/1`): the integer payloads (`WIV1`, `WIH1`, `WIA1`, `WIS1`), the integer # synthesis, the multi-reference image codec, DRED decoded exactly, and faces from # keypoints. The networks and their weights are not in the module: each arrives as the # capability's parameter set, data the sink holds to its digest, so one checked module # serves every one of these capabilities. # # Built for `wasm32-unknown-unknown` by `build.sh`, twice: scalar, and with SIMD128 (the # same source, which the compiler lowers to WebAssembly's integer vector instructions where # it can). Both checkers of the profile (`../wai-module-check`) must hold each at the # integer level, and `record/` keeps the two modules of record. [package] name = "wai-int-module" version = "0.1.0" edition = "2024" license = "Apache-2.0" publish = false [lib] crate-type = ["cdylib"] path = "src/lib.rs" [dependencies] # The integer decoders and nothing else of the crate: no codec library, no ONNX runtime, # no filesystem. `video_int`, `audio_int` and `splat_int` bring `neural_int` (the operator # set, the payload formats, `int_synth` and `int_mlicpp`); `dred_exact` and `avatar_face` # the two capabilities that decode through `wai-ops` graphs of their own lowerings. wai = { path = "../wai-rs", default-features = false, features = ["video_int", "audio_int", "splat_int", "dred_exact", "avatar_face"] } sha2 = "0.11" [profile.release] debug = false # One codegen unit and fat LTO: the linker keeps only what the six exports reach. codegen-units = 1 lto = "fat" panic = "abort"