Source reconstructed at patch state 1 of 2 — not the installed (fully patched) source.
2 Debian patches touch this file
| 1 |
[package] |
| 2 |
name = "termina" |
| 3 |
version = "0.3.3" |
| 4 |
authors = ["Michael Davis <[email protected]>"] |
| 5 |
description = "A cross-platform VT manipulation library" |
| 6 |
readme = "README.md" |
| 7 |
repository = "https://github.com/helix-editor/termina" |
| 8 |
edition = "2021" |
| 9 |
license = "MIT OR MPL-2.0" |
| 10 |
rust-version = "1.71" |
| 11 |
|
| 12 |
[features] |
| 13 |
default = [] |
| 14 |
event-stream = ["dep:futures-core"] |
| 15 |
windows-legacy = [ |
| 16 |
"windows-sys/Win32_UI_Input_KeyboardAndMouse", |
| 17 |
"windows-sys/Win32_UI_WindowsAndMessaging", |
| 18 |
] |
| 19 |
|
| 20 |
[dependencies] |
| 21 |
parking_lot = "0.12" |
| 22 |
bitflags = "2" |
| 23 |
futures-core = { version = "0.3", optional = true } |
| 24 |
|
| 25 |
[target.'cfg(unix)'.dependencies] |
| 26 |
signal-hook = ">= 0.3, <= 0.4" |
| 27 |
|
| 28 |
[target.'cfg(unix)'.dependencies.rustix] |
| 29 |
version = "1" |
| 30 |
default-features = false |
| 31 |
features = [ |
| 32 |
"std", |
| 33 |
"stdio", |
| 34 |
"termios", |
| 35 |
"event", |
| 36 |
] |
| 37 |
|
| 38 |
[target.'cfg(windows)'.dependencies.windows-sys] |
| 39 |
# TODO: this could probably be loosened. |
| 40 |
version = ">=0.60" |
| 41 |
default-features = false |
| 42 |
# https://microsoft.github.io/windows-rs/features/#/0.59.0/search |
| 43 |
features = [ |
| 44 |
# Interaction with the legacy and modern console APIs. |
| 45 |
"Win32_System_Console", |
| 46 |
# Writing files (including console handles). |
| 47 |
"Win32_Storage_FileSystem", |
| 48 |
"Win32_System_IO", |
| 49 |
# Polling for input. |
| 50 |
"Win32_System_Threading", |
| 51 |
"Win32_Security", |
| 52 |
] |
| 53 |
|
| 54 |
[[example]] |
| 55 |
name = "event-read" |
| 56 |
required-features = ["windows-legacy"] |