Skip to content

Commit

Permalink
chore(WASM-builds): remove wasm-opt overriding (#2200)
Browse files Browse the repository at this point in the history
  • Loading branch information
onur-ozkan authored Sep 6, 2024
1 parent ffed860 commit c366630
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions mm2src/mm2_bin_lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ authors = ["James Lee", "Artem Pikulin", "Artem Grinblat", "Omar S.", "Onur Ozka
edition = "2018"
default-run = "kdf"

# wasm-opt reduces the size from 17 Mb to 14. But it runs for few minutes, which is not good for CI.
# For production builds, it's recommended to run wasm-opt separately.
[package.metadata.wasm-pack.profile.release]
wasm-opt = false

[features]
custom-swap-locktime = ["mm2_main/custom-swap-locktime"] # only for testing purposes, should never be activated on release builds.
native = ["mm2_main/native"] # Deprecated
Expand Down

0 comments on commit c366630

Please sign in to comment.