Skip to content

Commit dbdba85

Browse files
authored
Merge pull request #151 from hyperware-ai/develop
develop
2 parents b842d08 + 8dc6719 commit dbdba85

File tree

5 files changed

+35
-48
lines changed

5 files changed

+35
-48
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "hyperware_process_lib"
33
authors = ["Sybil Technologies AG"]
4-
version = "1.2.1"
4+
version = "2.0.0"
55
edition = "2021"
66
description = "A library for writing Hyperware processes in Rust."
77
homepage = "https://hyperware.ai"
@@ -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)