blob: fa7481ea04fc8b1cd7d92e843cbd07c54af7f1a6 [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:vendor
###############################################################################
load("@rules_rust//rust:defs.bzl", "rust_library")
package(default_visibility = ["//visibility:public"])
# licenses([
# "TODO", # Unlicense OR MIT
# ])
rust_library(
name = "termcolor",
srcs = glob(["**/*.rs"]),
compile_data = glob(
include = ["**"],
exclude = [
"**/* *",
"BUILD",
"BUILD.bazel",
"WORKSPACE",
"WORKSPACE.bazel",
],
),
crate_root = "src/lib.rs",
edition = "2018",
rustc_flags = ["--cap-lints=allow"],
tags = [
"cargo-bazel",
"crate-name=termcolor",
"manual",
"noclippy",
"norustfmt",
],
version = "1.2.0",
deps = select({
"@rules_rust//rust/platform:aarch64-pc-windows-msvc": [
"@vendor__winapi-util-0.1.5//:winapi_util", # cfg(windows)
],
"@rules_rust//rust/platform:i686-pc-windows-msvc": [
"@vendor__winapi-util-0.1.5//:winapi_util", # cfg(windows)
],
"@rules_rust//rust/platform:x86_64-pc-windows-msvc": [
"@vendor__winapi-util-0.1.5//:winapi_util", # cfg(windows)
],
"//conditions:default": [],
}),
)