blob: 5eddbd613797fa8d273c4790706c15528f9eee53 [file] [log] [blame]
###############################################################################
# @generated
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
# regenerate this file, run the following:
#
# bazel run //third_party/rust:crate_index
###############################################################################
load("@rules_rust//rust:defs.bzl", "rust_library")
package(default_visibility = ["//visibility:public"])
# licenses([
# "TODO", # MIT/Apache-2.0
# ])
rust_library(
name = "chrono",
srcs = glob(["**/*.rs"]),
compile_data = glob(
include = ["**"],
exclude = [
"**/* *",
"BUILD",
"BUILD.bazel",
"WORKSPACE",
"WORKSPACE.bazel",
],
),
crate_features = [
"clock",
"default",
"iana-time-zone",
"js-sys",
"oldtime",
"std",
"time",
"wasm-bindgen",
"wasmbind",
"winapi",
],
crate_root = "src/lib.rs",
edition = "2018",
rustc_flags = ["--cap-lints=allow"],
tags = [
"cargo-bazel",
"crate-name=chrono",
"manual",
"noclippy",
"norustfmt",
],
version = "0.4.23",
deps = [
"@crate_index__iana-time-zone-0.1.53//:iana_time_zone",
"@crate_index__num-integer-0.1.45//:num_integer",
"@crate_index__num-traits-0.2.15//:num_traits",
"@crate_index__time-0.1.45//:time",
] + select({
"@rules_rust//rust/platform:aarch64-pc-windows-msvc": [
"@crate_index__winapi-0.3.9//:winapi", # cfg(windows)
],
"@rules_rust//rust/platform:i686-pc-windows-msvc": [
"@crate_index__winapi-0.3.9//:winapi", # cfg(windows)
],
"@rules_rust//rust/platform:wasm32-unknown-unknown": [
"@crate_index__js-sys-0.3.61//:js_sys", # cfg(all(target_arch = "wasm32", not(any(target_os = "emscripten", target_os = "wasi"))))
"@crate_index__wasm-bindgen-0.2.84//:wasm_bindgen", # cfg(all(target_arch = "wasm32", not(any(target_os = "emscripten", target_os = "wasi"))))
],
"@rules_rust//rust/platform:x86_64-pc-windows-msvc": [
"@crate_index__winapi-0.3.9//:winapi", # cfg(windows)
],
"//conditions:default": [],
}),
)