Skip to content

Commit

Permalink
Merge pull request #1 from fibonacci1729/generate-rust
Browse files Browse the repository at this point in the history
Generate rust bindings
  • Loading branch information
karthik2804 authored Sep 24, 2024
2 parents ccab564 + 9031bbf commit 9eeb02d
Show file tree
Hide file tree
Showing 13 changed files with 783 additions and 13 deletions.
27 changes: 27 additions & 0 deletions Cargo.lock

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

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ wit-parser = { git = "https://github.com/bytecodealliance/wasm-tools" }
wasm-pkg-loader = "0.4.1"
futures = "0.3.30"
semver = "1.0.23"
wit-bindgen-rust = { git = "https://github.com/fibonacci1729/wit-bindgen", branch = "deps" }
wit-bindgen-core = { git = "https://github.com/fibonacci1729/wit-bindgen", branch = "deps" }

[target.'cfg(target_os = "linux")'.dependencies]
# This needs to be an explicit dependency to enable
Expand Down
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.PHONY: install
install:
cargo build --release
spin pluginify -i
4 changes: 4 additions & 0 deletions example/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
src/bindings
target/
.spin/
.wit/
Loading

0 comments on commit 9eeb02d

Please sign in to comment.