Closed liufuyang closed 17 hours ago
Because this is a bit of a special case, where you're generating inside the google
package, it's assuming that protobuf
will also be in that crate. Have you tried adding an extern_path
directive to the serde
invocation, like you have for Tonic and Prost?
oh thanks, well, that seems does the trick, thanks a lot :)
I have this example repo here for repeat https://github.com/liufuyang/rust-buf-bigtable-test
Basically, the generation works, but when cargo build, it gives error:
There seems to be a
pbjson_types::NullValue
available, but the generated code could not use it?Thanks.