blob: ecff7a09afd1f40ee0748b9b4cb877701419fd99 [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"
29])
30
31# Generated Targets
32
33# Unsupported target "benches" with type "bench" omitted
34
35rust_binary(
36 # Prefix bin name to disambiguate from (probable) collision with lib name
37 # N.B.: The exact form of this is subject to change.
38 name = "cargo_bin_gen_hash_test",
39 srcs = glob(["**/*.rs"]),
40 crate_features = [
41 ],
42 crate_root = "src/bin/gen_hash_test.rs",
43 data = [],
44 edition = "2018",
45 rustc_flags = [
46 "--cap-lints=allow",
47 ],
48 tags = [
49 "cargo-raze",
50 "manual",
51 ],
52 version = "0.8.0",
53 # buildifier: leave-alone
54 deps = [
55 ":phf_generator",
56 "@raze__phf_shared__0_8_0//:phf_shared",
57 "@raze__rand__0_7_3//:rand",
58 ],
59)
60
61rust_library(
62 name = "phf_generator",
63 srcs = glob(["**/*.rs"]),
64 crate_features = [
65 ],
66 crate_root = "src/lib.rs",
67 crate_type = "lib",
68 data = [],
69 edition = "2018",
70 rustc_flags = [
71 "--cap-lints=allow",
72 ],
73 tags = [
74 "cargo-raze",
75 "manual",
76 ],
77 version = "0.8.0",
78 # buildifier: leave-alone
79 deps = [
80 "@raze__phf_shared__0_8_0//:phf_shared",
81 "@raze__rand__0_7_3//:rand",
82 ],
83)