pub fn package_web_bundle_directory(
out_dir: &Path,
title: &str,
asset_base: &str,
version: &str,
custom_icon: Option<&Path>,
verify_release: bool,
) -> Result<ReleaseAssetManifest>Expand description
Packages a wasm-bindgen output directory into a verified zero-JS bundle (index.html, 404.html, .nojekyll, icons, euv-release.json).
§Arguments
&Path- Output directory containing<lib>_bg.wasmand<lib>.js.&str- HTML page title.&str- Asset URL base prefix ("./"default).&str- Numeric semantic version string written toeuv-release.json.Option<&Path>- Optional custom PNG icon path override.bool- Whentrue, enforces all release invariants (0.js, 0 AI-schema leaks, preload/404/SHA-256 verification).
§Returns
io::Result<ReleaseAssetManifest>- Written (and optionally verified)euv-release.jsonmanifest.