Skip to content

Commit 9f20e33

Browse files
authored
fix: failing codegen for server streams (#88)
1 parent 1bdaea9 commit 9f20e33

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

examples/integration/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use std::io::Result;
22

33
fn main() -> Result<()> {
44
// Tell Cargo that if the given file changes, to rerun this build script.
5-
println!("cargo:rerun-if-changed=src/service/index.proto");
5+
println!("cargo:rerun-if-changed=src/service/book.proto");
66

77
let mut conf = prost_build::Config::new();
88
conf.service_generator(Box::new(dcl_rpc::codegen::RPCServiceGenerator::new()));

rpc/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "dcl-rpc"
3-
version = "2.3.3"
3+
version = "2.3.4"
44
edition = "2021"
55
description = "Decentraland RPC Implementation"
66
repository = "https://github.com/decentraland/rpc-rust"

rpc/src/codegen.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ impl RPCServiceGenerator {
398398
request = quote! { request };
399399
} else {
400400
service_stream = quote! {
401-
service.#method_name(context).await;
401+
service.#method_name(context).await
402402
};
403403
request = quote! { _request };
404404
};

0 commit comments

Comments
 (0)