blob: a7b3b087a2357b861baf7a1d7e19325074cdee0f [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(
Leopold2aa8b182023-01-14 23:31:43 +010013 "@rules_rust//rust:defs.bzl",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020014 "rust_binary",
15 "rust_library",
Leopold2aa8b182023-01-14 23:31:43 +010016 "rust_proc_macro",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020017 "rust_test",
18)
19
20package(default_visibility = [
21 # Public for visibility by "@raze__crate__version//" targets.
22 #
23 # Prefer access through "//third_party/rust/cargo", which limits external
24 # visibility to explicit Cargo.toml dependencies.
25 "//visibility:public",
26])
27
28licenses([
29 "notice", # MIT from expression "MIT OR Apache-2.0"
30])
31
32# Generated Targets
33
34rust_library(
35 name = "rand",
36 srcs = glob(["**/*.rs"]),
37 aliases = {
38 },
39 crate_features = [
40 "alloc",
41 "default",
42 "getrandom",
43 "libc",
44 "rand_chacha",
Leopold2aa8b182023-01-14 23:31:43 +010045 "small_rng",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020046 "std",
47 "std_rng",
48 ],
49 crate_root = "src/lib.rs",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020050 data = [],
51 edition = "2018",
52 rustc_flags = [
53 "--cap-lints=allow",
54 ],
55 tags = [
56 "cargo-raze",
Leopold2aa8b182023-01-14 23:31:43 +010057 "crate-name=rand",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020058 "manual",
59 ],
Leopold2aa8b182023-01-14 23:31:43 +010060 version = "0.8.5",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020061 # buildifier: leave-alone
62 deps = [
63 "@raze__rand_chacha__0_3_1//:rand_chacha",
Leopold2aa8b182023-01-14 23:31:43 +010064 "@raze__rand_core__0_6_4//:rand_core",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020065 ] + selects.with_or({
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020066 (
67 "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
68 ): [
Leopold2aa8b182023-01-14 23:31:43 +010069 "@raze__libc__0_2_139//:libc",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020070 ],
71 "//conditions:default": [],
72 }),
73)