Skip to content

Commit 09210a8

Browse files
committed
v0.0.8 improve network performance, use optimize favicon, add sw.js
1 parent 5873105 commit 09210a8

7 files changed

Lines changed: 647 additions & 68 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
- run: |
3737
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
3838
- run: |
39-
cp -r ./assets ./wasm/deploy
39+
cp ./assets/favicon.webp ./wasm/deploy
4040
cd wasm && RUSTFLAGS='--cfg getrandom_backend="wasm_js"' wasm-pack build --target web --release
4141
cp -r ./pkg ./deploy
4242
- uses: actions/upload-pages-artifact@v3

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pdf-wasm"
3-
version = "0.0.7"
3+
version = "0.0.8"
44
edition = "2024"
55

66
[dependencies]

assets/favicon.png

-653 KB
Loading

assets/favicon.webp

30.8 KB
Loading

wasm/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[package]
22
name = "pdf-wasm-bindings"
3-
version = "0.0.5"
3+
version = "0.0.8"
44
edition = "2024"
55

66
[dependencies]
7+
wasm-bindgen = "0.2.100"
78
getrandom = { version = "0.3", features = ["wasm_js"] }
89
pdf-wasm = { version = "*", path = ".." }
9-
wasm-bindgen = "0.2"
1010

1111
[lib]
1212
crate-type = ["cdylib"]

0 commit comments

Comments
 (0)