blob: 29ce18eb5f0cde5cec3523bc7fdb421715d74c40 [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", # MIT from expression "MIT OR Apache-2.0"
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 = "serde_derive_build_script",
42 srcs = glob(["**/*.rs"]),
43 build_script_env = {
44 },
45 crate_features = [
46 "default",
47 ],
48 crate_root = "build.rs",
49 data = glob(["**"]),
50 edition = "2015",
51 rustc_flags = [
52 "--cap-lints=allow",
53 ],
54 tags = [
55 "cargo-raze",
56 "manual",
57 ],
Brian Silverman6d3374a2022-07-13 20:10:47 -070058 version = "1.0.139",
Brian Silverman547eda02022-05-19 23:14:08 -070059 visibility = ["//visibility:private"],
60 deps = [
61 ],
62)
63
64rust_proc_macro(
65 name = "serde_derive",
66 srcs = glob(["**/*.rs"]),
67 crate_features = [
68 "default",
69 ],
70 crate_root = "src/lib.rs",
71 data = [],
72 edition = "2015",
73 rustc_flags = [
74 "--cap-lints=allow",
75 ],
76 tags = [
77 "cargo-raze",
78 "crate-name=serde_derive",
79 "manual",
80 ],
Brian Silverman6d3374a2022-07-13 20:10:47 -070081 version = "1.0.139",
Brian Silverman547eda02022-05-19 23:14:08 -070082 # buildifier: leave-alone
83 deps = [
84 ":serde_derive_build_script",
Brian Silverman6d3374a2022-07-13 20:10:47 -070085 "@raze__proc_macro2__1_0_40//:proc_macro2",
86 "@raze__quote__1_0_20//:quote",
87 "@raze__syn__1_0_98//:syn",
Brian Silverman547eda02022-05-19 23:14:08 -070088 ],
89)