107 lines
2.1 KiB
TOML
107 lines
2.1 KiB
TOML
# 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.66"
|
|
name = "console"
|
|
version = "0.15.11"
|
|
authors = ["Armin Ronacher <armin.ronacher@active-4.com>"]
|
|
build = false
|
|
autolib = false
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
description = "A terminal and console abstraction for Rust"
|
|
homepage = "https://github.com/console-rs/console"
|
|
documentation = "https://docs.rs/console"
|
|
readme = "README.md"
|
|
keywords = [
|
|
"cli",
|
|
"terminal",
|
|
"colors",
|
|
"console",
|
|
"ansi",
|
|
]
|
|
license = "MIT"
|
|
repository = "https://github.com/console-rs/console"
|
|
|
|
[features]
|
|
ansi-parsing = []
|
|
default = [
|
|
"unicode-width",
|
|
"ansi-parsing",
|
|
]
|
|
windows-console-colors = ["ansi-parsing"]
|
|
|
|
[lib]
|
|
name = "console"
|
|
path = "src/lib.rs"
|
|
|
|
[[example]]
|
|
name = "colors"
|
|
path = "examples/colors.rs"
|
|
|
|
[[example]]
|
|
name = "colors256"
|
|
path = "examples/colors256.rs"
|
|
|
|
[[example]]
|
|
name = "cursor_at"
|
|
path = "examples/cursor_at.rs"
|
|
|
|
[[example]]
|
|
name = "keyboard"
|
|
path = "examples/keyboard.rs"
|
|
|
|
[[example]]
|
|
name = "term"
|
|
path = "examples/term.rs"
|
|
|
|
[[bench]]
|
|
name = "ansi_parser"
|
|
path = "benches/ansi_parser.rs"
|
|
|
|
[dependencies.libc]
|
|
version = "0.2.99"
|
|
|
|
[dependencies.once_cell]
|
|
version = "1.8"
|
|
|
|
[dependencies.unicode-width]
|
|
version = "0.2"
|
|
optional = true
|
|
|
|
[dev-dependencies.proptest]
|
|
version = "1.0.0"
|
|
features = [
|
|
"std",
|
|
"bit-set",
|
|
"break-dead-code",
|
|
]
|
|
default-features = false
|
|
|
|
[dev-dependencies.regex]
|
|
version = "1.4.2"
|
|
|
|
[target."cfg(windows)".dependencies.encode_unicode]
|
|
version = "1"
|
|
|
|
[target."cfg(windows)".dependencies.windows-sys]
|
|
version = "0.59"
|
|
features = [
|
|
"Win32_Foundation",
|
|
"Win32_System_Console",
|
|
"Win32_Storage_FileSystem",
|
|
"Win32_UI_Input_KeyboardAndMouse",
|
|
]
|