| 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.62.1" |
| 15 |
name = "nu-ansi-term" |
| 16 |
version = "0.50.3" |
| 17 |
authors = [ |
| 18 |
"[email protected]", |
| 19 |
"Ryan Scheel (Havvy) <[email protected]>", |
| 20 |
"Josh Triplett <[email protected]>", |
| 21 |
"The Nushell Project Developers", |
| 22 |
] |
| 23 |
build = false |
| 24 |
autolib = false |
| 25 |
autobins = false |
| 26 |
autoexamples = false |
| 27 |
autotests = false |
| 28 |
autobenches = false |
| 29 |
description = "Library for ANSI terminal colors and styles (bold, underline)" |
| 30 |
readme = "README.md" |
| 31 |
license = "MIT" |
| 32 |
repository = "https://github.com/nushell/nu-ansi-term" |
| 33 |
|
| 34 |
[features] |
| 35 |
default = ["std"] |
| 36 |
derive_serde_style = ["serde"] |
| 37 |
gnu_legacy = [] |
| 38 |
std = [] |
| 39 |
|
| 40 |
[lib] |
| 41 |
name = "nu_ansi_term" |
| 42 |
path = "src/lib.rs" |
| 43 |
doctest = true |
| 44 |
|
| 45 |
[[example]] |
| 46 |
name = "256_colors" |
| 47 |
path = "examples/256_colors.rs" |
| 48 |
|
| 49 |
[[example]] |
| 50 |
name = "basic_colors" |
| 51 |
path = "examples/basic_colors.rs" |
| 52 |
|
| 53 |
[[example]] |
| 54 |
name = "gradient_colors" |
| 55 |
path = "examples/gradient_colors.rs" |
| 56 |
|
| 57 |
[[example]] |
| 58 |
name = "hyperlink" |
| 59 |
path = "examples/hyperlink.rs" |
| 60 |
|
| 61 |
[[example]] |
| 62 |
name = "rgb_colors" |
| 63 |
path = "examples/rgb_colors.rs" |
| 64 |
|
| 65 |
[[example]] |
| 66 |
name = "title" |
| 67 |
path = "examples/title.rs" |
| 68 |
|
| 69 |
[[test]] |
| 70 |
name = "style" |
| 71 |
path = "tests/style.rs" |
| 72 |
|
| 73 |
[dependencies.serde] |
| 74 |
version = "1.0.152" |
| 75 |
features = ["derive"] |
| 76 |
optional = true |
| 77 |
|
| 78 |
[dev-dependencies.doc-comment] |
| 79 |
version = "0.3.3" |
| 80 |
|
| 81 |
[dev-dependencies.serde_json] |
| 82 |
version = "1.0.94" |
| 83 |
|
| 84 |
[target."cfg(windows)".dependencies.windows] |
| 85 |
version = ">=0.59, <=0.61" |
| 86 |
features = [ |
| 87 |
"Win32_Foundation", |
| 88 |
"Win32_System_Console", |
| 89 |
"Win32_Storage_FileSystem", |
| 90 |
"Win32_Security", |
| 91 |
] |
| 92 |
package = "windows-sys" |