Skip to content

Commit

Permalink
Merge pull request #206 from Tim-Zhang/fix-incompatible-with-rust-1.52
Browse files Browse the repository at this point in the history
[0.5.x] Fix incompatible with rust 1.52 and release [email protected]
  • Loading branch information
teawater authored Jul 19, 2023
2 parents 9bef9c6 + 584a4ab commit 29560c8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ttrpc"
version = "0.5.5"
version = "0.5.6"
authors = ["The AntFin Kata Team <[email protected]>"]
edition = "2018"
license = "Apache-2.0"
Expand Down
3 changes: 2 additions & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ fn main() {
let path: PathBuf = [out_dir.clone(), "mod.rs".to_string()].iter().collect();
fs::write(path, "pub mod ttrpc;").unwrap();

#[allow(clippy::needless_borrow)]
protobuf_codegen_pure::Codegen::new()
.out_dir(out_dir)
.inputs(["src/ttrpc.proto"])
.inputs(&["src/ttrpc.proto"])
.include("src")
.run()
.expect("Codegen failed.");
Expand Down

0 comments on commit 29560c8

Please sign in to comment.