anki/cargo/remote/crc32fast-1.2.1.BUILD.bazel

90 lines
1.7 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 "//cargo", which limits external
# visibility to explicit Cargo.toml dependencies.
"//visibility:public",
])
licenses([
"notice", # MIT from expression "MIT OR Apache-2.0"
])
# Generated targets
# buildifier: disable=load-on-top
load(
"@io_bazel_rules_rust//cargo:cargo_build_script.bzl",
"cargo_build_script",
)
# buildifier: leave-alone
cargo_build_script(
name = "crc32fast_build_script",
srcs = glob(["**/*.rs"]),
crate_root = "build.rs",
edition = "2015",
deps = [
],
rustc_flags = [
"--cap-lints=allow",
],
crate_features = [
"default",
"std",
],
build_script_env = {
},
data = glob(["**"]),
tags = [
"cargo-raze",
"manual",
],
version = "1.2.1",
visibility = ["//visibility:private"],
)
# Unsupported target "bench" with type "bench" omitted
# buildifier: leave-alone
rust_library(
name = "crc32fast",
crate_type = "lib",
deps = [
":crc32fast_build_script",
"@raze__cfg_if__1_0_0//:cfg_if",
],
srcs = glob(["**/*.rs"]),
crate_root = "src/lib.rs",
edition = "2015",
rustc_flags = [
"--cap-lints=allow",
],
version = "1.2.1",
tags = [
"cargo-raze",
"manual",
],
crate_features = [
"default",
"std",
],
)