mirror of
https://github.com/nexus-stc/hyperboria
synced 2024-12-21 00:57:45 +01:00
16a151ae19
GitOrigin-RevId: 55a38effd769ab15a3e0893cac84754ffb1de5a0
25 lines
618 B
Python
25 lines
618 B
Python
load("@com_github_grpc_grpc//bazel:python_rules.bzl", "py_proto_library")
|
|
load("@rules_rust//proto:proto.bzl", "rust_proto_library")
|
|
load("@rules_proto//proto:defs.bzl", "proto_library")
|
|
|
|
proto_library(
|
|
name = "models_proto",
|
|
srcs = glob([
|
|
"*.proto",
|
|
]),
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
py_proto_library(
|
|
name = "models_proto_py",
|
|
visibility = ["//visibility:public"],
|
|
deps = [":models_proto"],
|
|
)
|
|
|
|
rust_proto_library(
|
|
name = "models_proto_rust",
|
|
rust_deps = ["//rules/rust/cargo:protobuf"],
|
|
visibility = ["//visibility:public"],
|
|
deps = [":models_proto"],
|
|
)
|