Smaller binary

This commit is contained in:
Andras Schmelczer 2025-07-06 11:56:03 +01:00
parent d40d5b9bb0
commit 4ca9be2496
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C

View file

@ -24,11 +24,10 @@ console_error_panic_hook = { version = "0.1.7", optional = true }
wee_alloc = { version = "0.4.2", optional = true }
cfg-if = "1.0.1"
[features]
default = [ "wasm" ]
default = []
serde = [ "dep:serde" ]
wasm = [ "dep:wasm-bindgen"]
wasm = [ "dep:wasm-bindgen" ]
console_error_panic_hook = [ "dep:console_error_panic_hook" ]
[dev-dependencies]
@ -43,7 +42,7 @@ wasm-bindgen-test = "0.3.49"
codegen-units = 1
lto = true
opt-level = 3
strip="debuginfo" # Keep some info for better panics
strip="symbols"
[lints.rust]
unsafe_code = "forbid"