| 1 |
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| 2 |
# |
| 3 |
# When uploading crates to the registry Cargo will automatically |
| 4 |
# "normalize" Cargo.toml files for maximal compatibility |
| 5 |
# with all versions of Cargo and also rewrite `path` dependencies |
| 6 |
# to registry (e.g., crates.io) dependencies. |
| 7 |
# |
| 8 |
# If you are reading this file be aware that the original Cargo.toml |
| 9 |
# will likely look very different (and much more reasonable). |
| 10 |
# See Cargo.toml.orig for the original contents. |
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2021" |
| 14 |
rust-version = "1.80" |
| 15 |
name = "colored" |
| 16 |
version = "3.1.1" |
| 17 |
authors = ["Thomas Wickham <[email protected]>"] |
| 18 |
build = false |
| 19 |
autolib = false |
| 20 |
autobins = false |
| 21 |
autoexamples = false |
| 22 |
autotests = false |
| 23 |
autobenches = false |
| 24 |
description = "The most simple way to add colors in your terminal" |
| 25 |
homepage = "https://github.com/mackwic/colored" |
| 26 |
readme = "README.md" |
| 27 |
keywords = [ |
| 28 |
"color", |
| 29 |
"string", |
| 30 |
"term", |
| 31 |
"ansi_term", |
| 32 |
"term-painter", |
| 33 |
] |
| 34 |
license = "MPL-2.0" |
| 35 |
repository = "https://github.com/mackwic/colored" |
| 36 |
|
| 37 |
[features] |
| 38 |
no-color = [] |
| 39 |
|
| 40 |
[lib] |
| 41 |
name = "colored" |
| 42 |
path = "src/lib.rs" |
| 43 |
|
| 44 |
[[example]] |
| 45 |
name = "as_error" |
| 46 |
path = "examples/as_error.rs" |
| 47 |
|
| 48 |
[[example]] |
| 49 |
name = "control" |
| 50 |
path = "examples/control.rs" |
| 51 |
|
| 52 |
[[example]] |
| 53 |
name = "custom_colors" |
| 54 |
path = "examples/custom_colors.rs" |
| 55 |
|
| 56 |
[[example]] |
| 57 |
name = "dynamic_colors" |
| 58 |
path = "examples/dynamic_colors.rs" |
| 59 |
|
| 60 |
[[example]] |
| 61 |
name = "most_simple" |
| 62 |
path = "examples/most_simple.rs" |
| 63 |
|
| 64 |
[[example]] |
| 65 |
name = "nested_colors" |
| 66 |
path = "examples/nested_colors.rs" |
| 67 |
|
| 68 |
[[test]] |
| 69 |
name = "ansi_term_compat" |
| 70 |
path = "tests/ansi_term_compat.rs" |
| 71 |
|
| 72 |
[dev-dependencies.nu-ansi-term] |
| 73 |
version = "0.50" |
| 74 |
|
| 75 |
[dev-dependencies.insta] |
| 76 |
version = "1" |
| 77 |
|
| 78 |
|
| 79 |
[disabled.target."cfg(windows)".dependencies.windows-sys] |
| 80 |
version = ">=0.48,<=0.61" |
| 81 |
features = [ |
| 82 |
"Win32_Foundation", |
| 83 |
"Win32_System_Console", |
| 84 |
] |
| 85 |
|
| 86 |
[lints.clippy] |
| 87 |
complexity = "warn" |
| 88 |
correctness = "warn" |
| 89 |
nursery = "warn" |
| 90 |
pedantic = "warn" |
| 91 |
perf = "warn" |
| 92 |
style = "warn" |
| 93 |
suspicious = "warn" |
| 94 |
|
| 95 |
[lints.clippy.expect_used] |
| 96 |
level = "allow" |
| 97 |
priority = 10 |
| 98 |
|
| 99 |
[lints.clippy.missing_const_for_fn] |
| 100 |
level = "allow" |
| 101 |
priority = 10 |
| 102 |
|
| 103 |
[lints.clippy.module_name_repetitions] |
| 104 |
level = "allow" |
| 105 |
priority = 10 |
| 106 |
|
| 107 |
[lints.clippy.too_many_lines] |
| 108 |
level = "allow" |
| 109 |
priority = 10 |
| 110 |
|
| 111 |
[lints.clippy.unwrap_used] |
| 112 |
level = "allow" |
| 113 |
priority = 10 |
| 114 |
|
| 115 |
[lints.clippy.wildcard_imports] |
| 116 |
level = "allow" |
| 117 |
priority = 10 |
| 118 |
|
| 119 |
[lints.rust] |
| 120 |
deprecated = "warn" |
| 121 |
unsafe_code = "warn" |