# 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.62.1"
name = "nu-ansi-term"
version = "0.50.3"
authors = [
    "ogham@bsago.me",
    "Ryan Scheel (Havvy) <ryan.havvy@gmail.com>",
    "Josh Triplett <josh@joshtriplett.org>",
    "The Nushell Project Developers",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Library for ANSI terminal colors and styles (bold, underline)"
readme = "README.md"
license = "MIT"
repository = "https://github.com/nushell/nu-ansi-term"

[features]
default = ["std"]
derive_serde_style = ["serde"]
gnu_legacy = []
std = []

[lib]
name = "nu_ansi_term"
path = "src/lib.rs"
doctest = true

[[example]]
name = "256_colors"
path = "examples/256_colors.rs"

[[example]]
name = "basic_colors"
path = "examples/basic_colors.rs"

[[example]]
name = "gradient_colors"
path = "examples/gradient_colors.rs"

[[example]]
name = "hyperlink"
path = "examples/hyperlink.rs"

[[example]]
name = "rgb_colors"
path = "examples/rgb_colors.rs"

[[example]]
name = "title"
path = "examples/title.rs"

[[test]]
name = "style"
path = "tests/style.rs"

[dependencies.serde]
version = "1.0.152"
features = ["derive"]
optional = true

[dev-dependencies.doc-comment]
version = "0.3.3"

[dev-dependencies.serde_json]
version = "1.0.94"

[target."cfg(windows)".dependencies.windows]
version = ">=0.59, <=0.61"
features = [
    "Win32_Foundation",
    "Win32_System_Console",
    "Win32_Storage_FileSystem",
    "Win32_Security",
]
package = "windows-sys"
