blob: 843826158363d89229ab4458deff2e0ba91c789d [file] [log] [blame]
Adam Snaider1c095c92023-07-08 02:09:58 -04001###############################################################################
2# @generated
3# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
4# regenerate this file, run the following:
5#
6# bazel run @//tools/rust_analyzer/3rdparty:crates_vendor
7###############################################################################
8
9load("@rules_rust//cargo:defs.bzl", "cargo_build_script")
10load("@rules_rust//rust:defs.bzl", "rust_library")
11
12package(default_visibility = ["//visibility:public"])
13
14# licenses([
15# "TODO", # MIT OR Apache-2.0
16# ])
17
18rust_library(
19 name = "serde",
20 srcs = glob(["**/*.rs"]),
21 compile_data = glob(
22 include = ["**"],
23 exclude = [
24 "**/* *",
25 ".tmp_git_root/**/*",
26 "BUILD",
27 "BUILD.bazel",
28 "WORKSPACE",
29 "WORKSPACE.bazel",
30 ],
31 ),
32 crate_features = [
33 "default",
34 "derive",
35 "serde_derive",
36 "std",
37 ],
38 crate_root = "src/lib.rs",
39 edition = "2015",
40 proc_macro_deps = [
41 "@rules_rust_rust_analyzer__serde_derive-1.0.152//:serde_derive",
42 ],
43 rustc_flags = ["--cap-lints=allow"],
44 tags = [
45 "cargo-bazel",
46 "crate-name=serde",
47 "manual",
48 "noclippy",
49 "norustfmt",
50 ],
51 target_compatible_with = select({
52 "@rules_rust//rust/platform:aarch64-apple-darwin": [],
53 "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
54 "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
55 "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
56 "@rules_rust//rust/platform:armv7-linux-androideabi": [],
57 "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
58 "@rules_rust//rust/platform:i686-apple-darwin": [],
59 "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
60 "@rules_rust//rust/platform:i686-unknown-freebsd": [],
61 "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
62 "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
63 "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
64 "@rules_rust//rust/platform:x86_64-apple-darwin": [],
65 "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
66 "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
67 "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
68 "//conditions:default": ["@platforms//:incompatible"],
69 }),
70 version = "1.0.152",
71 deps = [
72 "@rules_rust_rust_analyzer__serde-1.0.152//:build_script_build",
73 ],
74)
75
76cargo_build_script(
77 name = "serde_build_script",
78 srcs = glob(["**/*.rs"]),
79 crate_features = [
80 "default",
81 "derive",
82 "serde_derive",
83 "std",
84 ],
85 crate_name = "build_script_build",
86 crate_root = "build.rs",
87 data = glob(
88 include = ["**"],
89 exclude = [
90 "**/* *",
91 ".tmp_git_root/**/*",
92 "BUILD",
93 "BUILD.bazel",
94 "WORKSPACE",
95 "WORKSPACE.bazel",
96 ],
97 ),
98 edition = "2015",
99 rustc_flags = [
100 "--cap-lints=allow",
101 ],
102 tags = [
103 "cargo-bazel",
104 "crate-name=serde",
105 "manual",
106 "noclippy",
107 "norustfmt",
108 ],
109 version = "1.0.152",
110 visibility = ["//visibility:private"],
111)
112
113alias(
114 name = "build_script_build",
115 actual = "serde_build_script",
116 tags = ["manual"],
117)