abrasion/third_party/cargo/vendor/num-rational-0.3.2/BUILD.bazel

87 lines
1.8 KiB
Python
Raw Normal View History

2020-01-18 23:27:25 +00:00
"""
2021-01-07 22:48:22 +00:00
@generated
2020-01-18 23:27:25 +00:00
cargo-raze crate build file.
DO NOT EDIT! Replaced on runs of cargo-raze
"""
2021-01-07 22:48:22 +00:00
# buildifier: disable=load
load("@bazel_skylib//lib:selects.bzl", "selects")
2021-01-07 22:48:22 +00:00
# buildifier: disable=load
load(
2021-03-21 22:26:42 +00:00
"@rules_rust//rust:rust.bzl",
2021-01-07 22:48:22 +00:00
"rust_binary",
"rust_library",
"rust_test",
)
2020-01-18 23:27:25 +00:00
package(default_visibility = [
2021-01-07 22:48:22 +00:00
# Public for visibility by "@raze__crate__version//" targets.
#
# Prefer access through "//third_party/cargo", which limits external
# visibility to explicit Cargo.toml dependencies.
"//visibility:public",
2020-01-18 23:27:25 +00:00
])
licenses([
2021-01-07 23:38:16 +00:00
"notice", # MIT from expression "MIT OR Apache-2.0"
2020-01-18 23:27:25 +00:00
])
2021-01-07 22:48:22 +00:00
# Generated Targets
# buildifier: disable=out-of-order-load
2021-01-07 22:48:22 +00:00
# buildifier: disable=load-on-top
2020-01-18 23:27:25 +00:00
load(
2021-03-21 22:26:42 +00:00
"@rules_rust//cargo:cargo_build_script.bzl",
2021-01-07 22:48:22 +00:00
"cargo_build_script",
2020-01-18 23:27:25 +00:00
)
2021-01-07 22:48:22 +00:00
cargo_build_script(
2021-01-07 23:38:16 +00:00
name = "num_rational_build_script",
2020-01-18 23:27:25 +00:00
srcs = glob(["**/*.rs"]),
2021-01-07 22:48:22 +00:00
build_script_env = {
},
crate_features = [
],
2020-01-18 23:27:25 +00:00
crate_root = "build.rs",
2021-01-07 22:48:22 +00:00
data = glob(["**"]),
2021-01-07 23:38:16 +00:00
edition = "2018",
2020-01-18 23:27:25 +00:00
rustc_flags = [
"--cap-lints=allow",
],
2021-01-07 22:48:22 +00:00
tags = [
"cargo-raze",
"manual",
2020-01-18 23:27:25 +00:00
],
2021-01-07 23:38:16 +00:00
version = "0.3.2",
2020-01-18 23:27:25 +00:00
visibility = ["//visibility:private"],
2021-01-07 22:48:22 +00:00
deps = [
2021-01-07 23:38:16 +00:00
"//third_party/cargo/vendor/autocfg-1.0.1:autocfg",
2020-01-18 23:27:25 +00:00
],
)
rust_library(
2021-01-07 23:38:16 +00:00
name = "num_rational",
2021-01-07 22:48:22 +00:00
srcs = glob(["**/*.rs"]),
crate_features = [
],
2020-01-18 23:27:25 +00:00
crate_root = "src/lib.rs",
crate_type = "lib",
2021-01-07 22:48:22 +00:00
data = [],
2021-01-07 23:38:16 +00:00
edition = "2018",
2020-01-18 23:27:25 +00:00
rustc_flags = [
"--cap-lints=allow",
],
2021-01-07 22:48:22 +00:00
tags = [
"cargo-raze",
"manual",
],
2021-01-07 23:38:16 +00:00
version = "0.3.2",
2021-01-07 22:48:22 +00:00
# buildifier: leave-alone
deps = [
2021-01-07 23:38:16 +00:00
"//third_party/cargo/vendor/num-integer-0.1.44:num_integer",
"//third_party/cargo/vendor/num-traits-0.2.14:num_traits",
":num_rational_build_script",
2020-01-18 23:27:25 +00:00
],
)