[package]
edition = "2024"
name = "hg80"
version = "1.0.0"
build = false
include = [
"/src",
"/tests/*.rs",
"/tests/programs",
"/benches",
"/examples",
"/docs",
"/sim/t80n/programs",
"/sim/t80n/state",
"/sim/t80n/traces",
"/sim/t80n/run.sh",
"/sim/t80n/state.sh",
"/sim/t80n/state.golden",
"/sim/t80n/trace.vhd",
"/README.md",
"/CONTRIBUTING.md",
"/HISTORY.md",
"/NOTICE",
"/LICENSE-APACHE",
"/LICENSE-MIT",
"/.gitignore",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Z80 and Z80N CPU core, stepped one clock edge at a time"
readme = "README.md"
keywords = [
"z80",
"z80n",
"cpu",
"emulator",
"spectrum-next",
]
categories = [
"emulators",
"no-std",
"no-std::no-alloc",
]
license = "MIT OR Apache-2.0"
repository = "https://codeberg.org/TwistedRaven/hg80"
[features]
default = []
serde = ["dep:serde"]
[lib]
name = "hg80"
path = "src/lib.rs"
[[example]]
name = "profile"
path = "examples/profile.rs"
[[test]]
name = "cycle_reports"
path = "tests/cycle_reports.rs"
[[test]]
name = "cycles"
path = "tests/cycles.rs"
[[test]]
name = "differential"
path = "tests/differential.rs"
[[test]]
name = "reference_state"
path = "tests/reference_state.rs"
[[test]]
name = "state"
path = "tests/state.rs"
[[test]]
name = "vectors"
path = "tests/vectors.rs"
[[test]]
name = "z80n_tokens"
path = "tests/z80n_tokens.rs"
[[bench]]
name = "throughput"
path = "benches/throughput.rs"
harness = false
[dependencies.serde]
version = "1"
features = ["derive"]
optional = true
[dev-dependencies.criterion]
version = "0.5"
features = ["cargo_bench_support"]
default-features = false
[dev-dependencies.serde_json]
version = "1"
[lints.clippy]
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
[lints.clippy.all]
level = "deny"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "deny"