-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
82 lines (74 loc) · 2.05 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
[package]
name = "home_flow"
version = "0.2.0"
edition = "2021"
rust-version = "1.84"
[dependencies]
log = "0.4.22"
anyhow = "1.0.95"
serde = { version = "1.0.217", features = ["derive"] }
serde_json = "1.0.134"
bincode = "1.3.3"
ron = "0.8.1"
uuid = { version = "1.11.0", features = ["v4", "fast-rng", "js", "serde"] }
parking_lot = "0.12.3"
ahash = { version = "0.8.11", features = ["serde"] }
indexmap = "2.7.0"
strum = "0.26.3"
strum_macros = "0.26.4"
bitflags = { version = "2.7.0", features = ["serde"] }
nestify = "0.3.3"
diff = "0.1.13"
glam = { version = "0.29.2", features = ["serde"] }
nalgebra = { version = "0.33.2", features = ["std"], default-features = false }
image = { version = "0.25.5", default-features = false, features = ["png"] }
geo = "0.29.3"
geo-types = { version = "0.7.14", features = ["serde"] }
# GUI dependencies
egui = { version = "0.30.0", features = ["serde"], optional = true }
eframe = { version = "0.30.0", default-features = false, features = [
"default_fonts",
"glow",
"persistence",
], optional = true }
egui-notify = { version = "0.18.0", optional = true }
ehttp = { version = "0.5.0", optional = true }
# WebAssembly dependencies
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen-futures = "0.4.49"
web-sys = "0.3.76"
# Server dependencies
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
simple_logger = "5.0.0"
axum = { version = "0.8.1", default-features = false, features = [
"http1",
"tokio",
] }
tokio = { version = "1.42.0", features = ["full"] }
tokio-tungstenite = "0.26.1"
futures-util = "0.3.31"
tower-http = { version = "0.6.2", features = [
"fs",
"compression-deflate",
"compression-gzip",
] }
chrono = { version = "0.4.39", features = [
"serde",
"alloc",
"now",
], default-features = false }
dotenvy = "0.15.7"
argon2 = "0.5.3"
rand = "0.8.5"
[features]
default = ["gui"]
gui = ["egui", "eframe", "egui-notify", "ehttp"]
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
panic = "abort"
[profile.dev]
opt-level = 1
[profile.dev.package."*"]
opt-level = 2