blob: 1fb0aa312f9361ec94fd7727d2e67d72b4436e7b [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(
"@rules_rust//rust:defs.bzl",
"rust_library",
)
package(default_visibility = ["//visibility:public"])
# licenses([
# "TODO", # Apache-2.0 OR MIT
# ])
rust_library(
name = "fastrand",
srcs = glob(["**/*.rs"]),
compile_data = glob(
include = ["**"],
exclude = [
"**/* *",
"BUILD",
"BUILD.bazel",
"WORKSPACE",
"WORKSPACE.bazel",
],
),
crate_root = "src/lib.rs",
edition = "2018",
rustc_flags = ["--cap-lints=allow"],
tags = [
"cargo-bazel",
"manual",
"noclippy",
"norustfmt",
],
version = "1.8.0",
deps = select({
"@rules_rust//rust/platform:wasm32-unknown-unknown": [
"@rules_rust_wasm_bindgen__instant-0.1.12//:instant", # cfg(target_arch = "wasm32")
],
"@rules_rust//rust/platform:wasm32-wasi": [
"@rules_rust_wasm_bindgen__instant-0.1.12//:instant", # cfg(target_arch = "wasm32")
],
"//conditions:default": [],
}),
)