fork/rules_rust

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

David TolnayRegenerate BUILD files using serde_starlark renderer (#1746)d6e30035

rust-analyzer
1.8 KiB65 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 @//wasm_bindgen/3rdparty:crates_vendor
7###############################################################################
8
9load(
10    "@rules_rust//rust:defs.bzl",
11    "rust_library",
12)
13
14package(default_visibility = ["//visibility:public"])
15
16# licenses([
17#     "TODO",  # MIT/Apache-2.0
18# ])
19
20rust_library(
21    name = "chrono",
22    srcs = glob(["**/*.rs"]),
23    compile_data = glob(
24        include = ["**"],
25        exclude = [
26            "**/* *",
27            "BUILD",
28            "BUILD.bazel",
29            "WORKSPACE",
30            "WORKSPACE.bazel",
31        ],
32    ),
33    crate_features = [
34        "clock",
35        "iana-time-zone",
36        "std",
37        "winapi",
38    ],
39    crate_root = "src/lib.rs",
40    edition = "2018",
41    rustc_flags = ["--cap-lints=allow"],
42    tags = [
43        "cargo-bazel",
44        "manual",
45        "noclippy",
46        "norustfmt",
47    ],
48    version = "0.4.23",
49    deps = [
50        "@rules_rust_wasm_bindgen__iana-time-zone-0.1.53//:iana_time_zone",
51        "@rules_rust_wasm_bindgen__num-integer-0.1.45//:num_integer",
52        "@rules_rust_wasm_bindgen__num-traits-0.2.15//:num_traits",
53    ] + select({
54        "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [
55            "@rules_rust_wasm_bindgen__winapi-0.3.9//:winapi",  # cfg(windows)
56        ],
57        "@rules_rust//rust/platform:i686-pc-windows-msvc": [
58            "@rules_rust_wasm_bindgen__winapi-0.3.9//:winapi",  # cfg(windows)
59        ],
60        "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [
61            "@rules_rust_wasm_bindgen__winapi-0.3.9//:winapi",  # cfg(windows)
62        ],
63        "//conditions:default": [],
64    }),
65)