fork/rules_rust

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

UebelAndreUpdated crate_universe dependencies (#1591)ca567826

0.11.0
2.9 KiB113 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(
10    "@bazel_skylib//lib:selects.bzl",
11    "selects",
12)
13
14# buildifier: disable=bzl-visibility
15load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
16load(
17    "@rules_rust//rust:defs.bzl",
18    "rust_library",
19)
20
21package(default_visibility = ["//visibility:public"])
22
23# licenses([
24#     "TODO",  # MIT
25# ])
26
27rust_library(
28    name = "tera",
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(
41        include = ["**"],
42        exclude = [
43            "BUILD",
44            "BUILD.bazel",
45            "WORKSPACE",
46            "WORKSPACE.bazel",
47        ],
48    ) + select_with_or({
49        "//conditions:default": [
50        ],
51    }),
52    crate_features = [
53        "builtins",
54        "chrono",
55        "chrono-tz",
56        "default",
57        "humansize",
58        "percent-encoding",
59        "rand",
60        "slug",
61        "urlencode",
62    ],
63    crate_root = "src/lib.rs",
64    data = select_with_or({
65        "//conditions:default": [
66        ],
67    }),
68    edition = "2018",
69    proc_macro_deps = [
70    ] + select_with_or({
71        "//conditions:default": [
72            "@cui__pest_derive-2.4.0//:pest_derive",
73        ],
74    }),
75    rustc_env = {
76    },
77    rustc_env_files = select_with_or({
78        "//conditions:default": [
79        ],
80    }),
81    rustc_flags = [
82        # In most cases, warnings in 3rd party crates are not interesting as
83        # they're out of the control of consumers. The flag here silences
84        # warnings. For more details see:
85        # https://doc.rust-lang.org/rustc/lints/levels.html
86        "--cap-lints=allow",
87    ],
88    tags = [
89        "cargo-bazel",
90        "manual",
91        "noclippy",
92        "norustfmt",
93    ],
94    version = "1.17.1",
95    deps = [
96    ] + select_with_or({
97        "//conditions:default": [
98            "@cui__chrono-0.4.22//:chrono",
99            "@cui__chrono-tz-0.6.3//:chrono_tz",
100            "@cui__globwalk-0.8.1//:globwalk",
101            "@cui__humansize-1.1.1//:humansize",
102            "@cui__lazy_static-1.4.0//:lazy_static",
103            "@cui__percent-encoding-2.2.0//:percent_encoding",
104            "@cui__pest-2.4.0//:pest",
105            "@cui__rand-0.8.5//:rand",
106            "@cui__regex-1.6.0//:regex",
107            "@cui__serde-1.0.145//:serde",
108            "@cui__serde_json-1.0.86//:serde_json",
109            "@cui__slug-0.1.4//:slug",
110            "@cui__unic-segment-0.9.0//:unic_segment",
111        ],
112    }),
113)