-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
73 lines (65 loc) · 1.9 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
65
66
67
68
69
70
71
72
73
[package]
name = "nes-rs"
version = "0.1.0"
authors = ["Przemyslaw Koziol <przemkoz85@gmail.com>"]
edition = "2021"
[[test]]
name = "branch_timing_tests"
path = "tests/branch_timing_tests.rs"
[[test]]
name = "vbl_nmi_timing"
path = "tests/vbl_nmi_timing.rs"
[[test]]
name = "instr_timing"
path = "tests/instr_timing.rs"
[[test]]
name = "blargg_ppu_tests"
path = "tests/blargg_ppu_tests.rs"
[[test]]
name = "apu_tests"
path = "tests/apu_tests.rs"
[[test]]
name = "sprite_0_hit_tests"
path = "tests/sprite_0_hit_tests.rs"
[[test]]
name = "mmc3_irq_tests"
path = "tests/mmc3_irq_tests.rs"
[[test]]
name = "cpu_interrupts_v2"
path = "tests/cpu_interrupts_v2.rs"
[[test]]
name = "serialization"
path = "tests/serialization.rs"
[profile.release]
debug = true
lto = true
opt-level = 3
panic = "abort"
[target.'cfg(not(target_os = "emscripten"))'.dependencies]
sdl2 = {version = "0.34", default-features = false, features = ["static-link","use-vcpkg", "image"]}
[target.'cfg(target_os = "emscripten")'.dependencies]
sdl2 = {version = "0.34", default-features = false, features = ["image"]}
instant = {version = "0.1", features = ["wasm-bindgen"]}
[dependencies]
cfg-if = "0.1"
enum-tryfrom = "0.2.1"
enum-tryfrom-derive = "0.2.1"
imgui = "0.7.0"
imgui-sys = "0.7.0"
imgui-opengl-renderer = { git = "https://github.com/selassje/rust-imgui-opengl-renderer" }
imgui-sdl2 = "0.14"
imgui-filedialog = { git = "https://github.com/selassje/imgui-filedialog-rs.git"}
gl = "0.10.0"
emscripten_main_loop = "0.1"
serde = { version = "1.0", features = ["derive","rc"] }
serde_json = "1.0.0"
serde_arrays = "0.1"
serde_stacker = "0.1.4"
enum_dispatch = "0.3.7"
yazi = "0.1.4"
[package.metadata.vcpkg]
dependencies = ["sdl2","sdl2-image[libjpeg-turbo,tiff,libwebp]"]
git = "https://github.com/microsoft/vcpkg"
rev = "dfc21e3f283230d01dd564635aef30ad18fdb6e9"
[package.metadata.vcpkg.target]
x86_64-pc-windows-msvc = { triplet = "x64-windows-static-md" }