blob: 506e6fcb76ae6c8116b0848093cbe747f3f358ac [file] [log] [blame]
Brian Silverman547eda02022-05-19 23:14:08 -07001"""
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:defs.bzl",
14 "rust_binary",
15 "rust_library",
16 "rust_proc_macro",
17 "rust_test",
18)
19
20package(default_visibility = [
21 # Public for visibility by "@raze__crate__version//" targets.
22 #
23 # Prefer access through "//third_party/cargo", which limits external
24 # visibility to explicit Cargo.toml dependencies.
25 "//visibility:public",
26])
27
28licenses([
Brian Silvermana7ba2512022-12-19 19:13:52 -080029 "notice", # MIT from expression "MIT"
Brian Silverman547eda02022-05-19 23:14:08 -070030])
31
32# Generated Targets
33# buildifier: disable=out-of-order-load
34# buildifier: disable=load-on-top
35load(
36 "@rules_rust//cargo:cargo_build_script.bzl",
37 "cargo_build_script",
38)
39
40cargo_build_script(
Brian Silvermana7ba2512022-12-19 19:13:52 -080041 name = "slab_build_script",
Brian Silverman547eda02022-05-19 23:14:08 -070042 srcs = glob(["**/*.rs"]),
43 build_script_env = {
44 },
45 crate_features = [
46 "default",
Brian Silvermana7ba2512022-12-19 19:13:52 -080047 "std",
Brian Silverman547eda02022-05-19 23:14:08 -070048 ],
49 crate_root = "build.rs",
50 data = glob(["**"]),
51 edition = "2018",
Brian Silverman547eda02022-05-19 23:14:08 -070052 rustc_flags = [
53 "--cap-lints=allow",
54 ],
55 tags = [
56 "cargo-raze",
57 "manual",
58 ],
Brian Silvermana7ba2512022-12-19 19:13:52 -080059 version = "0.4.7",
Brian Silverman547eda02022-05-19 23:14:08 -070060 visibility = ["//visibility:private"],
61 deps = [
Brian Silvermana7ba2512022-12-19 19:13:52 -080062 "@raze__autocfg__1_1_0//:autocfg",
Brian Silverman547eda02022-05-19 23:14:08 -070063 ],
64)
65
66rust_library(
Brian Silvermana7ba2512022-12-19 19:13:52 -080067 name = "slab",
Brian Silverman547eda02022-05-19 23:14:08 -070068 srcs = glob(["**/*.rs"]),
69 crate_features = [
70 "default",
Brian Silvermana7ba2512022-12-19 19:13:52 -080071 "std",
Brian Silverman547eda02022-05-19 23:14:08 -070072 ],
73 crate_root = "src/lib.rs",
74 data = [],
75 edition = "2018",
76 rustc_flags = [
77 "--cap-lints=allow",
78 ],
79 tags = [
80 "cargo-raze",
Brian Silvermana7ba2512022-12-19 19:13:52 -080081 "crate-name=slab",
Brian Silverman547eda02022-05-19 23:14:08 -070082 "manual",
83 ],
Brian Silvermana7ba2512022-12-19 19:13:52 -080084 version = "0.4.7",
Brian Silverman547eda02022-05-19 23:14:08 -070085 # buildifier: leave-alone
86 deps = [
Brian Silvermana7ba2512022-12-19 19:13:52 -080087 ":slab_build_script",
Brian Silverman547eda02022-05-19 23:14:08 -070088 ],
89)
Brian Silvermana7ba2512022-12-19 19:13:52 -080090
91# Unsupported target "serde" with type "test" omitted
92
93# Unsupported target "slab" with type "test" omitted