diff --git a/Cargo.lock b/Cargo.lock index 6567f749..812d64e3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3572,7 +3572,7 @@ dependencies = [ [[package]] name = "wit-bindgen-wrpc" -version = "0.4.7" +version = "0.4.9" dependencies = [ "anyhow", "bitflags 2.6.0", @@ -3600,7 +3600,7 @@ dependencies = [ [[package]] name = "wit-bindgen-wrpc-rust" -version = "0.4.7" +version = "0.4.9" dependencies = [ "anyhow", "clap", @@ -3616,7 +3616,7 @@ dependencies = [ [[package]] name = "wit-bindgen-wrpc-rust-macro" -version = "0.4.7" +version = "0.4.9" dependencies = [ "anyhow", "prettyplease", diff --git a/Cargo.toml b/Cargo.toml index 6e6a4304..767b697e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -128,10 +128,10 @@ wasmtime = { version = "22", default-features = false } wasmtime-wasi = { version = "22", default-features = false } wit-bindgen = { version = "0.27", default-features = false } wit-bindgen-core = { version = "0.27", default-features = false } -wit-bindgen-wrpc = { version = "0.4.7", default-features = false, path = "./crates/wit-bindgen" } +wit-bindgen-wrpc = { version = "0.4.9", default-features = false, path = "./crates/wit-bindgen" } wit-bindgen-wrpc-go = { version = "0.2", default-features = false, path = "./crates/wit-bindgen-go" } -wit-bindgen-wrpc-rust = { version = "0.4.7", default-features = false, path = "./crates/wit-bindgen-rust" } -wit-bindgen-wrpc-rust-macro = { version = "0.4.7", default-features = false, path = "./crates/wit-bindgen-rust-macro" } +wit-bindgen-wrpc-rust = { version = "0.4.9", default-features = false, path = "./crates/wit-bindgen-rust" } +wit-bindgen-wrpc-rust-macro = { version = "0.4.9", default-features = false, path = "./crates/wit-bindgen-rust-macro" } wit-component = { version = "0.212", default-features = false } wit-parser = { version = "0.212", default-features = false } wrpc-cli = { version = "0.2", path = "./crates/cli", default-features = false } diff --git a/crates/wit-bindgen-rust-macro/Cargo.toml b/crates/wit-bindgen-rust-macro/Cargo.toml index abbeec63..731cce26 100644 --- a/crates/wit-bindgen-rust-macro/Cargo.toml +++ b/crates/wit-bindgen-rust-macro/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wit-bindgen-wrpc-rust-macro" -version = "0.4.7" +version = "0.4.9" description = """ Procedural macro paired with the `wit-bindgen-wrpc` crate. """ diff --git a/crates/wit-bindgen-rust/Cargo.toml b/crates/wit-bindgen-rust/Cargo.toml index 0898dc20..35e51ed8 100644 --- a/crates/wit-bindgen-rust/Cargo.toml +++ b/crates/wit-bindgen-rust/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wit-bindgen-wrpc-rust" -version = "0.4.7" +version = "0.4.9" description = """ Rust bindings generator for wRPC, typically used through the `wit-bindgen-wrpc` crate's `generate!` macro. diff --git a/crates/wit-bindgen-rust/src/interface.rs b/crates/wit-bindgen-rust/src/interface.rs index 4cabced8..61c83522 100644 --- a/crates/wit-bindgen-rust/src/interface.rs +++ b/crates/wit-bindgen-rust/src/interface.rs @@ -143,7 +143,7 @@ pub fn serve_interface<'a, T: {wrpc_transport}::Serve, U>( wrpc: &'a T, handler: impl Handler + {resource_traits} ::core::marker::Send + ::core::marker::Sync + ::core::clone::Clone + 'static, shutdown: impl ::core::future::Future, -) -> impl ::core::future::Future> + wrpc_transport::Captures<'a> {{ +) -> impl ::core::future::Future> + {wrpc_transport}::Captures<'a> {{ async move {{ let ("#, anyhow = self.gen.anyhow_path(), diff --git a/crates/wit-bindgen/Cargo.toml b/crates/wit-bindgen/Cargo.toml index 657bc7c1..0e1453ee 100644 --- a/crates/wit-bindgen/Cargo.toml +++ b/crates/wit-bindgen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wit-bindgen-wrpc" -version = "0.4.7" +version = "0.4.9" description = """ Rust bindings generator for wRPC. """