blob: a087c0201a45d281e57c9d65b61f220ee1b01438 [file] [log] [blame]
"""
@generated
cargo-raze crate build file.
DO NOT EDIT! Replaced on runs of cargo-raze
"""
# buildifier: disable=load
load("@bazel_skylib//lib:selects.bzl", "selects")
# buildifier: disable=load
load(
"@rules_rust//rust:defs.bzl",
"rust_binary",
"rust_library",
"rust_proc_macro",
"rust_test",
)
package(default_visibility = [
# Public for visibility by "@raze__crate__version//" targets.
#
# Prefer access through "//proto/raze", 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",
"crate-name=protobuf-bin-gen-rust-do-not-use",
"manual",
],
version = "2.8.2",
# buildifier: leave-alone
deps = [
":protobuf_codegen",
"@rules_rust_proto__protobuf__2_8_2//: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",
"crate-name=protoc-gen-rust",
"manual",
],
version = "2.8.2",
# buildifier: leave-alone
deps = [
":protobuf_codegen",
"@rules_rust_proto__protobuf__2_8_2//:protobuf",
],
)
rust_library(
name = "protobuf_codegen",
srcs = glob(["**/*.rs"]),
crate_features = [
],
crate_root = "src/lib.rs",
data = [],
edition = "2015",
rustc_flags = [
"--cap-lints=allow",
],
tags = [
"cargo-raze",
"crate-name=protobuf-codegen",
"manual",
],
version = "2.8.2",
# buildifier: leave-alone
deps = [
"@rules_rust_proto__protobuf__2_8_2//:protobuf",
],
)