feat(crypto) Reduce Wasm binary size by enabling LTO.

This commit is contained in:
Ivan Enderlin 2022-05-09 13:23:16 +02:00
parent 5c6a6464c4
commit 0fe0910fea
2 changed files with 4 additions and 1 deletions

View File

@ -2,3 +2,6 @@
members = ["benchmarks", "crates/*", "labs/*", "xtask"]
# xtask and labs should only be compiled when invoked explicitly
default-members = ["benchmarks", "crates/*"]
[profile.release]
lto = true

View File

@ -74,4 +74,4 @@ tokio = { version = "1.7.0", default-features = false, features = ["macros", "rt
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
getrandom = { version = "0.2.6", features = ["js"] }
wasm-bindgen-test = "0.3.24"
wasm-bindgen-test = "0.3.24"