[package] name = "z80-wasm" version = "0.1.0" edition = "2021" rust-version = "1.85" description = "The z80-rust-fast Z80 core in the browser, certified against the conformance traces before it plays Galaxian" license = "MIT" repository = "https://github.com/alewman/z80-wasm" publish = false [lib] name = "z80_wasm" crate-type = ["cdylib", "rlib"] [dependencies] # The certified core, by tag, never by path: this crate is a host of # z80-rust-fast and must compile against it unchanged. z80-rust-fast = { git = "https://github.com/alewman/z80-rust-fast", tag = "v0.1.0" } serde_json = "1" # ROM verification (galemu's manifest: size, CRC32, SHA-1), pure Rust. crc32fast = "1" sha1 = "0.10" [target.'cfg(target_arch = "wasm32")'.dependencies] # Pinned exactly; the CLI that post-processes the .wasm must be the same version. wasm-bindgen = "=0.2.128" [profile.release] opt-level = 3 lto = "fat" codegen-units = 1 panic = "abort"