Start work on server

This commit is contained in:
Michael Mikovsky
2025-11-28 18:39:14 -07:00
parent 598068d3ee
commit fcb8c6f6f5
13 changed files with 1800 additions and 613 deletions
+6 -5
View File
@@ -12,7 +12,7 @@ all-features = true
targets = ["x86_64-unknown-linux-gnu", "wasm32-unknown-unknown"]
[dependencies]
unshell-lib = {path="../unshell-lib"}
# unshell-lib = {path="../unshell-lib"}
egui = "0.33.0"
eframe = { version = "0.33.0", default-features = false, features = [
@@ -28,17 +28,18 @@ log = "0.4.27"
# You only need serde if you want app persistence:
serde = { version = "1.0.219", features = ["derive"] }
egui_extras = "0.33.2"
rand = "0.9.2"
egui_tiles = "0.14.0"
# native:
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
pretty_env_logger = "0.5.0"
# [target.'cfg(not(target_arch = "wasm32"))'.dependencies]
# pretty_env_logger = "0.5.0"
# web:
[target.'cfg(target_arch = "wasm32")'.dependencies]
# [target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen-futures = "0.4.50"
wasm-bindgen = "0.2.106"
web-sys = "0.3.70" # to access the DOM (to hide the loading text)
serde_json = "1.0.145"
[profile.release]
opt-level = 2 # fast and small wasm