Skip to content

Commit

Permalink
Update the dev-dependency for wit-bindgen to 0.9.0 (#6800)
Browse files Browse the repository at this point in the history
* Update the dev-dependency for wit-bindgen to 0.9.0

* `new_fields` takes a slice of `String` pairs now
  • Loading branch information
elliottt authored Aug 3, 2023
1 parent afeee15 commit fc03e74
Show file tree
Hide file tree
Showing 4 changed files with 77 additions and 67 deletions.
103 changes: 39 additions & 64 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 @@ -199,7 +199,7 @@ io-extras = "0.18.0"
rustix = "0.38.4"

# wit-bindgen:
wit-bindgen = { version = "0.7.0", default-features = false }
wit-bindgen = { version = "0.9.0", default-features = false }

# wasm-tools family:
wasmparser = "0.110.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ fn request(
body: &[u8],
) -> Result<Response> {
let headers = wasi::http::types::new_fields(&[
("User-agent", "WASI-HTTP/0.0.1"),
("Content-type", "application/json"),
("User-agent".to_string(), "WASI-HTTP/0.0.1".to_string()),
("Content-type".to_string(), "application/json".to_string()),
]);

let request = wasi::http::types::new_outgoing_request(
Expand Down
35 changes: 35 additions & 0 deletions supply-chain/imports.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1663,34 +1663,69 @@ user-id = 1
user-login = "alexcrichton"
user-name = "Alex Crichton"

[[publisher.wit-bindgen]]
version = "0.9.0"
when = "2023-07-15"
user-id = 1
user-login = "alexcrichton"
user-name = "Alex Crichton"

[[publisher.wit-bindgen-core]]
version = "0.7.0"
when = "2023-05-26"
user-id = 1
user-login = "alexcrichton"
user-name = "Alex Crichton"

[[publisher.wit-bindgen-core]]
version = "0.9.0"
when = "2023-07-15"
user-id = 1
user-login = "alexcrichton"
user-name = "Alex Crichton"

[[publisher.wit-bindgen-rust]]
version = "0.7.0"
when = "2023-05-26"
user-id = 1
user-login = "alexcrichton"
user-name = "Alex Crichton"

[[publisher.wit-bindgen-rust]]
version = "0.9.0"
when = "2023-07-15"
user-id = 1
user-login = "alexcrichton"
user-name = "Alex Crichton"

[[publisher.wit-bindgen-rust-lib]]
version = "0.7.0"
when = "2023-05-26"
user-id = 1
user-login = "alexcrichton"
user-name = "Alex Crichton"

[[publisher.wit-bindgen-rust-lib]]
version = "0.9.0"
when = "2023-07-15"
user-id = 1
user-login = "alexcrichton"
user-name = "Alex Crichton"

[[publisher.wit-bindgen-rust-macro]]
version = "0.7.0"
when = "2023-05-26"
user-id = 1
user-login = "alexcrichton"
user-name = "Alex Crichton"

[[publisher.wit-bindgen-rust-macro]]
version = "0.9.0"
when = "2023-07-15"
user-id = 1
user-login = "alexcrichton"
user-name = "Alex Crichton"

[[publisher.wit-component]]
version = "0.11.0"
when = "2023-05-26"
Expand Down

0 comments on commit fc03e74

Please sign in to comment.