-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
54 lines (46 loc) · 1.11 KB
/
Cargo.toml
File metadata and controls
54 lines (46 loc) · 1.11 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
[package]
name = "rustboy"
version = "0.1.0"
edition = "2024"
authors = ["Raoul Luqué <raoulsluque@gmail.com>"]
resolver = "2"
description = "A Game Boy emulator"
license = "MIT"
repository = "https://github.com/RaoulLuque/RustBoy"
[lib]
crate-type = ["cdylib", "rlib"]
[[bin]]
name = "rustboy"
path = "src/main.rs"
[profile.dev]
opt-level = 3
strip = false
debug = true
# Enable high optimizations for dependencies, but not for our code:
[profile.dev.package."*"]
opt-level = 3
[profile.release]
strip = false
debug = true
[dependencies]
cfg-if = "1"
winit = { version = "0.29", features = ["rwh_05"] }
env_logger = "0.11"
log = "0.4"
wgpu = "24.0"
pollster = "0.3"
wasm-timer = "0.2.0"
bytemuck = { version = "1.21.0", features = ["derive"] }
# Binary only dependencies
clap = { version = "4.5.31", features = ["derive"] }
[target.'cfg(target_arch = "wasm32")'.dependencies]
console_error_panic_hook = "0.1.6"
console_log = "1.0"
wgpu = { version = "24.0", features = ["webgl"] }
wasm-bindgen = "0.2"
wasm-bindgen-futures = "0.4.30"
web-sys = { version = "0.3", features = [
"Document",
"Window",
"Element",
] }