# 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" name = "crossterm" version = "0.26.1" 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-read" required-features = ["bracketed-paste"] [[example]] name = "event-stream-async-std" required-features = ["event-stream"] [[example]] name = "event-stream-tokio" required-features = ["event-stream"] [dependencies.bitflags] version = "1.3" [dependencies.futures-core] version = "0.3" optional = true default-features = false [dependencies.parking_lot] version = "0.12" [dependencies.serde] version = "1.0" features = ["derive"] optional = true [dev-dependencies.async-std] version = "1.12" [dev-dependencies.futures] version = "0.3" [dev-dependencies.futures-timer] version = "3.0" [dev-dependencies.serde_json] version = "1.0" [dev-dependencies.tokio] version = "1.25" features = ["full"] [features] bracketed-paste = [] default = ["bracketed-paste"] event-stream = ["futures-core"] use-dev-tty = ["filedescriptor"] [target."cfg(unix)".dependencies.filedescriptor] version = "0.8" optional = true [target."cfg(unix)".dependencies.libc] version = "0.2" [target."cfg(unix)".dependencies.mio] version = "0.8" features = ["os-poll"] [target."cfg(unix)".dependencies.signal-hook] version = "0.3.13" [target."cfg(unix)".dependencies.signal-hook-mio] version = "0.2.3" features = ["support-v0_8"] [target."cfg(windows)".dependencies.crossterm_winapi] version = "0.9" [target."cfg(windows)".dependencies.winapi] version = "0.3.9" features = [ "winuser", "winerror", ]