blob: 7290f43299ec4602f924297b16934bb64af53bac [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
33# Unsupported target "generators" with type "bench" omitted
34
35# Unsupported target "misc" with type "bench" omitted
36
37# Unsupported target "seq" with type "bench" omitted
38
39# Unsupported target "weighted" with type "bench" omitted
40
41# Unsupported target "monte-carlo" with type "example" omitted
42
43# Unsupported target "monty-hall" with type "example" omitted
44
45rust_library(
46 name = "rand",
47 srcs = glob(["**/*.rs"]),
48 aliases = {
49 "@raze__getrandom__0_1_16//:getrandom": "getrandom_package",
50 },
51 crate_features = [
52 "alloc",
53 "default",
54 "getrandom",
55 "getrandom_package",
56 "libc",
57 "rand_pcg",
58 "small_rng",
59 "std",
60 ],
61 crate_root = "src/lib.rs",
62 crate_type = "lib",
63 data = [],
64 edition = "2018",
65 rustc_flags = [
66 "--cap-lints=allow",
67 ],
68 tags = [
69 "cargo-raze",
70 "manual",
71 ],
72 version = "0.7.3",
73 # buildifier: leave-alone
74 deps = [
75 "@raze__getrandom__0_1_16//:getrandom",
76 "@raze__rand_chacha__0_2_2//:rand_chacha",
77 "@raze__rand_core__0_5_1//:rand_core",
78 "@raze__rand_pcg__0_2_1//:rand_pcg",
79 ] + selects.with_or({
80 # cfg(unix)
81 (
82 "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
83 ): [
84 "@raze__libc__0_2_97//:libc",
85 ],
86 "//conditions:default": [],
87 }),
88)