fork/rules_rust

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

UebelAndreUpdated crate_universe version (to `0.3.0`) and dependencies (#1409)d3197a65

0.6.0
3.0 KiB104 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
24# ])
25
26rust_library(
27    name = "tera",
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        "builtins",
45        "chrono",
46        "chrono-tz",
47        "default",
48        "humansize",
49        "percent-encoding",
50        "rand",
51        "slug",
52        "urlencode",
53    ],
54    crate_root = "src/lib.rs",
55    data = select_with_or({
56        "//conditions:default": [
57        ],
58    }),
59    edition = "2018",
60    proc_macro_deps = [
61    ] + select_with_or({
62        "//conditions:default": [
63            "@crate_universe_crate_index__pest_derive-2.1.0//:pest_derive",
64        ],
65    }),
66    rustc_env = {
67    },
68    rustc_env_files = select_with_or({
69        "//conditions:default": [
70        ],
71    }),
72    rustc_flags = [
73        # In most cases, warnings in 3rd party crates are not interesting as
74        # they're out of the control of consumers. The flag here silences
75        # warnings. For more details see:
76        # https://doc.rust-lang.org/rustc/lints/levels.html
77        "--cap-lints=allow",
78    ],
79    tags = [
80        "cargo-bazel",
81        "manual",
82        "noclippy",
83        "norustfmt",
84    ],
85    version = "1.16.0",
86    deps = [
87    ] + select_with_or({
88        "//conditions:default": [
89            "@crate_universe_crate_index__chrono-0.4.19//:chrono",
90            "@crate_universe_crate_index__chrono-tz-0.6.1//:chrono_tz",
91            "@crate_universe_crate_index__globwalk-0.8.1//:globwalk",
92            "@crate_universe_crate_index__humansize-1.1.1//:humansize",
93            "@crate_universe_crate_index__lazy_static-1.4.0//:lazy_static",
94            "@crate_universe_crate_index__percent-encoding-2.1.0//:percent_encoding",
95            "@crate_universe_crate_index__pest-2.1.3//:pest",
96            "@crate_universe_crate_index__rand-0.8.5//:rand",
97            "@crate_universe_crate_index__regex-1.5.6//:regex",
98            "@crate_universe_crate_index__serde-1.0.137//:serde",
99            "@crate_universe_crate_index__serde_json-1.0.81//:serde_json",
100            "@crate_universe_crate_index__slug-0.1.4//:slug",
101            "@crate_universe_crate_index__unic-segment-0.9.0//:unic_segment",
102        ],
103    }),
104)