fork/rules_rust

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

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

0.7.0
2.3 KiB91 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_library",
18)
19
20package(default_visibility = ["//visibility:public"])
21
22# licenses([
23#     "TODO",  # MIT/Apache-2.0
24# ])
25
26rust_library(
27    name = "predicates",
28    srcs = glob(
29        include = [
30            "**/*.rs",
31        ],
32        exclude = [
33        ],
34    ),
35    aliases = selects.with_or({
36        "//conditions:default": {
37        },
38    }),
39    compile_data = glob(["**"]) + select_with_or({
40        "//conditions:default": [
41        ],
42    }),
43    crate_features = [
44        "default",
45        "difference",
46        "float-cmp",
47        "normalize-line-endings",
48        "regex",
49    ],
50    crate_root = "src/lib.rs",
51    data = select_with_or({
52        "//conditions:default": [
53        ],
54    }),
55    edition = "2018",
56    proc_macro_deps = [
57    ] + select_with_or({
58        "//conditions:default": [
59        ],
60    }),
61    rustc_env = {
62    },
63    rustc_env_files = select_with_or({
64        "//conditions:default": [
65        ],
66    }),
67    rustc_flags = [
68        # In most cases, warnings in 3rd party crates are not interesting as
69        # they're out of the control of consumers. The flag here silences
70        # warnings. For more details see:
71        # https://doc.rust-lang.org/rustc/lints/levels.html
72        "--cap-lints=allow",
73    ],
74    tags = [
75        "cargo-bazel",
76        "manual",
77        "noclippy",
78        "norustfmt",
79    ],
80    version = "1.0.8",
81    deps = [
82    ] + select_with_or({
83        "//conditions:default": [
84            "@rules_rust_wasm_bindgen__difference-2.0.0//:difference",
85            "@rules_rust_wasm_bindgen__float-cmp-0.8.0//:float_cmp",
86            "@rules_rust_wasm_bindgen__normalize-line-endings-0.3.0//:normalize_line_endings",
87            "@rules_rust_wasm_bindgen__predicates-core-1.0.3//:predicates_core",
88            "@rules_rust_wasm_bindgen__regex-1.5.6//:regex",
89        ],
90    }),
91)