diff --git a/Cargo.toml b/Cargo.toml index 7c58ac8..fd18705 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rxing-wasm" -version = "0.3.3" +version = "0.3.5" edition = "2021" description = "wasm bindings for rxing to provide commong barcode operations (decode/encode)" repository = "https://github.com/rxing-core/rxing-wasm" @@ -26,7 +26,7 @@ web-sys = {version = "0.3.76", features = ["CanvasRenderingContext2d", "HtmlCan # code size when deploying. console_error_panic_hook = { version = "0.1.7", optional = true } -rxing = {version = "~0.6.3", default-features = false, features = ["wasm_support"]} +rxing = {version = "~0.6.5", default-features = false, features = ["wasm_support"]} #rxing = {path="../rxing", version = "~0.2.23", default-features = false, features = ["wasm_support"]} [dev-dependencies] diff --git a/build-wasm.sh b/build-wasm.sh index 777b874..2d81ad4 100755 --- a/build-wasm.sh +++ b/build-wasm.sh @@ -1,5 +1,5 @@ #! /bin/sh wasm-pack build --release -wasm-opt pkg/rxing_wasm_bg.wasm -o pkg/rxing_wasm_bg-opt.wasm --enable-bulk-memory -O1 --inlining-optimizing --heap-store-optimization --optimize-casts -O4 +wasm-opt pkg/rxing_wasm_bg.wasm -o pkg/rxing_wasm_bg-opt.wasm --enable-bulk-memory -O1 --inlining-optimizing --heap-store-optimization --optimize-casts -Oz -O4 mv pkg/rxing_wasm_bg-opt.wasm pkg/rxing_wasm_bg.wasm diff --git a/examples/webpack+js/index.html b/examples/webpack+js/index.html index adc34d4..c45b644 100644 --- a/examples/webpack+js/index.html +++ b/examples/webpack+js/index.html @@ -106,4 +106,4 @@

RXing - Decode Barcodes

- + diff --git a/examples/webpack+js/package-lock.json b/examples/webpack+js/package-lock.json index bc42156..bd085e9 100644 --- a/examples/webpack+js/package-lock.json +++ b/examples/webpack+js/package-lock.json @@ -9,7 +9,7 @@ "version": "0.1.0", "license": "(MIT OR Apache-2.0)", "dependencies": { - "rxing-wasm": "^0.3.3" + "rxing-wasm": "^0.3.5" }, "bin": { "create-wasm-app": ".bin/create-wasm-app.js" @@ -2856,9 +2856,9 @@ } }, "node_modules/rxing-wasm": { - "version": "0.3.3", - "resolved": "https://registry.npmjs.org/rxing-wasm/-/rxing-wasm-0.3.3.tgz", - "integrity": "sha512-VCOc2Ev+b3Wj+T87FEe9H0UV6y0+7hrM3tecxLsfiKp/oulhU6dnxma8D2XsmAV0NP/G82aYmMGRaLC3lwKTVQ==", + "version": "0.3.5", + "resolved": "https://registry.npmjs.org/rxing-wasm/-/rxing-wasm-0.3.5.tgz", + "integrity": "sha512-7On6lJcPMGWX4m/7WpUnA7gwhG613f01jFlyXKv7tAT54tbtg6jFR8HJpm94OHwfqOR/3w6vVCQ/FzynKVyfDg==", "license": "Apache 2.0" }, "node_modules/safe-buffer": { @@ -6021,9 +6021,9 @@ } }, "rxing-wasm": { - "version": "0.3.3", - "resolved": "https://registry.npmjs.org/rxing-wasm/-/rxing-wasm-0.3.3.tgz", - "integrity": "sha512-VCOc2Ev+b3Wj+T87FEe9H0UV6y0+7hrM3tecxLsfiKp/oulhU6dnxma8D2XsmAV0NP/G82aYmMGRaLC3lwKTVQ==" + "version": "0.3.5", + "resolved": "https://registry.npmjs.org/rxing-wasm/-/rxing-wasm-0.3.5.tgz", + "integrity": "sha512-7On6lJcPMGWX4m/7WpUnA7gwhG613f01jFlyXKv7tAT54tbtg6jFR8HJpm94OHwfqOR/3w6vVCQ/FzynKVyfDg==" }, "safe-buffer": { "version": "5.2.1", diff --git a/examples/webpack+js/package.json b/examples/webpack+js/package.json index 6b2f8d6..dbbfc09 100644 --- a/examples/webpack+js/package.json +++ b/examples/webpack+js/package.json @@ -23,6 +23,6 @@ "node": ">=22.0.0" }, "dependencies": { - "rxing-wasm": "^0.3.3" + "rxing-wasm": "^0.3.5" } }