blob: d2c0d3eae30c5d261ec5da7702f648657a947075 [file] [log] [blame]
# 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 believe there's an error in this file please file an
# issue against the rust-lang/cargo repository. If you're
# editing this file be aware that the upstream Cargo.toml
# will likely look very different (and much more reasonable)
[package]
edition = "2018"
name = "crossterm"
version = "0.19.0"
authors = ["T. Post"]
exclude = ["target", "Cargo.lock"]
description = "A crossplatform terminal library for manipulating terminals."
documentation = "https://docs.rs/crossterm/"
readme = "README.md"
keywords = ["event", "color", "cli", "input", "terminal"]
categories = ["command-line-interface", "command-line-utilities"]
license = "MIT"
repository = "https://github.com/crossterm-rs/crossterm"
[package.metadata.docs.rs]
all-features = true
[lib]
name = "crossterm"
path = "src/lib.rs"
[[example]]
name = "event-stream-async-std"
required-features = ["event-stream"]
[[example]]
name = "event-stream-tokio"
required-features = ["event-stream"]
[dependencies.bitflags]
version = "1.2"
[dependencies.futures-core]
version = "0.3"
optional = true
default-features = false
[dependencies.lazy_static]
version = "1.4"
[dependencies.parking_lot]
version = "0.11"
[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true
[dev-dependencies.async-std]
version = "1.4"
[dev-dependencies.futures]
version = "0.3"
[dev-dependencies.futures-timer]
version = "3.0"
[dev-dependencies.tokio]
version = "1.0"
features = ["full"]
[features]
default = []
event-stream = ["futures-core"]
[target."cfg(unix)".dependencies.libc]
version = "0.2"
[target."cfg(unix)".dependencies.mio]
version = "0.7"
features = ["os-poll"]
[target."cfg(unix)".dependencies.signal-hook]
version = "0.1.15"
features = ["mio-0_7-support"]
[target."cfg(windows)".dependencies.crossterm_winapi]
version = "0.7.0"
[target."cfg(windows)".dependencies.winapi]
version = "0.3.9"
features = ["winuser"]