John Breaux
fbc0a0b2ea
- Improved test coverage to >80% of lines, functions - When doctests are included. - Wrote new unit tests: - Explicit tests for invalid instructions in the ranges {`5xyn`, `8xyn`, `9xyn`, `Fxbb`} - `rand` Tests for 1052671 cycles, to ensure randomly generated number is < ANDed byte - `Ex9E` (sek), `ExA1`(snek) will press only the expected key, then every key except the expected key, for every address - `Fx0A` (waitk) asserts based on the waveform of a keypress. After all, an A press is an A press. - Improved test performance by printing slightly less - Removed nightly requirement - (now optional, with feature = "unstable") - Amended justfile to test with `cargo nextest` (nice) - Changed release builds to optlevel 3
35 lines
742 B
TOML
35 lines
742 B
TOML
[package]
|
|
name = "chirp"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
authors = ["John Breaux"]
|
|
license = "MIT"
|
|
|
|
[features]
|
|
default = ["unstable"]
|
|
unstable = []
|
|
rhexdump = ["dep:rhexdump"]
|
|
serde = ["dep:serde"]
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
[profile.release]
|
|
opt-level = 3
|
|
debug = false
|
|
rpath = false
|
|
lto = true
|
|
debug-assertions = false
|
|
codegen-units = 1
|
|
panic = 'unwind'
|
|
incremental = false
|
|
overflow-checks = false
|
|
|
|
|
|
[dependencies]
|
|
gumdrop = "^0.8.1"
|
|
minifb = { version = "^0.24.0", features = ["wayland"] }
|
|
owo-colors = "^3"
|
|
rand = "^0.8.5"
|
|
rhexdump = {version = "^0.1.1", optional = true }
|
|
serde = { version = "^1.0", features = ["derive"], optional = true }
|
|
thiserror = "^1.0.39"
|