[dev-dependencies.ansiterm]
version = "0.12"
[dev-dependencies.insta]
version = "1"
[dev-dependencies.rspec]
version = "1"
[[example]]
name = "as_error"
path = "examples/as_error.rs"
[[example]]
name = "control"
path = "examples/control.rs"
[[example]]
name = "custom_colors"
path = "examples/custom_colors.rs"
[[example]]
name = "dynamic_colors"
path = "examples/dynamic_colors.rs"
[[example]]
name = "most_simple"
path = "examples/most_simple.rs"
[[example]]
name = "nested_colors"
path = "examples/nested_colors.rs"
[features]
no-color = []
[lib]
name = "colored"
path = "src/lib.rs"
[lints.clippy]
complexity = "warn"
correctness = "warn"
nursery = "warn"
pedantic = "warn"
perf = "warn"
style = "warn"
suspicious = "warn"
[lints.clippy.expect_used]
level = "allow"
priority = 10
[lints.clippy.missing_const_for_fn]
level = "allow"
priority = 10
[lints.clippy.module_name_repetitions]
level = "allow"
priority = 10
[lints.clippy.too_many_lines]
level = "allow"
priority = 10
[lints.clippy.unwrap_used]
level = "allow"
priority = 10
[lints.clippy.wildcard_imports]
level = "allow"
priority = 10
[lints.rust]
deprecated = "warn"
unsafe_code = "warn"
[package]
authors = ["Thomas Wickham <mackwic@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "The most simple way to add colors in your terminal"
edition = "2021"
homepage = "https://github.com/mackwic/colored"
keywords = ["color", "string", "term", "ansi_term", "term-painter"]
license = "MPL-2.0"
name = "colored"
readme = "README.md"
repository = "https://github.com/mackwic/colored"
rust-version = "1.80"
version = "3.1.1"
[target."cfg(windows)".dependencies.windows-sys]
features = ["Win32_Foundation", "Win32_System_Console"]
version = ">=0.48,<=0.61"
[[test]]
name = "ansi_term_compat"
path = "tests/ansi_term_compat.rs"