Protocol Buffers - Google's data interchange format (grpc依赖) https://developers.google.com/protocol-buffers/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

31 lines
1.0 KiB

# Protobuf Rust crate packaging for release.
# Run the cargo test with only a bundled linux-x86_64 protoc.
sh_binary(
name = "cargo_test",
srcs = ["cargo_test.sh"],
data = [
"//:protoc",
"//rust/release_crates/protobuf:protobuf_crate",
"//rust/release_crates/protobuf_codegen:protobuf_codegen_crate",
"//rust/release_crates/protobuf_example:protobuf_example_crate",
"//rust/release_crates/protobuf_well_known_types:crate",
"//upb_generator/minitable:protoc-gen-upb_minitable",
],
tags = ["manual"],
deps = ["@bazel_tools//tools/bash/runfiles"],
)
sh_binary(
name = "release",
srcs = ["release.sh"],
data = [
"//:protoc",
"//rust/release_crates/protobuf:protobuf_crate",
"//rust/release_crates/protobuf_codegen:protobuf_codegen_crate",
"//rust/release_crates/protobuf_example:protobuf_example_crate",
"//upb_generator/minitable:protoc-gen-upb_minitable",
],
tags = ["manual"],
deps = ["@bazel_tools//tools/bash/runfiles"],
)