# SPDX-License-Identifier: MIT [package] name = "sega32x-rust-fast" version = "0.1.0" edition = "2021" rust-version = "1.85" description = "sega32x-rust made faster, every bus cycle the same board: a ladder-gated speed fork" license = "MIT" publish = false [lib] # The crate keeps upstream's name, as megadrive-rust-fast's does. name = "sega32x_rust" [dependencies] # The Mega Drive board's speed fork, its branch `sockets-32x` (its `sockets` 9995ffb, = # megadrive-rust d39b9bf, plus megadrive-rust's sockets-32x ef621e6: the hooks this board # needs; then its pin-2-od2 e153a84, 07fc04d), a worktree in external/ (scripts/external.sh). The package is # megadrive-rust-fast; the crate keeps the name megadrive_rust. Its cores are its own # (m68000-rust-fast, z80-rust-fast by git; ym2612-rust, sn76489-rust, ssp1601-rust as # paths beside it in external/). megadrive-rust = { package = "megadrive-rust-fast", path = "external/megadrive-rust-fast" } # The SH-2's speed fork: sh2-rust-fast main 49a009d plus sh2-rust's board-context c5634ef # (BusContext's waits), its branch `board-context`, a worktree in external/. sh2 = { path = "external/sh2-rust-fast", default-features = false } serde = { version = "1", features = ["derive"] } bincode = "1.3" sha1_smol = "1" # s32x-profile's sampler (SIGPROF and the frame-pointer chain), as megadrive-rust-fast's. libc = { version = "0.2", optional = true } [features] profile = ["dep:libc"] [[bin]] name = "s32x-profile" required-features = ["profile"] [profile.release] debug = 1 # As megadrive-rust-fast's: one unit and whole-program LTO, so the SH-2 core's and the # Mega Drive board's non-generic functions can inline into this board's loops. codegen-units = 1 lto = "fat"