termina 0.2.0

A cross-platform VT manipulation library
Documentation
# 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.71"
name = "termina"
version = "0.2.0"
authors = ["Michael Davis <mcarsondavis@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A cross-platform VT manipulation library"
readme = "README.md"
license = "MIT OR MPL-2.0"
repository = "https://github.com/helix-editor/termina"

[features]
default = []
event-stream = ["dep:futures-core"]
windows-legacy = [
    "windows-sys/Win32_UI_Input_KeyboardAndMouse",
    "windows-sys/Win32_UI_WindowsAndMessaging",
]

[lib]
name = "termina"
path = "src/lib.rs"

[[example]]
name = "colors"
path = "examples/colors.rs"

[[example]]
name = "detect-features"
path = "examples/detect-features.rs"

[[example]]
name = "event-read"
path = "examples/event-read.rs"
required-features = ["windows-legacy"]

[[example]]
name = "window-title"
path = "examples/window-title.rs"

[dependencies.bitflags]
version = "2"

[dependencies.futures-core]
version = "0.3"
optional = true

[dependencies.parking_lot]
version = "0.12"

[target."cfg(unix)".dependencies.rustix]
version = "1"
features = [
    "std",
    "stdio",
    "termios",
    "event",
]
default-features = false

[target."cfg(unix)".dependencies.signal-hook]
version = "0.3"

[target."cfg(windows)".dependencies.windows-sys]
version = ">=0.60"
features = [
    "Win32_System_Console",
    "Win32_Storage_FileSystem",
    "Win32_System_IO",
    "Win32_System_Threading",
    "Win32_Security",
]
default-features = false