[package] name = "play-nes" version = "0.1.0" edition = "2021" rust-version = "1.85" description = "The NES and Famicom in the browser: famicom-rust-fast behind wasm-bindgen, for play-nes.supertux.com" license = "MIT" publish = false [lib] name = "play_nes" crate-type = ["cdylib", "rlib"] [dependencies] # The board, unchanged, pinned by commit (its library is `famicom_rust`). famicom-rust = { package = "famicom-rust-fast", git = "https://github.com/alewman/famicom-rust-fast", rev = "c7c8ade98e62d7da155112e1cc57bb7cabbd030b" } # Cartridges inside a .zip or .7z, read in memory (the board reads them from a path). zip = { version = "2", default-features = false, features = ["deflate"] } sevenz-rust2 = { version = "=0.24.0", default-features = false } # Rewind's snapshots, compressed in memory (the board's own compressor). flate2 = "1" # Pinned exactly; the CLI that post-processes the .wasm must be the same version. wasm-bindgen = "=0.2.128" [profile.release] lto = "fat" codegen-units = 1 panic = "abort"