# 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" rust-version = "1.70.0" name = "terminal-colorsaurus" version = "0.4.7" build = false exclude = [ ".github", ".gitignore", "*.sh", "benchmark/**/*", "doc/issues.md", "deny.toml", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Determines the background and foreground color of the terminal" readme = "readme.md" keywords = [ "terminal", "light", "dark", "color-scheme", "cli", ] categories = ["command-line-interface"] license = "MIT OR Apache-2.0" repository = "https://github.com/bash/terminal-colorsaurus" [package.metadata.docs.rs] all-features = true [lib] name = "terminal_colorsaurus" path = "src/lib.rs" [[example]] name = "bg" path = "examples/bg.rs" [[example]] name = "fg" path = "examples/fg.rs" [[example]] name = "pager" path = "examples/pager.rs" [[example]] name = "theme" path = "examples/theme.rs" [dependencies.anstyle] version = "1.0.7" optional = true [dependencies.cfg-if] version = "1.0.0" [dependencies.rgb] version = "0.8.37" optional = true [target.'cfg(target_os = "macos")'.dependencies.libc] version = "0.2.151" [target."cfg(unix)".dependencies.memchr] version = "2.7.1" [target."cfg(unix)".dependencies.mio] version = "1" features = ["os-ext"] default-features = false [target."cfg(unix)".dependencies.terminal-trx] version = "0.2.3" [target."cfg(windows)".dependencies.memchr] version = "2.7.1" [target."cfg(windows)".dependencies.terminal-trx] version = "0.2.3" [target."cfg(windows)".dependencies.windows-sys] version = "0.59.0" features = ["Win32_System_Threading"] [lints.clippy] dbg_macro = "warn" exhaustive_enums = "warn" exhaustive_structs = "warn" undocumented_unsafe_blocks = "deny" unimplemented = "warn" uninlined_format_args = "warn" unnested_or_patterns = "warn" unwrap_used = "deny" use_debug = "warn" [lints.rust] missing_debug_implementations = "warn" missing_docs = "warn" [lints.rust.unexpected_cfgs] level = "warn" priority = 0 check-cfg = ["cfg(terminal_colorsaurus_test_unsupported)"]