blob: ef578462fa7dc01a84b191c373958dd9de280999 [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", # 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 = [
Leopold2aa8b182023-01-14 23:31:43 +010046 "std",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020047 ],
48 crate_root = "build.rs",
49 data = glob(["**"]),
Leopold2aa8b182023-01-14 23:31:43 +010050 edition = "2021",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020051 rustc_flags = [
52 "--cap-lints=allow",
53 ],
54 tags = [
55 "cargo-raze",
56 "manual",
57 ],
Leopold2aa8b182023-01-14 23:31:43 +010058 version = "1.9.2",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020059 visibility = ["//visibility:private"],
60 deps = [
Leopold2aa8b182023-01-14 23:31:43 +010061 "@raze__autocfg__1_1_0//:autocfg",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020062 ],
63)
64
65# Unsupported target "bench" with type "bench" omitted
66
67# Unsupported target "faststring" with type "bench" omitted
68
69rust_library(
70 name = "indexmap",
71 srcs = glob(["**/*.rs"]),
72 crate_features = [
Leopold2aa8b182023-01-14 23:31:43 +010073 "std",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020074 ],
75 crate_root = "src/lib.rs",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020076 data = [],
Leopold2aa8b182023-01-14 23:31:43 +010077 edition = "2021",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020078 rustc_flags = [
79 "--cap-lints=allow",
80 ],
81 tags = [
82 "cargo-raze",
Leopold2aa8b182023-01-14 23:31:43 +010083 "crate-name=indexmap",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020084 "manual",
85 ],
Leopold2aa8b182023-01-14 23:31:43 +010086 version = "1.9.2",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020087 # buildifier: leave-alone
88 deps = [
89 ":indexmap_build_script",
Leopold2aa8b182023-01-14 23:31:43 +010090 "@raze__hashbrown__0_12_3//:hashbrown",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020091 ],
92)
93
94# Unsupported target "equivalent_trait" with type "test" omitted
95
96# Unsupported target "macros_full_path" with type "test" omitted
97
98# Unsupported target "quick" with type "test" omitted
99
100# Unsupported target "tests" with type "test" omitted