hyperboria/rules/rust/remote/BUILD.protobuf-codegen-2.20.0.bazel

107 lines
2.4 KiB
Plaintext
Raw Normal View History

"""
@generated
cargo-raze crate build file.
DO NOT EDIT! Replaced on runs of cargo-raze
"""
# buildifier: disable=load
load(
"@io_bazel_rules_rust//rust:rust.bzl",
"rust_binary",
"rust_library",
"rust_test",
)
# buildifier: disable=load
load("@bazel_skylib//lib:selects.bzl", "selects")
package(default_visibility = [
# Public for visibility by "@raze__crate__version//" targets.
#
# Prefer access through "//rules/rust", which limits external
# visibility to explicit Cargo.toml dependencies.
"//visibility:public",
])
licenses([
"notice", # MIT from expression "MIT"
])
# Generated Targets
rust_binary(
# Prefix bin name to disambiguate from (probable) collision with lib name
# N.B.: The exact form of this is subject to change.
name = "cargo_bin_protobuf_bin_gen_rust_do_not_use",
srcs = glob(["**/*.rs"]),
crate_features = [
],
crate_root = "src/bin/protobuf-bin-gen-rust-do-not-use.rs",
data = [],
edition = "2015",
rustc_flags = [
"--cap-lints=allow",
],
tags = [
"cargo-raze",
"manual",
],
version = "2.20.0",
# buildifier: leave-alone
deps = [
# Binaries get an implicit dependency on their crate's lib
":protobuf_codegen",
"@raze__protobuf__2_20_0//:protobuf",
],
)
rust_binary(
# Prefix bin name to disambiguate from (probable) collision with lib name
# N.B.: The exact form of this is subject to change.
name = "cargo_bin_protoc_gen_rust",
srcs = glob(["**/*.rs"]),
crate_features = [
],
crate_root = "src/bin/protoc-gen-rust.rs",
data = [],
edition = "2015",
rustc_flags = [
"--cap-lints=allow",
],
tags = [
"cargo-raze",
"manual",
],
version = "2.20.0",
# buildifier: leave-alone
deps = [
# Binaries get an implicit dependency on their crate's lib
":protobuf_codegen",
"@raze__protobuf__2_20_0//:protobuf",
],
)
rust_library(
name = "protobuf_codegen",
srcs = glob(["**/*.rs"]),
crate_features = [
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2015",
rustc_flags = [
"--cap-lints=allow",
],
tags = [
"cargo-raze",
"manual",
],
version = "2.20.0",
# buildifier: leave-alone
deps = [
"@raze__protobuf__2_20_0//:protobuf",
],
)