# SPDX-License-Identifier: MIT [package] # The repository is a7800-rust; the crate takes the reference's name without its `_python` # suffix (the family convention for Rust ports). name = "a7800" version = "0.1.0" edition = "2021" rust-version = "1.85" description = "A Rust Atari 7800 ProSystem board transcribed from, and proven equivalent to, a7800-python" license = "MIT" readme = "README.md" publish = false [lib] name = "a7800" [features] # The desktop window (src/bin/a7800-play.rs): SDL2 through the sdl2 crate. frontend = ["dep:sdl2"] [dependencies] # a2600-rust (crate a2600) at f9af024, transcribing a2600-python 28fb095, the commit # a7800-python d6b220d pins. A path dependency: check it out beside this repository. a2600 = { path = "/data/emu/a2600-rust" } # 6502-rust (crate sixfiveohtwo), transcribed from 6502-python 741419a, the commit both # a7800-python and a2600-python pin. The same path a2600-rust uses, so one copy of the core # serves both modes (SALLY moves from this board to a2600's at the hand-off). sixfiveohtwo = { path = "/data/emu/6502-rust" } # pokey-rust (crate pokey) at b37263d, transcribed from pokey-python 6ed1ffa, the commit # a7800-python pins; its serde feature puts the chip in save states. pokey = { path = "/data/emu/pokey-rust", features = ["serde"] } serde = { version = "1", features = ["derive"] } serde_json = "1" 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` stays as written, tuples stay tuples. [lints.clippy] needless_range_loop = "allow" type_complexity = "allow" identity_op = "allow" too_many_arguments = "allow" new_without_default = "allow" collapsible_else_if = "allow" collapsible_if = "allow" assertions_on_constants = "allow" # `a << 2 | b`, `c < x or c > y` stay as the reference writes them. precedence = "allow" manual_range_contains = "allow" [[bin]] name = "a7800-play" required-features = ["frontend"] [profile.release] debug = 1