-
Notifications
You must be signed in to change notification settings - Fork 25
/
Cargo.toml
152 lines (132 loc) · 3.79 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
[workspace]
members = [
"core",
"lib/common",
"lib/frontend/frontend_common",
"lib/frontend/videocard_renderer",
"lib/frontend/marty_scaler_wgpu",
"lib/frontend/display_manager_wgpu",
"lib/frontend/marty_egui",
"lib/frontend/config_toml_bpaf",
"frontends/martypc_web_player_wgpu",
"frontends/martypc_desktop_wgpu"
]
[workspace.package]
version = "0.3.0"
edition = "2021"
rust-version = "1.76"
license = "MIT"
authors = ["Daniel Balsom"]
[package]
name = "martypc"
version.workspace = true
edition.workspace = true
license.workspace = true
authors.workspace = true
[[bin]]
name = "martypc"
path = "frontends/martypc_desktop_wgpu/src/main.rs"
[dependencies]
marty_core = { path = "core"}
videocard_renderer = { path = "lib/frontend/videocard_renderer" }
marty_egui = { path = "lib/frontend/marty_egui" }
frontend_common = { path = "lib/frontend/frontend_common" }
martypc_desktop_wgpu = { path = "frontends/martypc_desktop_wgpu" }
[workspace.dependencies]
winit = "0.29.4"
wgpu = "0.20.0"
bytemuck = "1.14"
raw-window-handle = "0.5.0"
thiserror = "1.0.37"
anyhow = "1.0"
log = "0.4.20"
serde = { version = "1.0", features = ["derive"] }
serde_derive = "1.0"
serialport = { git = "https://github.com/dbalsom/serialport-rs", branch = "arduino-fix" }
web-time = "0.2.4"
toml = "0.8"
fxhash = "0.2.1"
enum_dispatch = "0.3.13"
indexmap = "2.2.6"
crossbeam-channel = "0.5.13"
crossbeam-utils = "0.8.5"
zip = { version = "2.1.3", default-features = false, features = ["bzip2", "deflate", "deflate64", "lzma", "time", "zstd"] }
egui = "0.28.1"
egui-wgpu = "0.28.1"
egui_plot = "0.28"
[workspace.dependencies.fluxfox]
git = "https://github.com/dbalsom/fluxfox.git"
branch = "main"
[workspace.dependencies.egui-winit]
version = "0.28.1"
#branch = "0_24_2_winit_0_29_15"
default-features = false
features = ["clipboard", "wayland", "x11"]
[workspace.dependencies.egui_extras]
version = "0.28.1"
#branch = "0_24_2_winit_0_29_15"
features = ["image"]
[workspace.dependencies.image]
version = "0.24"
default-features = false
features = ["png"]
[workspace.dependencies.pixels]
git = "https://github.com/dbalsom/pixels_martypc.git"
branch = "marty_update_deps4"
[workspace.dependencies.rodio]
git = "https://github.com/dbalsom/rodio_martypc.git"
branch = "buffer_size"
#[workspace.dependencies.egui]
#git = "https://github.com/dbalsom/egui_martypc.git"
#branch = "0_24_2_winit_0_29_15"
#
#[workspace.dependencies.egui-wgpu]
#git = "https://github.com/dbalsom/egui_martypc.git"
#branch = "0_24_2_winit_0_29_15"
#
#[workspace.dependencies.egui-winit]
#git = "https://github.com/dbalsom/egui_martypc.git"
#branch = "0_24_2_winit_0_29_15"
#default-features = false
#features = ["clipboard", "wayland", "x11"]
#
#[workspace.dependencies.egui_extras]
#git = "https://github.com/dbalsom/egui_martypc.git"
#branch = "0_24_2_winit_0_29_15"
#features = ["image"]
#
#[workspace.dependencies.egui_plot]
#git = "https://github.com/dbalsom/egui_martypc.git"
#branch = "0_24_2_winit_0_29_15"
[profile.release]
opt-level = 3
[profile.release-lto]
inherits = "release"
lto = true
strip = true
opt-level = 3
[profile.dev.package."*"]
opt-level = 3
[features]
default = ["ega", "vga", "opl"]
devtools = ["martypc_desktop_wgpu/devtools"]
arduino_validator = ["marty_core/arduino_validator", "martypc_desktop_wgpu/arduino_validator"]
cpu_validator = ["marty_core/cpu_validator", "martypc_desktop_wgpu/cpu_validator"]
ega = ["marty_core/ega", "frontend_common/ega", "videocard_renderer/ega"]
vga = ["marty_core/vga", "frontend_common/vga", "videocard_renderer/vga"]
opl = ["marty_core/opl"]
[build-dependencies]
winres = "0.1"
[package.metadata.appimage]
assets = [
"install/martypc.toml",
"install/configs",
"install/media",
"install/output",
]
auto_link = true
auto_link_exclude_list = [
"libc.so*",
"libdl.so*",
"libpthread.so*",
]