[package] name = "megadrive-rust-fast" version = "0.1.0" edition = "2021" rust-version = "1.85" description = "A Rust Mega Drive / Genesis board transcribed from, and held in lockstep with, megadrive-python" 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 = { git = "https://github.com/alewman/m68000-rust", rev = "ce3b48917baa5ee326b1544cb904292040db5b50" } z80-rust = { git = "https://github.com/alewman/z80-rust", rev = "3b15c1d1549aa6d6db951cc70d721ccd5d03965a" } ym2612-rust = { package = "ym2612-rust-fast", path = "/data/emu/ym2612-rust-fast" } sn76489-rust = { git = "https://github.com/alewman/sn76489-rust", rev = "c5fc09e43f8e9377a4e51c30e37c27ecb2e81476" } 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"