blob: bc8c1f3a99fbd7b0b91865ac9f6b3351400fce4c [file] [log] [blame]
Serge Bazanskicbf1fa92021-07-02 17:28:50 +02001"""
2@generated
3cargo-raze crate build file.
4
5DO NOT EDIT! Replaced on runs of cargo-raze
6"""
7
8# buildifier: disable=load
9load("@bazel_skylib//lib:selects.bzl", "selects")
10
11# buildifier: disable=load
12load(
13 "@rules_rust//rust:rust.bzl",
14 "rust_binary",
15 "rust_library",
16 "rust_test",
17)
18
19package(default_visibility = [
20 # Public for visibility by "@raze__crate__version//" targets.
21 #
22 # Prefer access through "//third_party/rust/cargo", which limits external
23 # visibility to explicit Cargo.toml dependencies.
24 "//visibility:public",
25])
26
27licenses([
28 "notice", # MIT from expression "MIT OR Apache-2.0"
29])
30
31# Generated Targets
32
33rust_library(
34 name = "rand",
35 srcs = glob(["**/*.rs"]),
36 aliases = {
37 },
38 crate_features = [
39 "alloc",
40 "default",
41 "getrandom",
42 "libc",
43 "rand_chacha",
44 "rand_hc",
45 "std",
46 "std_rng",
47 ],
48 crate_root = "src/lib.rs",
49 crate_type = "lib",
50 data = [],
51 edition = "2018",
52 rustc_flags = [
53 "--cap-lints=allow",
54 ],
55 tags = [
56 "cargo-raze",
57 "manual",
58 ],
59 version = "0.8.4",
60 # buildifier: leave-alone
61 deps = [
62 "@raze__rand_chacha__0_3_1//:rand_chacha",
63 "@raze__rand_core__0_6_3//:rand_core",
64 ] + selects.with_or({
65 # cfg(unix)
66 (
67 "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
68 ): [
69 "@raze__libc__0_2_97//:libc",
70 ],
71 "//conditions:default": [],
72 }),
73)