-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
89 lines (76 loc) · 2.42 KB
/
Copy pathCargo.toml
File metadata and controls
89 lines (76 loc) · 2.42 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
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
[package]
name = "tools_for_210"
version = "0.1.0"
authors = ["Jack Crump-Leys <jackcrumpleys@gmail.com>"]
edition = "2021"
include = ["LICENSE-APACHE", "LICENSE-MIT", "**/*.rs", "Cargo.toml"]
rust-version = "1.81"
[package.metadata.docs.rs]
all-features = true
targets = ["x86_64-unknown-linux-gnu", "wasm32-unknown-unknown"]
[dependencies]
egui = {version = "0.33", features = [
"serde",
] }
egui_extras = { version = "0.33", features = [
"serde",
] }
egui_code_editor = "0.2.21"
eframe = { default-features = false, features = [
"accesskit", # Make egui compatible with screen readers. NOTE: adds a lot of dependencies.
"default_fonts", # Embed the default egui fonts.
"glow", # Use the glow rendering backend. Alternative: "wgpu".
"persistence", # Enable restoring app state when restarting the app.
"wayland", # To support Linux (and CI)
"x11",
], version = "0.33"}
log = "0.4"
egui_dock = "0.18"
rustc-hash = "*"
indexmap = "2.7"
tracing = {version = "0.1", features=["release_max_level_info"]}
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
tracing-test = "0.2"
tracing-web = "0.1"
wasm-bindgen = "0.2"
lazy_static = "1"
winit = "0.30"
web-time = "1"
# You only need serde if you want app persistence:
serde = { version = "1", features = ["derive"] }
console_error_panic_hook = "0.1.7"
web-sys = { version = "0.3.70", features = ["Window"] }
ron = "0.10.1"
rfd = "0.17.2"
egui_phosphor_icons = "0.2.0"
num-traits = "0.2.19"
# native:
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
env_logger = "0.11"
# web:
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen-futures = "0.4"
web-sys = "0.3.70" # to access the DOM (to hide the loading text)
js-sys = "0.3"
[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
# Optimize all dependencies even in debug builds:
[profile.dev.package."*"]
opt-level = 2
[dev-dependencies]
criterion = { version = "0.4", features = ["html_reports"] }
[[bench]]
name = "turing"
harness = false
[[bench]]
name = "lc3"
harness = false
[patch.crates-io]
# If you want to use the bleeding edge version of egui and eframe:
# egui = { git = "https://github.com/emilk/egui", branch = "master" }
# eframe = { git = "https://github.com/emilk/egui", branch = "master" }
# If you fork https://github.com/emilk/egui you can test with:
# egui = { path = "../egui/crates/egui" }
# eframe = { path = "../egui/crates/eframe" }