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.
28 lines
526 B
28 lines
526 B
2 years ago
|
# This package contains Rust protobuf runtime implementation built on top of UPB.
|
||
|
|
||
|
load("@rules_rust//rust:defs.bzl", "rust_library", "rust_test")
|
||
|
|
||
|
rust_library(
|
||
|
name = "upb",
|
||
|
srcs = ["upb.rs"],
|
||
|
visibility = ["//src/google/protobuf:__subpackages__"],
|
||
|
deps = [":upb_c_api"],
|
||
|
)
|
||
|
|
||
|
rust_test(
|
||
|
name = "upb_test",
|
||
|
crate = ":upb",
|
||
|
tags = [
|
||
|
"not_build:arm",
|
||
|
"notsan",
|
||
|
],
|
||
|
)
|
||
|
|
||
|
cc_library(
|
||
|
name = "upb_c_api",
|
||
|
srcs = ["upb_api.c"],
|
||
|
deps = [
|
||
|
"//third_party/upb",
|
||
|
],
|
||
|
)
|