• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 = "syn",
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        "clone-impls",
33        "default",
34        "derive",
35        "full",
36        "parsing",
37        "printing",
38        "proc-macro",
39        "quote",
40    ],
41    crate_root = "src/lib.rs",
42    edition = "2018",
43    rustc_flags = ["--cap-lints=allow"],
44    tags = [
45        "cargo-bazel",
46        "crate-name=syn",
47        "manual",
48        "noclippy",
49        "norustfmt",
50    ],
51    version = "1.0.107",
52    deps = [
53        "@vendor__proc-macro2-1.0.51//:proc_macro2",
54        "@vendor__quote-1.0.23//:quote",
55        "@vendor__syn-1.0.107//:build_script_build",
56        "@vendor__unicode-ident-1.0.6//:unicode_ident",
57    ],
58)
59
60cargo_build_script(
61    name = "syn_build_script",
62    srcs = glob(["**/*.rs"]),
63    crate_features = [
64        "clone-impls",
65        "default",
66        "derive",
67        "full",
68        "parsing",
69        "printing",
70        "proc-macro",
71        "quote",
72    ],
73    crate_name = "build_script_build",
74    crate_root = "build.rs",
75    data = glob(
76        include = ["**"],
77        exclude = [
78            "**/* *",
79            "BUILD",
80            "BUILD.bazel",
81            "WORKSPACE",
82            "WORKSPACE.bazel",
83        ],
84    ),
85    edition = "2018",
86    rustc_flags = [
87        "--cap-lints=allow",
88    ],
89    tags = [
90        "cargo-bazel",
91        "crate-name=syn",
92        "manual",
93        "noclippy",
94        "norustfmt",
95    ],
96    version = "1.0.107",
97    visibility = ["//visibility:private"],
98)
99
100alias(
101    name = "build_script_build",
102    actual = "syn_build_script",
103    tags = ["manual"],
104)
105