feat: add wit-bindgen-sample

This commit is contained in:
2022-07-16 23:38:51 +08:00
parent dd45671b35
commit b0e1a89020
7 changed files with 242 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
[package]
name = "engine"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
crate-type = ['cdylib']
[dependencies]
wit-bindgen-gen-core = { path = '../wit-bindgen/crates/gen-core' }
wit-bindgen-rust = { path = '../wit-bindgen/crates/rust-wasm' }