mirror of
https://github.com/helix-editor/termina.git
synced 2025-10-05 16:12:55 +02:00
49 lines
1.1 KiB
TOML
49 lines
1.1 KiB
TOML
[package]
|
|
name = "termina"
|
|
version = "0.1.1"
|
|
authors = ["Michael Davis <mcarsondavis@gmail.com>"]
|
|
description = "A cross-platform VT manipulation library"
|
|
readme = "README.md"
|
|
repository = "https://github.com/helix-editor/termina"
|
|
edition = "2021"
|
|
license = "MIT OR MPL-2.0"
|
|
rust-version = "1.70"
|
|
|
|
[features]
|
|
default = []
|
|
event-stream = ["dep:futures-core"]
|
|
|
|
[dependencies]
|
|
parking_lot = "0.12"
|
|
bitflags = "2"
|
|
futures-core = { version = "0.3", optional = true }
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
signal-hook = "0.3"
|
|
|
|
[target.'cfg(unix)'.dependencies.rustix]
|
|
version = "1"
|
|
default-features = false
|
|
features = [
|
|
"std",
|
|
"stdio",
|
|
"termios",
|
|
"event",
|
|
]
|
|
|
|
[target.'cfg(windows)'.dependencies.windows-sys]
|
|
# TODO: this could probably be loosened.
|
|
version = ">=0.59"
|
|
default-features = false
|
|
# https://microsoft.github.io/windows-rs/features/#/0.59.0/search
|
|
features = [
|
|
# Interaction with the legacy and modern console APIs.
|
|
"Win32_System_Console",
|
|
# Writing files (including console handles).
|
|
"Win32_Storage_FileSystem",
|
|
"Win32_System_IO",
|
|
# Polling for input.
|
|
"Win32_System_Threading",
|
|
"Win32_Security",
|
|
]
|