blob: be728599f8431d5ee2d0ffcf58dd7665f9331c02 [file] [log] [blame]
###############################################################################
# @generated
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
# regenerate this file, run the following:
#
# bazel run @//proto/3rdparty:crates_vendor
###############################################################################
load("@rules_rust//cargo:defs.bzl", "cargo_build_script")
load(
"@rules_rust//rust:defs.bzl",
"rust_library",
)
package(default_visibility = ["//visibility:public"])
# licenses([
# "TODO", # MIT
# ])
rust_library(
name = "protobuf",
srcs = glob(["**/*.rs"]),
compile_data = glob(
include = ["**"],
exclude = [
"**/* *",
"BUILD",
"BUILD.bazel",
"WORKSPACE",
"WORKSPACE.bazel",
],
),
crate_features = [
"bytes",
"with-bytes",
],
crate_root = "src/lib.rs",
edition = "2015",
rustc_flags = ["--cap-lints=allow"],
tags = [
"cargo-bazel",
"manual",
"noclippy",
"norustfmt",
],
version = "2.8.2",
deps = [
"@rules_rust_proto__bytes-0.4.12//:bytes",
"@rules_rust_proto__protobuf-2.8.2//:build_script_build",
],
)
cargo_build_script(
name = "protobuf_build_script",
srcs = glob(["**/*.rs"]),
crate_features = [
"bytes",
"with-bytes",
],
crate_name = "build_script_build",
crate_root = "build.rs",
data = glob(
include = ["**"],
exclude = [
"**/* *",
"BUILD",
"BUILD.bazel",
"WORKSPACE",
"WORKSPACE.bazel",
],
),
edition = "2015",
rustc_flags = [
"--cap-lints=allow",
],
tags = [
"cargo-bazel",
"manual",
"noclippy",
"norustfmt",
],
version = "2.8.2",
visibility = ["//visibility:private"],
)
alias(
name = "build_script_build",
actual = "protobuf_build_script",
tags = ["manual"],
)