# SPDX-License-Identifier: MIT [package] name = "a2600-rust-fast" version = "0.1.0" edition = "2021" rust-version = "1.85" description = "The speed fork of a2600-rust: the Atari 2600 board, every bus cycle identical to a2600-rust" license = "MIT" readme = "README.md" publish = false [lib] name = "a2600" [features] # The desktop window (src/bin/a2600-play.rs): SDL2 through the sdl2 crate. frontend = ["dep:sdl2"] # The sampling profiler (src/bin/a2600-profile.rs). profile = ["dep:libc"] [dependencies] # 6502-rust (crate sixfiveohtwo), transcribed from 6502-python 741419a. A path dependency: # check it out beside this repository. sixfiveohtwo = { path = "../6502-rust" } serde = { version = "1", features = ["derive"] } bincode = "1.3" zip = { version = "2", default-features = false, features = ["deflate"] } crc32fast = "1" flate2 = "1" sha1 = "0.10" sha2 = "0.10" sdl2 = { version = "0.38", optional = true } libc = { version = "0.2", optional = true } # A transcription keeps the reference's shape: `for i in range(5)` stays an index loop, # `& 0xFF` and `(lo + hi + 1) // 2` stay as written, tuples stay tuples. [lints.clippy] needless_range_loop = "allow" type_complexity = "allow" identity_op = "allow" manual_div_ceil = "allow" # The tests check the rows at run time, as the reference's do. assertions_on_constants = "allow" [[bin]] name = "a2600-play" required-features = ["frontend"] [[bin]] name = "a2600-profile" required-features = ["profile"] # The WebAssembly check (wasm32-unknown-unknown, no window): raw exports for scripts/wasm-bench.mjs. [[example]] name = "wasm_bench" crate-type = ["cdylib"] [profile.release] debug = 1