blob: 241778cf56442263a51b46e4f502c7467b707f9b [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
# ])
rust_library(
name = "ansi_term",
srcs = glob(["**/*.rs"]),
compile_data = glob(
include = ["**"],
exclude = [
"**/* *",
"BUILD",
"BUILD.bazel",
"WORKSPACE",
"WORKSPACE.bazel",
],
),
crate_root = "src/lib.rs",
edition = "2015",
rustc_flags = ["--cap-lints=allow"],
tags = [
"cargo-bazel",
"crate-name=ansi_term",
"manual",
"noclippy",
"norustfmt",
],
version = "0.12.1",
deps = select({
"@rules_rust//rust/platform:aarch64-pc-windows-msvc": [
"@crate_index__winapi-0.3.9//:winapi", # cfg(target_os = "windows")
],
"@rules_rust//rust/platform:i686-pc-windows-msvc": [
"@crate_index__winapi-0.3.9//:winapi", # cfg(target_os = "windows")
],
"@rules_rust//rust/platform:x86_64-pc-windows-msvc": [
"@crate_index__winapi-0.3.9//:winapi", # cfg(target_os = "windows")
],
"//conditions:default": [],
}),
)