[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 = { git = "https://github.com/alewman/m68000-rust", rev = "ce3b48917baa5ee326b1544cb904292040db5b50" } z80-rust = { git = "https://github.com/alewman/z80-rust", rev = "3b15c1d1549aa6d6db951cc70d721ccd5d03965a" } ym2612-rust = { git = "https://github.com/alewman/ym2612-rust", rev = "3061637d2c0aead30a2fa8f4771ee8c992df4086" } sn76489-rust = { package = "sn76489-rust-fast", path = "/data/emu/sn76489-rust-fast" } 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"