blob: a32d459b58f54bb73de31e3ae2a6c893cac1dbdb [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 @//crate_universe/3rdparty:crates_vendor
###############################################################################
load(
"@rules_rust//cargo:defs.bzl",
"cargo_build_script",
)
# buildifier: disable=bzl-visibility
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
load(
"@rules_rust//rust:defs.bzl",
"rust_library",
)
package(default_visibility = ["//visibility:public"])
# licenses([
# "TODO", # MIT
# ])
rust_library(
name = "generic_array",
srcs = glob(
include = [
"**/*.rs",
],
exclude = [
],
),
aliases = select({
"//conditions:default": {
},
}),
compile_data = glob(
include = ["**"],
exclude = [
"**/* *",
"BUILD.bazel",
"BUILD",
"WORKSPACE.bazel",
"WORKSPACE",
],
) + select_with_or({
"//conditions:default": [
],
}),
crate_features = [
"more_lengths",
],
crate_root = "src/lib.rs",
data = select_with_or({
"//conditions:default": [
],
}),
edition = "2015",
proc_macro_deps = [
] + select({
"//conditions:default": [
],
}),
rustc_env = {
},
rustc_env_files = select_with_or({
"//conditions:default": [
],
}),
rustc_flags = [
# In most cases, warnings in 3rd party crates are not interesting as
# they're out of the control of consumers. The flag here silences
# warnings. For more details see:
# https://doc.rust-lang.org/rustc/lints/levels.html
"--cap-lints=allow",
],
tags = [
"cargo-bazel",
"manual",
"noclippy",
"norustfmt",
],
version = "0.14.6",
deps = [
] + select({
"//conditions:default": [
"@cui__generic-array-0.14.6//:build_script_build",
"@cui__typenum-1.16.0//:typenum",
],
}),
)
cargo_build_script(
# See comment associated with alias. Do not change this name
name = "generic-array_build_script",
srcs = glob(
include = [
"**/*.rs",
],
exclude = [
],
),
aliases = select({
"//conditions:default": {
},
}),
build_script_env = {
},
compile_data = select_with_or({
"//conditions:default": [
],
}),
crate_features = [
"more_lengths",
],
crate_name = "build_script_build",
crate_root = "build.rs",
data = glob(
include = ["**"],
exclude = [
"**/* *",
"BUILD.bazel",
"BUILD",
"WORKSPACE.bazel",
"WORKSPACE",
],
) + select_with_or({
"//conditions:default": [
],
}),
edition = "2015",
proc_macro_deps = [
] + select({
"//conditions:default": [
],
}),
rustc_env = {
},
rustc_env_files = select_with_or({
"//conditions:default": [
],
}),
rustc_flags = [
# In most cases, warnings in 3rd party crates are not interesting as
# they're out of the control of consumers. The flag here silences
# warnings. For more details see:
# https://doc.rust-lang.org/rustc/lints/levels.html
"--cap-lints=allow",
],
tags = [
"cargo-bazel",
"manual",
"noclippy",
"norustfmt",
],
tools = select_with_or({
"//conditions:default": [
],
}),
version = "0.14.6",
visibility = ["//visibility:private"],
deps = [
] + select({
"//conditions:default": [
"@cui__version_check-0.9.4//:version_check",
],
}),
)
alias(
# Because `cargo_build_script` does some invisible target name mutating to
# determine the package and crate name for a build script, the Bazel
# target name of any build script cannot be the Cargo canonical name
# of `cargo_build_script` (rule) without losing out on having certain
# Cargo environment variables set.
name = "build_script_build",
actual = "generic-array_build_script",
tags = [
"manual",
],
)