# SPDX-License-Identifier: MIT [package] name = "pcengine-rust-fast" version = "0.2.0" edition = "2021" rust-version = "1.85" description = "A speed fork of pcengine-rust, the Rust PC Engine / TurboGrafx-16 board, held in lockstep with it" license = "MIT" repository = "https://github.com/alewman/pcengine-rust-fast" readme = "README.md" publish = false [lib] name = "pcengine_rust" [dependencies] # huc6280-rust-fast (crate huc6280) at 73f0829: the speed fork of huc6280-rust, held in # lockstep with it, with huc6280-rust's clean rewrite of 2026-11-19 merged (e1d24a3, from # huc6280-python 6ce348e, the revision the reference pcengine-python 3318027 pins). The parent # board, pcengine-rust, uses huc6280-rust itself; the API is the same. By git revision on GitHub # (pushed 2026-11-20; by path from a sibling clone before that). To build against a local # checkout of the core instead, without editing this file: # cargo build --config 'patch."https://github.com/alewman/huc6280-rust-fast".huc6280-rust-fast.path="../huc6280-rust-fast"' huc6280 = { package = "huc6280-rust-fast", git = "https://github.com/alewman/huc6280-rust-fast", rev = "fa8f7c331c98f825f2f56d3ef84f6c9face703c3" } # fa8f7c3: its history reset (2026-11-21), 73f0829's core # Save states (src/state.rs) and the card's identity in them. serde = { version = "1", features = ["derive"] } bincode = "1.3" flate2 = "1" sha1 = "0.10" # The sampling profiler (pce-profile) only. libc = { version = "0.2", optional = true } [features] profile = ["dep:libc"] [[bin]] name = "pce-profile" required-features = ["profile"] # Whole-program optimisation for this crate's own binaries (the gate's and the bench's): the # CPU core and the 65xx frame under it are other crates, and every CPU cycle crosses both # borders. A crate that depends on this one sets its own profile (the browser pages build # with the same two lines). [profile.release] debug = 1 lto = "fat" codegen-units = 1