feat(crypto) Reduce Wasm binary size by enabling LTO.
This commit is contained in:
@@ -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
|
||||
@@ -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"
|
||||
Reference in New Issue
Block a user