blob: 1c0fb92a173d897cf4cbf9561d42ca24703ea186 [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([
29 "notice", # Apache-2.0 from expression "Apache-2.0 OR MIT"
30])
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(
41 name = "indexmap_build_script",
42 srcs = glob(["**/*.rs"]),
43 build_script_env = {
44 },
45 crate_features = [
46 "serde",
47 "std",
48 ],
49 crate_root = "build.rs",
50 data = glob(["**"]),
Brian Silverman6d3374a2022-07-13 20:10:47 -070051 edition = "2021",
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 = "1.9.2",
Brian Silverman547eda02022-05-19 23:14:08 -070060 visibility = ["//visibility:private"],
61 deps = [
62 "@raze__autocfg__1_1_0//:autocfg",
63 ],
64)
65
66# Unsupported target "bench" with type "bench" omitted
67
68# Unsupported target "faststring" with type "bench" omitted
69
70rust_library(
71 name = "indexmap",
72 srcs = glob(["**/*.rs"]),
73 crate_features = [
74 "serde",
75 "std",
76 ],
77 crate_root = "src/lib.rs",
78 data = [],
Brian Silverman6d3374a2022-07-13 20:10:47 -070079 edition = "2021",
Brian Silverman547eda02022-05-19 23:14:08 -070080 rustc_flags = [
81 "--cap-lints=allow",
82 ],
83 tags = [
84 "cargo-raze",
85 "crate-name=indexmap",
86 "manual",
87 ],
Brian Silvermana7ba2512022-12-19 19:13:52 -080088 version = "1.9.2",
Brian Silverman547eda02022-05-19 23:14:08 -070089 # buildifier: leave-alone
90 deps = [
91 ":indexmap_build_script",
Brian Silvermana7ba2512022-12-19 19:13:52 -080092 "@raze__hashbrown__0_12_3//:hashbrown",
93 "@raze__serde__1_0_151//:serde",
Brian Silverman547eda02022-05-19 23:14:08 -070094 ],
95)
96
97# Unsupported target "equivalent_trait" with type "test" omitted
98
99# Unsupported target "macros_full_path" with type "test" omitted
100
101# Unsupported target "quick" with type "test" omitted
102
103# Unsupported target "tests" with type "test" omitted