| 1 |
[package] |
| 2 |
name = "colored" |
| 3 |
description = "The most simple way to add colors in your terminal" |
| 4 |
version = "3.1.1" |
| 5 |
edition = "2021" |
| 6 |
authors = ["Thomas Wickham <[email protected]>"] |
| 7 |
license = "MPL-2.0" |
| 8 |
homepage = "https://github.com/mackwic/colored" |
| 9 |
repository = "https://github.com/mackwic/colored" |
| 10 |
readme = "README.md" |
| 11 |
keywords = ["color", "string", "term", "ansi_term", "term-painter"] |
| 12 |
rust-version = "1.80" |
| 13 |
|
| 14 |
[features] |
| 15 |
# with this feature, no color will ever be written |
| 16 |
no-color = [] |
| 17 |
|
| 18 |
|
| 19 |
[target.'cfg(windows)'.dependencies.windows-sys] |
| 20 |
version = ">=0.48,<=0.61" |
| 21 |
features = ["Win32_Foundation", "Win32_System_Console"] |
| 22 |
|
| 23 |
[dev-dependencies] |
| 24 |
ansiterm = "0.12" |
| 25 |
insta = "1" |
| 26 |
rspec = "1" |
| 27 |
|
| 28 |
[lints.rust] |
| 29 |
unsafe_code = "warn" |
| 30 |
deprecated = "warn" |
| 31 |
|
| 32 |
[lints.clippy] |
| 33 |
complexity = "warn" |
| 34 |
correctness = "warn" |
| 35 |
nursery = "warn" |
| 36 |
pedantic = "warn" |
| 37 |
perf = "warn" |
| 38 |
style = "warn" |
| 39 |
suspicious = "warn" |
| 40 |
|
| 41 |
# Could be enabled in the future |
| 42 |
too_many_lines = { level = "allow", priority = 10 } |
| 43 |
unwrap_used = { level = "allow", priority = 10 } |
| 44 |
expect_used = { level = "allow", priority = 10 } |
| 45 |
wildcard_imports = { level = "allow", priority = 10 } |
| 46 |
|
| 47 |
# not necessary |
| 48 |
module_name_repetitions = { level = "allow", priority = 10 } |
| 49 |
missing_const_for_fn = { level = "allow", priority = 10 } |