-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
74 lines (65 loc) · 1.7 KB
/
Cargo.toml
File metadata and controls
74 lines (65 loc) · 1.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
[workspace]
resolver = "2"
members = [
"crates/rustynes-cpu",
"crates/rustynes-ppu",
"crates/rustynes-apu",
"crates/rustynes-mappers",
"crates/rustynes-core",
"crates/rustynes-desktop",
# Future crates (commented out until implemented):
# "crates/rustynes-web",
# "crates/rustynes-tas",
# "crates/rustynes-netplay",
# "crates/rustynes-achievements",
]
[workspace.package]
version = "0.8.6"
edition = "2024"
rust-version = "1.88"
authors = ["doublegate"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/doublegate/RustyNES"
homepage = "https://github.com/doublegate/RustyNES"
documentation = "https://docs.rs/rustynes"
keywords = ["nes", "emulator", "6502", "gaming", "retro"]
categories = ["emulators", "games"]
[workspace.dependencies]
# Core dependencies
thiserror = "2.0"
bitflags = "2.10"
log = "0.4"
# Testing dependencies
criterion = "0.8"
proptest = "1.9"
[workspace.lints.rust]
unsafe_code = "deny"
missing_docs = "warn"
[workspace.lints.clippy]
pedantic = { level = "warn", priority = -1 }
cargo = { level = "warn", priority = -1 }
# Allowed pedantic lints
module_name_repetitions = "allow"
cast_possible_truncation = "allow"
cast_sign_loss = "allow"
cast_lossless = "allow"
cast_possible_wrap = "allow"
match_same_arms = "allow"
doc_markdown = "allow"
needless_doctest_main = "allow"
unused_self = "allow"
cargo_common_metadata = "allow"
must_use_candidate = "allow"
wildcard_enum_match_arm = "allow"
large_stack_arrays = "allow" # Tests use 64KB arrays for NES memory
[profile.dev]
opt-level = 1 # Faster debug builds
[profile.release]
lto = true
codegen-units = 1
panic = "abort"
strip = true
[profile.bench]
inherits = "release"
[profile.test]
opt-level = 1