UPDATE: Use regex-lite crate instead of of regex

This removes almost 1Mb form the generated wasm(!!!)
This commit is contained in:
Nicolás Hatcher
2024-11-29 18:47:09 +01:00
committed by Nicolás Hatcher Andrés
parent 430b420435
commit 472740f296
4 changed files with 24 additions and 10 deletions

View File

@@ -14,7 +14,7 @@ crate-type = ["cdylib"]
# Uses `../ironcalc/base` when used locally, and uses
# the inicated version from crates.io when published.
# https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#multiple-locations
ironcalc_base = { path = "../../base", version = "0.2" }
ironcalc_base = { path = "../../base", version = "0.2", features = ["use_regex_lite"] }
serde = { version = "1.0", features = ["derive"] }
wasm-bindgen = "0.2.92"
serde-wasm-bindgen = "0.4"