# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "should-color" version = "0.5.2" authors = ["Federico Stra "] exclude = ["/Makefile"] description = "Determine whether output should use colors or not." readme = "README.md" keywords = [ "cli", "color", "clicolor", "no_color", "terminal", ] categories = ["command-line-interface"] license = "MIT" repository = "https://github.com/FedericoStra/should-color" resolver = "2" [package.metadata.docs.rs] rustdoc-args = [ "--cfg", "docsrs", "--html-in-header", "header.html", ] targets = ["x86_64-unknown-linux-gnu"] all-features = true [[example]] name = "colored" required-features = [ "clap", "stream", ] [[example]] name = "termcolor" required-features = [ "clap", "stream", ] [dependencies.atty] version = "0.2.14" optional = true [dependencies.clap] version = "3.2.20" features = [ "color", "derive", "std", ] optional = true default-features = false [dependencies.document-features] version = "0.2.5" [dev-dependencies.clap] version = "3.2.20" features = [ "cargo", "derive", ] [dev-dependencies.colored] version = "2.0.0" [dev-dependencies.itertools] version = "0.10.3" [dev-dependencies.termcolor] version = "1.1.3" [features] clap = ["dep:clap"] clicolor = [] clicolor_force = [] default = [ "clicolor", "clicolor_force", "no_color", "stream", ] no_color = [] stream = ["dep:atty"]