blob: 31f712276b3e74934a0352f3553069cb7b6bfb7b [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"
30])
31
32# Generated Targets
33
34# Unsupported target "benches" with type "bench" omitted
35
36rust_binary(
37 # Prefix bin name to disambiguate from (probable) collision with lib name
38 # N.B.: The exact form of this is subject to change.
39 name = "cargo_bin_gen_hash_test",
40 srcs = glob(["**/*.rs"]),
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020041 crate_root = "src/bin/gen_hash_test.rs",
42 data = [],
43 edition = "2018",
44 rustc_flags = [
45 "--cap-lints=allow",
46 ],
47 tags = [
48 "cargo-raze",
Leopold2aa8b182023-01-14 23:31:43 +010049 "crate-name=gen_hash_test",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020050 "manual",
51 ],
Leopold2aa8b182023-01-14 23:31:43 +010052 version = "0.10.0",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020053 # buildifier: leave-alone
54 deps = [
55 ":phf_generator",
Leopold2aa8b182023-01-14 23:31:43 +010056 "@raze__phf_shared__0_10_0//:phf_shared",
57 "@raze__rand__0_8_5//:rand",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020058 ],
59)
60
61rust_library(
62 name = "phf_generator",
63 srcs = glob(["**/*.rs"]),
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020064 crate_root = "src/lib.rs",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020065 data = [],
66 edition = "2018",
67 rustc_flags = [
68 "--cap-lints=allow",
69 ],
70 tags = [
71 "cargo-raze",
Leopold2aa8b182023-01-14 23:31:43 +010072 "crate-name=phf_generator",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020073 "manual",
74 ],
Leopold2aa8b182023-01-14 23:31:43 +010075 version = "0.10.0",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020076 # buildifier: leave-alone
77 deps = [
Leopold2aa8b182023-01-14 23:31:43 +010078 "@raze__phf_shared__0_10_0//:phf_shared",
79 "@raze__rand__0_8_5//:rand",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020080 ],
81)