fork/rules_rust

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

Daniel Wagner-HallSupport . workspace member (#1326)d3d9abac

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