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 c69de35 + 1c7bb38 commit 9fcf2acCopy full SHA for 9fcf2ac
README.md
@@ -44,6 +44,7 @@ fn main() {
44
}
45
46
prost_build::Config::new()
47
+ .type_attribute(".", "#[derive(serde::Serialize, serde::Deserialize)]") // enable support for JSON encoding
48
.service_generator(twirp_build::service_generator())
49
.compile_protos(&proto_source_files, &["./"])
50
.expect("error compiling protos");
0 commit comments