Skip to content

Commit

Permalink
feat: add new fetch bindings to the rust kit
Browse files Browse the repository at this point in the history
  • Loading branch information
Angelmmiguel committed Jul 5, 2023
1 parent 7efed95 commit de0b3fa
Show file tree
Hide file tree
Showing 11 changed files with 752 additions and 9 deletions.
72 changes: 67 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ members = [
exclude = [
"examples/pdf-create",
"examples/rust-basic",
"examples/rust-fetch",
"examples/rust-kv",
"examples/rust-params"
]
Expand Down
7 changes: 6 additions & 1 deletion examples/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ rust-basic:
cargo build --target wasm32-wasi --release && \
cp target/wasm32-wasi/release/rust-basic.wasm ./basic.wasm

rust-fetch:
cd rust-fetch && \
cargo build --target wasm32-wasi --release && \
cp target/wasm32-wasi/release/rust-fetch.wasm ./index.wasm

rust-kv:
cd rust-kv && \
cargo build --target wasm32-wasi --release && \
Expand All @@ -20,4 +25,4 @@ rust-pdf-create:
cargo build --target wasm32-wasi --release && \
mv target/wasm32-wasi/release/rust-pdf-create.wasm ./index.wasm

all: rust-basic rust-kv rust-params
all: rust-basic rust-fetch rust-kv rust-params
166 changes: 164 additions & 2 deletions examples/rust-basic/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit de0b3fa

Please sign in to comment.