blob: 7404ee8d20e4b265e80d616c2dfa4b620c52946d [file] [log] [blame]
Serge Bazanskicbf1fa92021-07-02 17:28:50 +02001"""
2@generated
3cargo-raze crate build file.
4
5DO NOT EDIT! Replaced on runs of cargo-raze
6"""
7
8# buildifier: disable=load
9load("@bazel_skylib//lib:selects.bzl", "selects")
10
11# buildifier: disable=load
12load(
Leopold2aa8b182023-01-14 23:31:43 +010013 "@rules_rust//rust:defs.bzl",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020014 "rust_binary",
15 "rust_library",
Leopold2aa8b182023-01-14 23:31:43 +010016 "rust_proc_macro",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020017 "rust_test",
18)
19
20package(default_visibility = [
21 # Public for visibility by "@raze__crate__version//" targets.
22 #
23 # Prefer access through "//third_party/rust/cargo", which limits external
24 # visibility to explicit Cargo.toml dependencies.
25 "//visibility:public",
26])
27
28licenses([
29 "notice", # MIT from expression "MIT OR Apache-2.0"
30])
31
32# Generated Targets
33
34# Unsupported target "chrono" with type "bench" omitted
35
36# Unsupported target "serde" with type "bench" omitted
37
38rust_library(
39 name = "chrono",
40 srcs = glob(["**/*.rs"]),
41 crate_features = [
42 "clock",
43 "default",
Leopold2aa8b182023-01-14 23:31:43 +010044 "iana-time-zone",
45 "js-sys",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020046 "oldtime",
47 "std",
48 "time",
Leopold2aa8b182023-01-14 23:31:43 +010049 "wasm-bindgen",
50 "wasmbind",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020051 "winapi",
52 ],
53 crate_root = "src/lib.rs",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020054 data = [],
Leopold2aa8b182023-01-14 23:31:43 +010055 edition = "2018",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020056 rustc_flags = [
57 "--cap-lints=allow",
58 ],
59 tags = [
60 "cargo-raze",
Leopold2aa8b182023-01-14 23:31:43 +010061 "crate-name=chrono",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020062 "manual",
63 ],
Leopold2aa8b182023-01-14 23:31:43 +010064 version = "0.4.23",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020065 # buildifier: leave-alone
66 deps = [
Leopold2aa8b182023-01-14 23:31:43 +010067 "@raze__iana_time_zone__0_1_53//:iana_time_zone",
68 "@raze__num_integer__0_1_45//:num_integer",
69 "@raze__num_traits__0_2_15//:num_traits",
70 "@raze__time__0_1_45//:time",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020071 ],
72)
73
Leopold2aa8b182023-01-14 23:31:43 +010074# Unsupported target "dateutils" with type "test" omitted
75
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020076# Unsupported target "wasm" with type "test" omitted