Skip to content

Commit 8dc6719

Browse files
authored
Merge pull request #150 from hyperware-ai/hf/bump-wit-bindgen-to-0.42.1
bump wit bindgen to 0.42.1
2 parents 1c133f4 + 08410e8 commit 8dc6719

File tree

5 files changed

+33
-46
lines changed

5 files changed

+33
-46
lines changed

Cargo.lock

Lines changed: 27 additions & 42 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ tracing = { version = "0.1", optional = true }
3737
tracing-error = { version = "0.2", optional = true }
3838
tracing-subscriber = { version = "0.3", features = ["env-filter", "json", "std"], optional = true }
3939
url = "2.4.1"
40-
wit-bindgen = "0.36.0"
40+
wit-bindgen = "0.42.1"

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,10 @@ See the [Hyperware Book](https://book.hyperware.ai) for a guide on how to use th
1010

1111
## Dependencies
1212

13-
`process_lib` v`1.x.y` uses [`wit-bindgen`](https://github.com/bytecodealliance/wit-bindgen) v`0.36.0`.
13+
`process_lib` v`2.x.y` uses [`wit-bindgen`](https://github.com/bytecodealliance/wit-bindgen) v`0.42.1`.
1414
Processes depending on `process_lib` must also use that version.
1515

1616
`process_lib` version | `wit-bindgen` version
1717
--------------------- | ---------------------
18+
`2.x.y` | `0.42.1`
1819
`1.x.y` | `0.36.0`

src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,12 @@
1313
//! for applications that want to maximize composability and introspectability.
1414
//! For blobs, we recommend bincode to serialize and deserialize to bytes.
1515
//!
16-
//! `process_lib` v`1.x.y` uses [`wit-bindgen`](https://github.com/bytecodealliance/wit-bindgen) v`0.36.0`.
16+
//! `process_lib` v`2.x.y` uses [`wit-bindgen`](https://github.com/bytecodealliance/wit-bindgen) v`0.42.1`.
1717
//! Processes depending on `process_lib` must also use that version.
1818
//!
1919
//! `process_lib` version | `wit-bindgen` version
2020
//! --------------------- | ---------------------
21+
//! `2.x.y` | `0.42.1`
2122
//! `1.x.y` | `0.36.0`
2223
//!
2324
pub use crate::hyperware::process::standard::*;

src/types/request.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ impl Request {
280280
metadata: self.metadata,
281281
capabilities: self.capabilities,
282282
},
283-
self.context.as_ref(),
283+
self.context.as_ref().map(|v| &**v),
284284
self.blob.as_ref(),
285285
);
286286
Ok(())

0 commit comments

Comments
 (0)