# SPDX-License-Identifier: MIT [package] name = "a2600" version = "0.1.0" edition = "2021" rust-version = "1.85" description = "A Rust Atari 2600 board transcribed from, and proven equivalent to, a2600-python" 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"] [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 } # 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"] [profile.release] debug = 1