# The engines the -det module of record is held on natively, each set to the deterministic # profile's NaN rule: wasmtime with Cranelift, with Winch and with Pulley (Cranelift's # portable bytecode, run by wasmtime's interpreter), and Wasmi, an interpreter, built with its # NaN canonicalisation. Before a module's first run on an engine, the probe of waism §9.3 runs # on it in the same process (§6, check 10); then every case of the module corpus # (`../corpus.json`) through the module as a sink runs it (waism §5, §6 checks 11 to 13, §7). # `--f1` runs the probe alone, on each engine with its NaN rule set and unset. [package] name = "wai-det-jpegai-host" version = "0.1.0" edition = "2024" license = "Apache-2.0" publish = false [[bin]] name = "wai-det-jpegai-host" path = "src/main.rs" [dependencies] # Pinned exactly: the engines are what the run states it held the module on. `pulley` runs # the bytecode Cranelift compiles for wasmtime's interpreter. wasmtime = { version = "=50.0.1", features = ["winch", "pulley"] } # Wasmi with WebAssembly's 128-bit vectors (`simd`, for the probe's two vector cases) and its # NaN canonicalisation (`deterministic`, the deterministic profile's NaN rule), which a # crate feature sets and no run can unset. wasmi = { version = "=2.0.0", features = ["simd", "deterministic"] } serde_json = "1" sha2 = "0.11" # The module's declared maximum memory. The release wasmtime 50.0.1 reads with. wasmparser = { version = "=0.261.0", default-features = false, features = ["std", "simd", "validate"] } [profile.release] debug = false