""" @generated cargo-raze crate build file. DO NOT EDIT! Replaced on runs of cargo-raze """ # buildifier: disable=load load( "@io_bazel_rules_rust//rust:rust.bzl", "rust_binary", "rust_library", "rust_test", ) # buildifier: disable=load load("@bazel_skylib//lib:selects.bzl", "selects") package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # # Prefer access through "//bazel/cargo", which limits external # visibility to explicit Cargo.toml dependencies. "//visibility:public", ]) licenses([ "notice", # MIT from expression "MIT OR Apache-2.0" ]) # Generated Targets # Unsupported target "chrono" with type "bench" omitted # Unsupported target "serde" with type "bench" omitted rust_library( name = "chrono", srcs = glob(["**/*.rs"]), aliases = { }, crate_features = [ "clock", "default", "libc", "oldtime", "std", "time", "winapi", ], crate_root = "src/lib.rs", crate_type = "lib", edition = "2015", rustc_flags = [ "--cap-lints=allow", ], tags = [ "cargo-raze", "manual", ], version = "0.4.19", # buildifier: leave-alone deps = [ "@raze__libc__0_2_85//:libc", "@raze__num_integer__0_1_44//:num_integer", "@raze__num_traits__0_2_14//:num_traits", "@raze__time__0_1_43//:time", ] + selects.with_or({ # cfg(all(target_arch = "wasm32", not(any(target_os = "emscripten", target_os = "wasi")))) ( "@io_bazel_rules_rust//rust/platform:wasm32-unknown-unknown", ): [ ], "//conditions:default": [], }) + selects.with_or({ # cfg(windows) ( "@io_bazel_rules_rust//rust/platform:i686-pc-windows-msvc", "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc", ): [ "@raze__winapi__0_3_9//:winapi", ], "//conditions:default": [], }), ) # Unsupported target "wasm" with type "test" omitted