fork/rules_rust

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

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

rust-analyzer
1.9 KiB78 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 @//proto/3rdparty:crates_vendor
7###############################################################################
8
9load(
10    "@rules_rust//rust:defs.bzl",
11    "rust_binary",
12    "rust_library",
13)
14
15package(default_visibility = ["//visibility:public"])
16
17# licenses([
18#     "TODO",  # MIT/Apache-2.0
19# ])
20
21rust_library(
22    name = "grpc_compiler",
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_root = "src/lib.rs",
35    edition = "2015",
36    rustc_flags = ["--cap-lints=allow"],
37    tags = [
38        "cargo-bazel",
39        "manual",
40        "noclippy",
41        "norustfmt",
42    ],
43    version = "0.6.2",
44    deps = [
45        "@rules_rust_proto__protobuf-2.8.2//:protobuf",
46        "@rules_rust_proto__protobuf-codegen-2.8.2//:protobuf_codegen",
47    ],
48)
49
50rust_binary(
51    name = "protoc-gen-rust-grpc__bin",
52    srcs = glob(["**/*.rs"]),
53    compile_data = glob(
54        include = ["**"],
55        exclude = [
56            "**/* *",
57            "BUILD",
58            "BUILD.bazel",
59            "WORKSPACE",
60            "WORKSPACE.bazel",
61        ],
62    ),
63    crate_root = "src/bin/protoc-gen-rust-grpc.rs",
64    edition = "2015",
65    rustc_flags = ["--cap-lints=allow"],
66    tags = [
67        "cargo-bazel",
68        "manual",
69        "noclippy",
70        "norustfmt",
71    ],
72    version = "0.6.2",
73    deps = [
74        ":grpc_compiler",
75        "@rules_rust_proto__protobuf-2.8.2//:protobuf",
76        "@rules_rust_proto__protobuf-codegen-2.8.2//:protobuf_codegen",
77    ],
78)