mirror of
https://github.com/aljazceru/pubky-core.git
synced 2025-12-31 12:54:35 +01:00
chore(pubky): slight size optimization for wasm bundle size
This commit is contained in:
@@ -3,3 +3,7 @@ members = [ "pubky","pubky-*"]
|
||||
|
||||
# See: https://github.com/rust-lang/rust/issues/90148#issuecomment-949194352
|
||||
resolver = "2"
|
||||
|
||||
[profile.release]
|
||||
lto = true
|
||||
opt-level = 'z'
|
||||
|
||||
@@ -47,3 +47,6 @@ tokio = "1.37.0"
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
all-features = true
|
||||
|
||||
# [package.metadata.wasm-pack.profile.release]
|
||||
# wasm-opt = ['-g', '-O']
|
||||
|
||||
Reference in New Issue
Block a user