[package] name = "play-gb" version = "0.1.0" edition = "2021" rust-version = "1.85" description = "The Game Boy and Game Boy Color in the browser: gameboy-rust-fast behind wasm-bindgen, for play-gb.supertux.com" license = "MIT" publish = false [lib] name = "play_gb" crate-type = ["cdylib", "rlib"] [dependencies] # The board, unchanged (its library is `gameboy_rust`), from the checkout beside this one: it # has no remote yet. Pin a commit once it does. gameboy-rust-fast = { path = "../gameboy-rust-fast" } # Cartridges inside a .zip or .7z, read in memory. zip = { version = "2", default-features = false, features = ["deflate"] } sevenz-rust2 = { version = "=0.24.0", default-features = false } # Rewind's snapshots, compressed in memory. flate2 = "1" # Pinned exactly; the CLI that post-processes the .wasm must be the same version. wasm-bindgen = "=0.2.128" # The board's speed depends on this (gameboy-rust-fast ce1fd8d: the APU's and CPU's calls inline # across crates); Cargo uses the top crate's profile, so it is repeated here. [profile.release] lto = "fat" codegen-units = 1 panic = "abort"