Skip to content

Commit

Permalink
chore: update wit-bindgen to v0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardomourar committed Feb 14, 2023
1 parent 4312d70 commit 081ab71
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 22 deletions.
37 changes: 21 additions & 16 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ wasmprinter = "0.2.50"
wasmparser = "0.100.0"
wasm-encoder = "0.23.0"
wat = "1.0.58"
wit-bindgen-guest-rust = { git = 'https://github.com/bytecodealliance/wit-bindgen', rev = "964dff2c0f2fb12798a3ff6ca2990a88048580fc", default-features = false, features = ['macros'] }
wit-bindgen = { version = "0.3.0", default-features = false, features = ["macros"] }
wit-component = { version = "0.6.0", features = ['dummy-module'] }
wit-parser = "0.6.0"
2 changes: 1 addition & 1 deletion crates/js-component-bindgen-component/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ heck = { workspace = true }
clap = { workspace = true, optional = true }
js-component-bindgen = { path = "../js-component-bindgen", features = ['raw-bindgen'] }
wasmtime-environ = { workspace = true, features = ['component-model'] }
wit-bindgen-guest-rust = { workspace = true, features = ['default'] }
wit-bindgen = { workspace = true, features = ['default'] }
wit-component = { workspace = true }
wit-parser = { workspace = true }
indexmap = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/js-component-bindgen-component/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ macro_rules! uwriteln {
};
}

wit_bindgen_guest_rust::generate!("js-component-bindgen");
wit_bindgen::generate!("js-component-bindgen");

use crate::exports::*;

Expand Down
2 changes: 1 addition & 1 deletion crates/js-component-bindgen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ anyhow = { workspace = true }
heck = { workspace = true }
clap = { workspace = true, optional = true }
wasmtime-environ = { workspace = true, features = ['component-model'] }
wit-bindgen-guest-rust = { workspace = true, features = ['default'] }
wit-bindgen = { workspace = true, features = ['default'] }
wit-component = { workspace = true }
wit-parser = { workspace = true }
indexmap = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/wasm-tools-component/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ wasmparser = { workspace = true }
wasmprinter = { workspace = true }
wasm-encoder = { workspace = true }
wat = { workspace = true }
wit-bindgen-guest-rust = { workspace = true, features = ['default'] }
wit-bindgen = { workspace = true, features = ['default'] }
wit-component = { workspace = true }
wit-parser = { workspace = true }
2 changes: 1 addition & 1 deletion crates/wasm-tools-component/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use wasmparser;
use wit_component::{ComponentEncoder, DecodedWasm, DocumentPrinter, StringEncoding};
use wit_parser::{Resolve, UnresolvedPackage};

wit_bindgen_guest_rust::generate!("wasm-tools");
wit_bindgen::generate!("wasm-tools");

struct WasmToolsJs;

Expand Down

0 comments on commit 081ab71

Please sign in to comment.