feat(crypto) Reduce Wasm binary size by enabling LTO.
This commit is contained in:
parent
5c6a6464c4
commit
0fe0910fea
|
@ -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"
|
Loading…
Reference in New Issue