# SPDX-License-Identifier: MIT [package] name = "ay8910-rust" version = "0.1.0" edition = "2021" rust-version = "1.85" description = "The AY-3-8910, AY-3-8912/8913, YM2149 and Sunsoft 5B PSG, transcribed from, and proven equivalent to, ay8910-python" license = "MIT" readme = "README.md" publish = false [lib] name = "ay8910_rust" # The core imports nothing by default. The `serde` feature makes `PSG` and `PSGVariant` # serialisable (save states for a board). The lockstep example hashes its outputs (sha2) and # round-trips the chip through a save state (serde_json, bincode). [features] serde = ["dep:serde"] [dependencies] serde = { version = "1", features = ["derive"], optional = true } [dev-dependencies] bincode = "1" serde_json = { version = "1", features = ["float_roundtrip"] } sha2 = "0.10" [[example]] name = "ay8910-trace" required-features = ["serde"] [profile.release] debug = 1