We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9470d13 + 3c4ed13 commit 9ea607aCopy full SHA for 9ea607a
ttrpc-codegen/Cargo.toml
@@ -1,6 +1,6 @@
1
[package]
2
name = "ttrpc-codegen"
3
-version = "0.1.1"
+version = "0.1.2"
4
edition = "2018"
5
authors = ["The AntFin Kata Team <[email protected]>"]
6
license = "Apache-2.0"
ttrpc-codegen/src/lib.rs
@@ -20,7 +20,7 @@
20
//!
21
//!```
22
23
-use protobuf_codegen::Customize as ProtobufCustomize;
+pub use protobuf_codegen::Customize as ProtobufCustomize;
24
use std::collections::HashMap;
25
use std::error::Error;
26
use std::fmt;
@@ -123,6 +123,7 @@ impl Codegen {
123
.out_dir(&self.out_dir)
124
.inputs(&self.inputs)
125
.includes(&self.includes)
126
+ .customize(self.rust_protobuf_customize.clone())
127
.run()
128
.expect("Gen rust protobuf failed.");
129
}
0 commit comments