blob: 3561759b84c43f3743eac0d503f21b9ef97a5b19 [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 //wasm_bindgen/3rdparty:crates_vendor
###############################################################################
load(
"@bazel_skylib//lib:selects.bzl",
"selects",
)
# 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 OR Apache-2.0
# ])
rust_library(
name = "rand",
srcs = glob(
include = [
"**/*.rs",
],
exclude = [
],
),
aliases = selects.with_or({
"//conditions:default": {
},
}),
compile_data = glob(
include = ["**"],
exclude = [
"BUILD",
"BUILD.bazel",
"WORKSPACE",
"WORKSPACE.bazel",
],
) + select_with_or({
"//conditions:default": [
],
}),
crate_features = [
"alloc",
"default",
"getrandom",
"libc",
"rand_chacha",
"std",
"std_rng",
],
crate_root = "src/lib.rs",
data = select_with_or({
"//conditions:default": [
],
}),
edition = "2018",
proc_macro_deps = [
] + select_with_or({
"//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.8.5",
deps = [
] + select_with_or({
# cfg(unix)
(
"@rules_rust//rust/platform:aarch64-apple-darwin",
"@rules_rust//rust/platform:aarch64-apple-ios",
"@rules_rust//rust/platform:aarch64-apple-ios-sim",
"@rules_rust//rust/platform:aarch64-linux-android",
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
"@rules_rust//rust/platform:arm-unknown-linux-gnueabi",
"@rules_rust//rust/platform:armv7-linux-androideabi",
"@rules_rust//rust/platform:armv7-unknown-linux-gnueabi",
"@rules_rust//rust/platform:i686-apple-darwin",
"@rules_rust//rust/platform:i686-linux-android",
"@rules_rust//rust/platform:i686-unknown-freebsd",
"@rules_rust//rust/platform:i686-unknown-linux-gnu",
"@rules_rust//rust/platform:powerpc-unknown-linux-gnu",
"@rules_rust//rust/platform:s390x-unknown-linux-gnu",
"@rules_rust//rust/platform:x86_64-apple-darwin",
"@rules_rust//rust/platform:x86_64-apple-ios",
"@rules_rust//rust/platform:x86_64-linux-android",
"@rules_rust//rust/platform:x86_64-unknown-freebsd",
"@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
): [
# Target Deps
"@rules_rust_wasm_bindgen__libc-0.2.133//:libc",
# Common Deps
"@rules_rust_wasm_bindgen__rand_chacha-0.3.1//:rand_chacha",
"@rules_rust_wasm_bindgen__rand_core-0.6.4//:rand_core",
],
"//conditions:default": [
"@rules_rust_wasm_bindgen__rand_chacha-0.3.1//:rand_chacha",
"@rules_rust_wasm_bindgen__rand_core-0.6.4//:rand_core",
],
}),
)