blob: 0b9594b2e8bcce9e437b41cf812b49e1a5a95035 [file] [log] [blame]
# This package contains Rust protobuf runtime implementation built on top of the C++ backend.
load("@rules_rust//rust:defs.bzl", "rust_library")
cc_library(
name = "cpp_api",
hdrs = ["cpp_api.h"],
visibility = [
"//src/google/protobuf:__subpackages__",
"//rust:__subpackages__",
],
deps = [
":rust_alloc_for_cpp_api",
"//src/google/protobuf",
],
)
rust_library(
name = "rust_alloc_for_cpp_api",
srcs = ["rust_alloc_for_cpp_api.rs"],
visibility = [
"//rust:__subpackages__",
],
)