fork/rules_rust

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

Joseph RyanRemove ios/android/wasm support for gen_rust_project depsd8ea6b8c

rust-analyzer
2.2 KiB90 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 @//tools/rust_analyzer/3rdparty:crates_vendor
7###############################################################################
8
9load("@rules_rust//cargo:defs.bzl", "cargo_build_script")
10load("@rules_rust//rust:defs.bzl", "rust_proc_macro")
11
12package(default_visibility = ["//visibility:public"])
13
14# licenses([
15#     "TODO",  # MIT OR Apache-2.0
16# ])
17
18rust_proc_macro(
19    name = "serde_derive",
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    ],
34    crate_root = "src/lib.rs",
35    edition = "2015",
36    rustc_flags = ["--cap-lints=allow"],
37    tags = [
38        "cargo-bazel",
39        "crate-name=serde_derive",
40        "manual",
41        "noclippy",
42        "norustfmt",
43    ],
44    version = "1.0.152",
45    deps = [
46        "@rules_rust_rust_analyzer__proc-macro2-1.0.49//:proc_macro2",
47        "@rules_rust_rust_analyzer__quote-1.0.23//:quote",
48        "@rules_rust_rust_analyzer__serde_derive-1.0.152//:build_script_build",
49        "@rules_rust_rust_analyzer__syn-1.0.107//:syn",
50    ],
51)
52
53cargo_build_script(
54    name = "serde_derive_build_script",
55    srcs = glob(["**/*.rs"]),
56    crate_features = [
57        "default",
58    ],
59    crate_name = "build_script_build",
60    crate_root = "build.rs",
61    data = glob(
62        include = ["**"],
63        exclude = [
64            "**/* *",
65            "BUILD",
66            "BUILD.bazel",
67            "WORKSPACE",
68            "WORKSPACE.bazel",
69        ],
70    ),
71    edition = "2015",
72    rustc_flags = [
73        "--cap-lints=allow",
74    ],
75    tags = [
76        "cargo-bazel",
77        "crate-name=serde_derive",
78        "manual",
79        "noclippy",
80        "norustfmt",
81    ],
82    version = "1.0.152",
83    visibility = ["//visibility:private"],
84)
85
86alias(
87    name = "build_script_build",
88    actual = "serde_derive_build_script",
89    tags = ["manual"],
90)