fork/rules_rust

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

UebelAndreUpdate wasm_bindgen to use crate universe. (#1398)97264b79

0.6.0
3.1 KiB142 linesraw
1###############################################################################
2# @generated
3# This file is auto-generated by the cargo-bazel tool.
4#
5# DO NOT MODIFY: Local changes may be replaced in future executions.
6###############################################################################
7
8load(
9    "@bazel_skylib//lib:selects.bzl",
10    "selects",
11)
12
13# buildifier: disable=bzl-visibility
14load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
15load(
16    "@rules_rust//rust:defs.bzl",
17    "rust_binary",
18    "rust_library",
19)
20
21package(default_visibility = ["//visibility:public"])
22
23# licenses([
24#     "TODO",  # MIT
25# ])
26
27rust_library(
28    name = "difference",
29    srcs = glob(
30        include = [
31            "**/*.rs",
32        ],
33        exclude = [
34        ],
35    ),
36    aliases = selects.with_or({
37        "//conditions:default": {
38        },
39    }),
40    compile_data = glob(["**"]) + select_with_or({
41        "//conditions:default": [
42        ],
43    }),
44    crate_features = [
45        "default",
46    ],
47    crate_root = "src/lib.rs",
48    data = select_with_or({
49        "//conditions:default": [
50        ],
51    }),
52    edition = "2015",
53    proc_macro_deps = [
54    ] + select_with_or({
55        "//conditions:default": [
56        ],
57    }),
58    rustc_env = {
59    },
60    rustc_env_files = select_with_or({
61        "//conditions:default": [
62        ],
63    }),
64    rustc_flags = [
65        # In most cases, warnings in 3rd party crates are not interesting as
66        # they're out of the control of consumers. The flag here silences
67        # warnings. For more details see:
68        # https://doc.rust-lang.org/rustc/lints/levels.html
69        "--cap-lints=allow",
70    ],
71    tags = [
72        "cargo-bazel",
73        "manual",
74        "noclippy",
75        "norustfmt",
76    ],
77    version = "2.0.0",
78    deps = [
79    ] + select_with_or({
80        "//conditions:default": [
81        ],
82    }),
83)
84
85rust_binary(
86    name = "difference__bin",
87    srcs = glob(
88        include = [
89            "**/*.rs",
90        ],
91        exclude = [
92        ],
93    ),
94    aliases = selects.with_or({
95        "//conditions:default": {
96        },
97    }),
98    compile_data = glob(["**"]) + select_with_or({
99        "//conditions:default": [
100        ],
101    }),
102    crate_features = [
103        "default",
104    ],
105    crate_root = "src/main.rs",
106    data = select_with_or({
107        "//conditions:default": [
108        ],
109    }),
110    edition = "2015",
111    proc_macro_deps = [
112    ] + select_with_or({
113        "//conditions:default": [
114        ],
115    }),
116    rustc_env = {
117    },
118    rustc_env_files = select_with_or({
119        "//conditions:default": [
120        ],
121    }),
122    rustc_flags = [
123        # In most cases, warnings in 3rd party crates are not interesting as
124        # they're out of the control of consumers. The flag here silences
125        # warnings. For more details see:
126        # https://doc.rust-lang.org/rustc/lints/levels.html
127        "--cap-lints=allow",
128    ],
129    tags = [
130        "cargo-bazel",
131        "manual",
132        "noclippy",
133        "norustfmt",
134    ],
135    version = "2.0.0",
136    deps = [
137        ":difference",
138    ] + select_with_or({
139        "//conditions:default": [
140        ],
141    }),
142)