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 KiB96 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_library")
11
12package(default_visibility = ["//visibility:public"])
13
14# licenses([
15#     "TODO",  # MIT OR Apache-2.0
16# ])
17
18rust_library(
19    name = "serde",
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        "derive",
34        "serde_derive",
35        "std",
36    ],
37    crate_root = "src/lib.rs",
38    edition = "2015",
39    proc_macro_deps = [
40        "@rules_rust_rust_analyzer__serde_derive-1.0.152//:serde_derive",
41    ],
42    rustc_flags = ["--cap-lints=allow"],
43    tags = [
44        "cargo-bazel",
45        "crate-name=serde",
46        "manual",
47        "noclippy",
48        "norustfmt",
49    ],
50    version = "1.0.152",
51    deps = [
52        "@rules_rust_rust_analyzer__serde-1.0.152//:build_script_build",
53    ],
54)
55
56cargo_build_script(
57    name = "serde_build_script",
58    srcs = glob(["**/*.rs"]),
59    crate_features = [
60        "default",
61        "derive",
62        "serde_derive",
63        "std",
64    ],
65    crate_name = "build_script_build",
66    crate_root = "build.rs",
67    data = glob(
68        include = ["**"],
69        exclude = [
70            "**/* *",
71            "BUILD",
72            "BUILD.bazel",
73            "WORKSPACE",
74            "WORKSPACE.bazel",
75        ],
76    ),
77    edition = "2015",
78    rustc_flags = [
79        "--cap-lints=allow",
80    ],
81    tags = [
82        "cargo-bazel",
83        "crate-name=serde",
84        "manual",
85        "noclippy",
86        "norustfmt",
87    ],
88    version = "1.0.152",
89    visibility = ["//visibility:private"],
90)
91
92alias(
93    name = "build_script_build",
94    actual = "serde_build_script",
95    tags = ["manual"],
96)