Skip to content

Commit

Permalink
chore(test): Use compile_protos instead of providing default config
Browse files Browse the repository at this point in the history
  • Loading branch information
tottoto committed Sep 4, 2024
1 parent c16ec31 commit f326753
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/skip_debug/build.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
fn main() {
let config = prost_build::Config::default();
tonic_build::configure()
.skip_debug("test.Test")
.skip_debug("test.Output")
.build_client(true)
.build_server(true)
.compile_protos_with_config(config, &["proto/test.proto"], &["proto"])
.compile_protos(&["proto/test.proto"], &["proto"])
.unwrap();
}

0 comments on commit f326753

Please sign in to comment.