1###############################################################################
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 @//third-party: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 = "proc_macro2",
20    srcs = glob(["**/*.rs"]),
21    compile_data = glob(
22        include = ["**"],
23        exclude = [
24            "**/* *",
25            "BUILD",
26            "BUILD.bazel",
27            "WORKSPACE",
28            "WORKSPACE.bazel",
29        ],
30    ),
31    crate_features = [
32        "default",
33        "proc-macro",
34        "span-locations",
35    ],
36    crate_root = "src/lib.rs",
37    edition = "2018",
38    rustc_flags = ["--cap-lints=allow"],
39    tags = [
40        "cargo-bazel",
41        "crate-name=proc-macro2",
42        "manual",
43        "noclippy",
44        "norustfmt",
45    ],
46    version = "1.0.59",
47    deps = [
48        "@vendor__proc-macro2-1.0.59//:build_script_build",
49        "@vendor__unicode-ident-1.0.9//:unicode_ident",
50    ],
51)
52
53cargo_build_script(
54    name = "proc-macro2_build_script",
55    srcs = glob(["**/*.rs"]),
56    crate_features = [
57        "default",
58        "proc-macro",
59        "span-locations",
60    ],
61    crate_name = "build_script_build",
62    crate_root = "build.rs",
63    data = glob(
64        include = ["**"],
65        exclude = [
66            "**/* *",
67            "BUILD",
68            "BUILD.bazel",
69            "WORKSPACE",
70            "WORKSPACE.bazel",
71        ],
72    ),
73    edition = "2018",
74    rustc_flags = [
75        "--cap-lints=allow",
76    ],
77    tags = [
78        "cargo-bazel",
79        "crate-name=proc-macro2",
80        "manual",
81        "noclippy",
82        "norustfmt",
83    ],
84    version = "1.0.59",
85    visibility = ["//visibility:private"],
86)
87
88alias(
89    name = "build_script_build",
90    actual = "proc-macro2_build_script",
91    tags = ["manual"],
92)
93