fork/rules_rust

git clone https://git.julia.blue/fork/rules_rust

David TolnayRegenerate BUILD files using serde_starlark renderer (#1746)d6e30035

rust-analyzer
2.5 KiB109 linesraw
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 @//wasm_bindgen/3rdparty:crates_vendor
7###############################################################################
8
9load("@rules_rust//cargo:defs.bzl", "cargo_build_script")
10load(
11    "@rules_rust//rust:defs.bzl",
12    "rust_library",
13)
14
15package(default_visibility = ["//visibility:public"])
16
17# licenses([
18#     "TODO",  # MIT OR Apache-2.0
19# ])
20
21rust_library(
22    name = "syn",
23    srcs = glob(["**/*.rs"]),
24    compile_data = glob(
25        include = ["**"],
26        exclude = [
27            "**/* *",
28            "BUILD",
29            "BUILD.bazel",
30            "WORKSPACE",
31            "WORKSPACE.bazel",
32        ],
33    ),
34    crate_features = [
35        "clone-impls",
36        "default",
37        "derive",
38        "extra-traits",
39        "full",
40        "parsing",
41        "printing",
42        "proc-macro",
43        "quote",
44        "visit",
45    ],
46    crate_root = "src/lib.rs",
47    edition = "2018",
48    rustc_flags = ["--cap-lints=allow"],
49    tags = [
50        "cargo-bazel",
51        "manual",
52        "noclippy",
53        "norustfmt",
54    ],
55    version = "1.0.107",
56    deps = [
57        "@rules_rust_wasm_bindgen__proc-macro2-1.0.49//:proc_macro2",
58        "@rules_rust_wasm_bindgen__quote-1.0.23//:quote",
59        "@rules_rust_wasm_bindgen__syn-1.0.107//:build_script_build",
60        "@rules_rust_wasm_bindgen__unicode-ident-1.0.6//:unicode_ident",
61    ],
62)
63
64cargo_build_script(
65    name = "syn_build_script",
66    srcs = glob(["**/*.rs"]),
67    crate_features = [
68        "clone-impls",
69        "default",
70        "derive",
71        "extra-traits",
72        "full",
73        "parsing",
74        "printing",
75        "proc-macro",
76        "quote",
77        "visit",
78    ],
79    crate_name = "build_script_build",
80    crate_root = "build.rs",
81    data = glob(
82        include = ["**"],
83        exclude = [
84            "**/* *",
85            "BUILD",
86            "BUILD.bazel",
87            "WORKSPACE",
88            "WORKSPACE.bazel",
89        ],
90    ),
91    edition = "2018",
92    rustc_flags = [
93        "--cap-lints=allow",
94    ],
95    tags = [
96        "cargo-bazel",
97        "manual",
98        "noclippy",
99        "norustfmt",
100    ],
101    version = "1.0.107",
102    visibility = ["//visibility:private"],
103)
104
105alias(
106    name = "build_script_build",
107    actual = "syn_build_script",
108    tags = ["manual"],
109)