chore(build): Refactor codegen traits (#302)
Signed-off-by: Lucio Franco <[email protected]>
This commit is contained in:
@@ -823,7 +823,7 @@ opposed to at build time, placing the resulting modules wherever we need them.
|
||||
|
||||
```rust
|
||||
fn main() {
|
||||
tonic_build::prost::configure()
|
||||
tonic_build::configure()
|
||||
.build_client(false)
|
||||
.out_dir("another_crate/src/pb")
|
||||
.compile(&["path/my_proto.proto"], &["path"])
|
||||
|
||||
Reference in New Issue
Block a user