2021-01-04 09:35:31 +01:00
|
|
|
"""
|
|
|
|
@generated
|
|
|
|
cargo-raze crate build file.
|
|
|
|
|
|
|
|
DO NOT EDIT! Replaced on runs of cargo-raze
|
|
|
|
"""
|
|
|
|
|
2021-03-29 12:39:23 +02:00
|
|
|
# buildifier: disable=load
|
|
|
|
load("@bazel_skylib//lib:selects.bzl", "selects")
|
|
|
|
|
2021-01-04 09:35:31 +01:00
|
|
|
# buildifier: disable=load
|
|
|
|
load(
|
2021-03-29 12:39:23 +02:00
|
|
|
"@rules_rust//rust:rust.bzl",
|
2021-01-04 09:35:31 +01:00
|
|
|
"rust_binary",
|
|
|
|
"rust_library",
|
|
|
|
"rust_test",
|
|
|
|
)
|
|
|
|
|
|
|
|
package(default_visibility = [
|
|
|
|
# Public for visibility by "@raze__crate__version//" targets.
|
|
|
|
#
|
|
|
|
# Prefer access through "//rules/rust", which limits external
|
|
|
|
# visibility to explicit Cargo.toml dependencies.
|
|
|
|
"//visibility:public",
|
|
|
|
])
|
|
|
|
|
|
|
|
licenses([
|
2021-01-07 11:32:32 +01:00
|
|
|
"notice", # MIT from expression "MIT OR Apache-2.0"
|
2021-01-04 09:35:31 +01:00
|
|
|
])
|
|
|
|
|
|
|
|
# Generated Targets
|
|
|
|
|
|
|
|
rust_library(
|
2021-01-07 11:32:32 +01:00
|
|
|
name = "rand",
|
2021-01-04 09:35:31 +01:00
|
|
|
srcs = glob(["**/*.rs"]),
|
|
|
|
aliases = {
|
|
|
|
},
|
|
|
|
crate_features = [
|
2021-01-07 11:32:32 +01:00
|
|
|
"alloc",
|
2021-01-04 09:35:31 +01:00
|
|
|
"default",
|
2021-01-07 11:32:32 +01:00
|
|
|
"getrandom",
|
|
|
|
"libc",
|
|
|
|
"rand_chacha",
|
|
|
|
"rand_hc",
|
|
|
|
"std",
|
|
|
|
"std_rng",
|
2021-01-04 09:35:31 +01:00
|
|
|
],
|
|
|
|
crate_root = "src/lib.rs",
|
|
|
|
crate_type = "lib",
|
|
|
|
data = [],
|
|
|
|
edition = "2018",
|
|
|
|
rustc_flags = [
|
|
|
|
"--cap-lints=allow",
|
|
|
|
],
|
|
|
|
tags = [
|
|
|
|
"cargo-raze",
|
|
|
|
"manual",
|
|
|
|
],
|
2021-02-21 11:48:18 +01:00
|
|
|
version = "0.8.3",
|
2021-01-04 09:35:31 +01:00
|
|
|
# buildifier: leave-alone
|
|
|
|
deps = [
|
2021-01-07 11:32:32 +01:00
|
|
|
"@raze__rand_chacha__0_3_0//:rand_chacha",
|
2021-03-29 12:39:23 +02:00
|
|
|
"@raze__rand_core__0_6_2//:rand_core",
|
2021-01-04 09:35:31 +01:00
|
|
|
] + selects.with_or({
|
|
|
|
# cfg(unix)
|
|
|
|
(
|
2021-03-29 12:39:23 +02:00
|
|
|
"@rules_rust//rust/platform:x86_64-apple-darwin",
|
|
|
|
"@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
|
2021-01-04 09:35:31 +01:00
|
|
|
): [
|
2021-04-23 17:23:02 +02:00
|
|
|
"@raze__libc__0_2_93//:libc",
|
2021-01-04 09:35:31 +01:00
|
|
|
],
|
|
|
|
"//conditions:default": [],
|
|
|
|
}),
|
|
|
|
)
|