summaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
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