From fde01cceb898b944b646a8fed1ce81cb14e523ef Mon Sep 17 00:00:00 2001 From: Mica White Date: Sat, 31 Oct 2026 10:59:52 -0400 Subject: Testing and optimization --- Cargo.toml | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) (limited to 'Cargo.toml') 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 -- cgit v1.3.1