anki/cargo/remote/miniz_oxide-0.4.3.BUILD.bazel

86 lines
1.7 KiB
Plaintext
Raw Normal View History

"""
@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 (Zlib 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 = "miniz_oxide_build_script",
srcs = glob(["**/*.rs"]),
crate_root = "build.rs",
edition = "2018",
deps = [
"@raze__autocfg__1_0_1//:autocfg",
],
rustc_flags = [
"--cap-lints=allow",
],
crate_features = [
],
build_script_env = {
},
data = glob(["**"]),
tags = [
"cargo-raze",
"manual",
],
version = "0.4.3",
visibility = ["//visibility:private"],
)
# buildifier: leave-alone
rust_library(
name = "miniz_oxide",
crate_type = "lib",
deps = [
":miniz_oxide_build_script",
"@raze__adler__0_2_3//:adler",
],
srcs = glob(["**/*.rs"]),
crate_root = "src/lib.rs",
edition = "2018",
rustc_flags = [
"--cap-lints=allow",
],
version = "0.4.3",
tags = [
"cargo-raze",
"manual",
],
crate_features = [
],
)