[package] name = "gameboy-rust-fast" version = "0.1.0" edition = "2021" rust-version = "1.85" description = "A faster gameboy-rust: the same board, every change gated on identical lockstep traces" license = "MIT" repository = "https://github.com/alewman/gameboy-rust-fast" readme = "README.md" publish = false [lib] name = "gameboy_rust" [features] # the sampling profiler (src/bin/gameboy-profile.rs) profile = ["dep:libc"] # the desktop window (src/bin/gameboy-play.rs): SDL2 through the sdl2 crate frontend = ["dep:sdl2"] [[bin]] name = "gameboy-profile" required-features = ["profile"] [[bin]] name = "gameboy-play" required-features = ["frontend"] [dependencies] libc = { version = "0.2", optional = true } sdl2 = { version = "0.38", optional = true } # sm83-rust (crate sm83), transcribed from sm83-python 95f2b8b, the revision gameboy-python pins. # A path dependency: check it out beside this repository. sm83 = { path = "../sm83-rust" } # gb-apu-rust (crate gb_apu), transcribed from gb-apu-python b8cab61 (= the reference's f0a7f48 on # the DMG and CGB rows for even-T ticks). A path dependency, beside this repository; its serde # feature puts the APU in save states. # fast: gb-apu-rust-fast, the ladder-gated fork of gb-apu-rust (crate gb_apu kept) gb-apu-rust-fast = { path = "../gb-apu-rust-fast", features = ["serde"] } zip = { version = "2", default-features = false, features = ["deflate"] } crc32fast = "1" flate2 = "1" sha2 = "0.10" serde = { version = "1", features = ["derive"] } serde_json = "1" bincode = "1.3" [profile.release] debug = 1 # fast: one unit and fat LTO, so the APU's and the CPU's per-M-cycle calls inline across crates lto = "fat" codegen-units = 1