[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 = "b6af29a169f90088a3c6b43f4cf60794f5e38a2f" } z80-rust = { package = "z80-rust-fast", path = "/data/emu/z80-rust-fast" } ym2612-rust = { package = "ym2612-rust-fast", git = "https://github.com/alewman/ym2612-rust-fast", rev = "360e91dfdd64aedba5bbeed7f0813841ed16ba5e" } sn76489-rust = { package = "sn76489-rust-fast", git = "https://github.com/alewman/sn76489-rust-fast", rev = "d0ea327b80fa48026559ea4564d764d3e3a563b0" } 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"