Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
71 changes: 28 additions & 43 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "hyperware_process_lib"
authors = ["Sybil Technologies AG"]
version = "1.2.1"
version = "2.0.0"
edition = "2021"
description = "A library for writing Hyperware processes in Rust."
homepage = "https://hyperware.ai"
Expand Down Expand Up @@ -37,4 +37,4 @@ tracing = { version = "0.1", optional = true }
tracing-error = { version = "0.2", optional = true }
tracing-subscriber = { version = "0.3", features = ["env-filter", "json", "std"], optional = true }
url = "2.4.1"
wit-bindgen = "0.36.0"
wit-bindgen = "0.42.1"
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@ See the [Hyperware Book](https://book.hyperware.ai) for a guide on how to use th

## Dependencies

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

`process_lib` version | `wit-bindgen` version
--------------------- | ---------------------
`2.x.y` | `0.42.1`
`1.x.y` | `0.36.0`
3 changes: 2 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,12 @@
//! for applications that want to maximize composability and introspectability.
//! For blobs, we recommend bincode to serialize and deserialize to bytes.
//!
//! `process_lib` v`1.x.y` uses [`wit-bindgen`](https://github.com/bytecodealliance/wit-bindgen) v`0.36.0`.
//! `process_lib` v`2.x.y` uses [`wit-bindgen`](https://github.com/bytecodealliance/wit-bindgen) v`0.42.1`.
//! Processes depending on `process_lib` must also use that version.
//!
//! `process_lib` version | `wit-bindgen` version
//! --------------------- | ---------------------
//! `2.x.y` | `0.42.1`
//! `1.x.y` | `0.36.0`
//!
pub use crate::hyperware::process::standard::*;
Expand Down
2 changes: 1 addition & 1 deletion src/types/request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ impl Request {
metadata: self.metadata,
capabilities: self.capabilities,
},
self.context.as_ref(),
self.context.as_ref().map(|v| &**v),
self.blob.as_ref(),
);
Ok(())
Expand Down