-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
64 lines (55 loc) · 1.41 KB
/
Cargo.toml
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
[package]
name = "pachip8risu-playdate"
version = "0.1.0"
edition = "2021"
[lib]
path = "src/lib.rs"
crate-type = [
"staticlib", # for hardware
"dylib", # for simulator
"rlib", # to link with bin
]
[features]
debug-opcode = []
debug-profile = []
debug-gfx = []
[dependencies]
playdate = "*"
rand = { version = "0.8.4", features = ["small_rng"], default-features = false }
playdate-controls = "*"
num-traits = { version = "0.2.19", default-features = false, features = [
"libm",
] }
anyhow = { version = "1.0.93", default-features = false }
# Playdate Package Info
# doc: https://github.com/boozook/playdate/blob/main/support/build/README.md#metadata
# official doc: https://sdk.play.date/#pdxinfo
[package.metadata.playdate]
name = "Pachip8risu"
author = "Giorgio Pomettini"
version = "0.1.0"
bundle-id = "com.pomettini.chip8"
description = "Chip-8 emulator"
# image-path = "img/system"
# Assets Rules
# doc: https://github.com/boozook/playdate/blob/main/support/build/README.md#assets
[package.metadata.playdate.assets]
# "img/system/" = "assets/launcher/card.png"
# Assets Configuration
[package.metadata.playdate.options.assets]
dependencies = true
overwrite = true
method = "link"
follow-symlinks = true
[profile.dev]
panic = "abort"
[profile.release]
panic = "abort"
opt-level = 3
overflow-checks = false
lto = "fat"
incremental = false
codegen-units = 1
debug = 0
strip = "symbols"
debug-assertions = false