[package] name = "megadrive-rust-fast" version = "0.1.0" edition = "2021" rust-version = "1.85" description = "megadrive-rust made faster, frame for frame the same board: a ladder-gated speed fork" license = "MIT" repository = "https://github.com/alewman/megadrive-rust-fast" publish = false [lib] name = "megadrive_rust" [dependencies] # The family's cores, pinned by commit (README, the first table). m68000-rust = { package = "m68000-rust-fast", git = "https://github.com/alewman/m68000-rust-fast", rev = "c89608841781351586f3f0c8c978ec2a41424f83" } z80-rust = { package = "z80-rust-fast", git = "https://github.com/alewman/z80-rust-fast", rev = "6c53d141a593002d7f5f68e2caf61d1f17fbd492" } # The sound chips: the restarted cores of 2026-11-13, written from documents (their # Python references' docs/restart.md). Paths until the board pins their remotes. ym2612-rust = { package = "ym2612-rust", path = "/data/emu/ym2612-rust" } sn76489-rust = { package = "sn76489-rust", path = "/data/emu/sn76489-rust" } # Virtua Racing's DSP. A path until ssp1601-python and this core have a remote. ssp1601-rust = { path = "/data/emu/ssp1601-rust" } flate2 = "1" sha1_smol = "1" # The window (md-play), only with the frontend feature: SDL2, as the reference's # pygame-ce. unsafe_textures drops the textures' borrow of their creator. sdl2 = { version = "0.38", optional = true, features = ["unsafe_textures"] } # md-profile's sampler (SIGPROF and the frame-pointer chain). libc = { version = "0.2", optional = true } [features] frontend = ["dep:sdl2"] profile = ["dep:libc"] [[bin]] name = "md-profile" required-features = ["profile"] [[bin]] name = "md-play" required-features = ["frontend"] [profile.release] debug = 1 codegen-units = 1 lto = "fat"