-
Notifications
You must be signed in to change notification settings - Fork 5
/
Cargo.toml
94 lines (79 loc) · 2.38 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
[package]
name = "nes-bundler"
description = ""
version = "1.3.3"
authors = ["Ted Steen <ted.steen@gmail.com>"]
edition = "2021"
publish = false
[features]
default = []
netplay = ["matchbox_socket", "ggrs", "futures-timer", "uuid", "reqwest", "md5"]
debug = ["egui_plot", "puffin", "puffin_egui"]
# Playable framerates in development
[profile.dev]
opt-level = 1
# codegen-backend = "cranelift"
panic = 'unwind'
debug = true
strip = false
[profile.profiling]
inherits = "release"
panic = 'unwind'
debug = true
strip = false
[profile.release]
codegen-units = 1
#lto = true #TODO: This adds a lot of time to the build.. Perhaps not worth it?
strip = true
panic = 'abort'
[dependencies]
log = "0.4"
env_logger = "0.11"
anyhow = "1.0"
serde = { version = "1", features = ["derive"] }
serde_yaml = "0.9"
bitflags = "2"
rand = "0.8"
tokio = { version = "1", features = [
"rt",
"macros",
"rt-multi-thread",
"sync",
] }
futures = "0.3"
egui = { version = "0.30", default-features = false, features = [
"bytemuck",
"default_fonts",
] }
egui_plot = { version = "0.30", optional = true }
# TODO: Use stable version of puffin and puffin_egui when https://github.com/EmbarkStudios/puffin/pull/234 is merged
puffin = { git = "https://github.com/tedsteen/puffin.git", branch = "upgrade-egui", optional = true }
puffin_egui = { git = "https://github.com/tedsteen/puffin.git", branch = "upgrade-egui", optional = true }
egui-winit = "0.30"
egui-wgpu = "0.30"
winit = "0.30.8"
wgpu = { version = "23.0", features = ["dx12", "metal"] }
raw-window-handle = "0.6"
# sdl2 = { version = "0.36", features = ["bundled", "static-link"] }
sdl2 = { git = "https://github.com/tedsteen/rust-sdl2.git", branch = "for-nes-bundler", features = [
"bundled",
"static-link",
] }
tetanes-core = { git = "https://github.com/lukexor/tetanes.git" }
bincode = "1.3"
thingbuf = "0.1"
base64 = "0.22"
directories = "5"
# Netplay deps
matchbox_socket = { version = "0.11", features = ["ggrs"], optional = true }
futures-timer = { version = "3", features = ["wasm-bindgen"], optional = true }
ggrs = { version = "0.11", optional = true }
uuid = { version = "1", features = ["v4"], optional = true }
reqwest = { version = "0.12", features = ["json"], optional = true }
md5 = { version = "0.7", optional = true }
[build-dependencies]
anyhow = "1.0"
serde_yaml = "0.9"
serde = { version = "1.0", features = ["derive"] }
tinytemplate = "1.2"
winres = "0.1"