fork/rules_rust

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

Daniel Wagner-HallUse env method recently added to cargo_metadata (#1813)78ca9ba0

rust-analyzer
2.1 KiB86 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 @//crate_universe/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 = ["default"],
32    crate_root = "src/lib.rs",
33    edition = "2015",
34    rustc_flags = ["--cap-lints=allow"],
35    tags = [
36        "cargo-bazel",
37        "crate-name=serde_derive",
38        "manual",
39        "noclippy",
40        "norustfmt",
41    ],
42    version = "1.0.152",
43    deps = [
44        "@cui__proc-macro2-1.0.49//:proc_macro2",
45        "@cui__quote-1.0.23//:quote",
46        "@cui__serde_derive-1.0.152//:build_script_build",
47        "@cui__syn-1.0.107//:syn",
48    ],
49)
50
51cargo_build_script(
52    name = "serde_derive_build_script",
53    srcs = glob(["**/*.rs"]),
54    crate_features = ["default"],
55    crate_name = "build_script_build",
56    crate_root = "build.rs",
57    data = glob(
58        include = ["**"],
59        exclude = [
60            "**/* *",
61            "BUILD",
62            "BUILD.bazel",
63            "WORKSPACE",
64            "WORKSPACE.bazel",
65        ],
66    ),
67    edition = "2015",
68    rustc_flags = [
69        "--cap-lints=allow",
70    ],
71    tags = [
72        "cargo-bazel",
73        "crate-name=serde_derive",
74        "manual",
75        "noclippy",
76        "norustfmt",
77    ],
78    version = "1.0.152",
79    visibility = ["//visibility:private"],
80)
81
82alias(
83    name = "build_script_build",
84    actual = "serde_derive_build_script",
85    tags = ["manual"],
86)