summaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorMica White <botahamec@outlook.com>2026-10-31 10:59:52 -0400
committerMica White <botahamec@outlook.com>2026-10-31 10:59:52 -0400
commitfde01cceb898b944b646a8fed1ce81cb14e523ef (patch)
treed1d5c97350fbbba2cc522c1f539c320ad4c2d1fc /Cargo.toml
parent0c128e472b1b49e32c313874eaeccc8c5f1b1202 (diff)
Testing and optimization
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml24
1 files changed, 13 insertions, 11 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 1e60e85..d553eb1 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -8,25 +8,27 @@ bpaf = { version = "0.9", features = ["derive"] }
crossterm = "0.29"
etcetera = "0.11"
getrandom = "0.4"
-hex_color = "3"
-chrono = "0.4"
log = "0.4"
-gilrs = "0.11"
+gilrs = { version = "0.11", optional = true }
messagepack-serde = "0.2"
-mlua = { version = "0.12", features = ["lua51", "vendored", "serde", "send", "error-send"] }
-postcard = { version = "1", features = ["use-std"] }
prologger = "0.3"
-puffin = "0.20"
-puffin_http = "0.17"
+puffin = { version = "0.20", optional = true }
+puffin_http = { version = "0.17", optional = true }
rustc-hash = "2"
serde = { version = "1", features = ["derive"] }
smol = "2"
spin = "0.12"
-tinywasm = { path = "../tinywasm/crates/tinywasm" }
+spin_sleep = "1"
+tinywasm = { path = "../tinywasm/crates/tinywasm", optional = true }
+
+[features]
+default = ["tinywasm", "gilrs", "hot-reload"]
+puffin = ["dep:puffin", "dep:puffin_http"]
+hot-reload = []
[profile.release]
-opt-level = 'z'
+opt-level = 3
lto = true
codegen-units = 1
-panic = "abort"
-strip = true
+# panic = "abort"
+# strip = true