hyperboria/rules/rust/remote/BUILD.protobuf-codegen-2.20.0.bazel
the-superpirate 9580401bc9 - Instrumentize images with tcmalloc
-  Updated tantipy version

GitOrigin-RevId: 11e96ee1b3d5ffa67c8caf87be9e41e3a297ed70
2021-01-07 14:04:54 +03:00

107 lines
2.4 KiB
Plaintext

"""
@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",
],
)