| 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.71" |
| 15 |
name = "console" |
| 16 |
version = "0.16.4" |
| 17 |
build = false |
| 18 |
include = [ |
| 19 |
"CHANGELOG.md", |
| 20 |
"Cargo.toml", |
| 21 |
"LICENSE", |
| 22 |
"README.md", |
| 23 |
"src/**/*.rs", |
| 24 |
] |
| 25 |
autolib = false |
| 26 |
autobins = false |
| 27 |
autoexamples = false |
| 28 |
autotests = false |
| 29 |
autobenches = false |
| 30 |
description = "A terminal and console abstraction for Rust" |
| 31 |
homepage = "https://github.com/console-rs/console" |
| 32 |
documentation = "https://docs.rs/console" |
| 33 |
readme = "README.md" |
| 34 |
keywords = [ |
| 35 |
"cli", |
| 36 |
"terminal", |
| 37 |
"colors", |
| 38 |
"console", |
| 39 |
"ansi", |
| 40 |
] |
| 41 |
license = "MIT" |
| 42 |
repository = "https://github.com/console-rs/console" |
| 43 |
|
| 44 |
[features] |
| 45 |
alloc = [] |
| 46 |
ansi-parsing = [] |
| 47 |
default = [ |
| 48 |
"unicode-width", |
| 49 |
"ansi-parsing", |
| 50 |
"std", |
| 51 |
] |
| 52 |
std = [ |
| 53 |
"dep:libc", |
| 54 |
"alloc", |
| 55 |
] |
| 56 |
windows-console-colors = ["ansi-parsing"] |
| 57 |
|
| 58 |
[lib] |
| 59 |
name = "console" |
| 60 |
path = "src/lib.rs" |
| 61 |
|
| 62 |
[dependencies.libc] |
| 63 |
version = "0.2.99" |
| 64 |
optional = true |
| 65 |
|
| 66 |
[dependencies.unicode-width] |
| 67 |
version = "0.2" |
| 68 |
optional = true |
| 69 |
|
| 70 |
[dev-dependencies.proptest] |
| 71 |
version = "1.0.0" |
| 72 |
features = [ |
| 73 |
"std", |
| 74 |
"bit-set", |
| 75 |
"break-dead-code", |
| 76 |
] |
| 77 |
default-features = false |
| 78 |
|
| 79 |
[dev-dependencies.regex] |
| 80 |
version = "1.4.2" |
| 81 |
|
| 82 |
[target."cfg(windows)".dependencies.encode_unicode] |
| 83 |
version = "1" |
| 84 |
|
| 85 |
[target."cfg(windows)".dependencies.windows-sys] |
| 86 |
version = "0.61" |
| 87 |
features = [ |
| 88 |
"Win32_Foundation", |
| 89 |
"Win32_System_Console", |
| 90 |
"Win32_Storage_FileSystem", |
| 91 |
"Win32_UI_Input_KeyboardAndMouse", |
| 92 |
] |