Skip to content

Commit

Permalink
Build with a vendored protoc (#221)
Browse files Browse the repository at this point in the history
  • Loading branch information
simoncozens authored Feb 7, 2025
1 parent 47beb29 commit 1ac428a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ serde_json = "1.0"
prost-build = "0.13"
protobuf-support = "3.7.1"
protobuf = "3.7.1"
protoc-bin-vendored = "3.1.0"
protobuf-parse = "3.7.1"
glob = "0"
prettyplease = "0.2"
Expand Down
1 change: 1 addition & 0 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ fn main() {
// Now we use the prost crate to compile them, so that we can
// generate Rust structs.
let mut config = prost_build::Config::new();
config.protoc_executable(protoc_bin_vendored::protoc_bin_path().unwrap());
// config.boxed(".google.languages_public.LanguageProto.sample_text");
// config.boxed(".google.languages_public.LanguageProto.exemplar_chars");

Expand Down

0 comments on commit 1ac428a

Please sign in to comment.