| 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 |
|
| 16 |
[dependencies] |
| 17 |
parking_lot = "0.12" |
| 18 |
bitflags = "2" |
| 19 |
futures-core = { version = "0.3", optional = true } |
| 20 |
|
| 21 |
[target.'cfg(unix)'.dependencies] |
| 22 |
signal-hook = "0.3" |
| 23 |
|
| 24 |
[target.'cfg(unix)'.dependencies.rustix] |
| 25 |
version = "1" |
| 26 |
default-features = false |
| 27 |
features = [ |
| 28 |
"std", |
| 29 |
"stdio", |
| 30 |
"termios", |
| 31 |
"event", |
| 32 |
] |
| 33 |
|
| 34 |
[[example]] |
| 35 |
name = "event-read" |
| 36 |
required-features = ["windows-legacy"] |