-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
63 lines (60 loc) · 1.83 KB
/
Copy pathCargo.toml
File metadata and controls
63 lines (60 loc) · 1.83 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
[workspace]
members = [
"crates/domain",
"crates/engine",
"crates/application",
"crates/effects",
"crates/drivers",
"crates/api",
"crates/api/google",
"crates/api/legacy",
"crates/discovery",
"crates/persistence",
"crates/store",
"crates/mqtt",
"crates/server",
]
resolver = "2"
[workspace.dependencies]
# Internal crates
domain = { path = "crates/domain" }
engine = { path = "crates/engine" }
application = { path = "crates/application" }
effects = { path = "crates/effects" }
drivers = { path = "crates/drivers" }
api = { path = "crates/api" }
api-google = { path = "crates/api/google" }
api-legacy = { path = "crates/api/legacy" }
discovery = { path = "crates/discovery" }
persistence = { path = "crates/persistence" }
store = { path = "crates/store" }
mqtt = { path = "crates/mqtt" }
# External crates
actix-web = "4.11.0"
chrono = "0.4.42"
clap = { version = "4.5.49", features = ["derive", "env"] }
config = "0.15.18"
hsv = "0.1.1"
include_dir = "0.7"
rhai = { version = "1.24.0", features = ["sync"] }
serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0.145"
spidev = "0.7.0"
tempfile = "3"
thiserror = "2"
mdns-sd = "0.18"
tokio = { version = "1", features = ["sync", "fs"] }
futures-util = "0.3"
sqlx = { version = "0.8", features = ["sqlite", "runtime-tokio-rustls", "migrate"] }
toml = "0.8"
uuid = { version = "1", features = ["v4"] }
# Optimize render-critical crates even in debug builds — Rhai per-pixel eval
# is too slow at opt-level=0 for real-time frame rates.
[profile.dev.package.rhai]
opt-level = 3
[profile.dev.package.effects]
opt-level = 3
[profile.dev.package.engine]
opt-level = 3
[profile.dev.package.domain]
opt-level = 3