[package] name = "play-md" version = "0.1.0" edition = "2021" rust-version = "1.85" description = "The Mega Drive in the browser: megadrive-rust-fast behind wasm-bindgen, for play-md.supertux.com" license = "MIT" publish = false [lib] name = "play_md" crate-type = ["cdylib"] [dependencies] # The board: a local path while its pin-2 branch and ssp1601-rust have no remote. megadrive-rust = { package = "megadrive-rust-fast", path = "../megadrive-rust-fast" } # 7z cartridges, unpacked here before the board sees them. No optional codecs: # LZMA and LZMA2 (what ROM sets use) are built in. sevenz-rust2 = { version = "=0.24.0", default-features = false } # The rewind window's snapshots, deflated (the board already builds flate2). 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"