mirror of
https://github.com/wez/wezterm.git
synced 2024-12-23 21:32:13 +03:00
f4105cb42f
Using a boxed slice means that we hold exactly the memory required for the file data, rather than the next-power-of-two, which can be wasteful when a large number of images are being sent to the terminal. This is a API breaking change for termwiz, so bump its version. refs: #534
68 lines
1.4 KiB
TOML
68 lines
1.4 KiB
TOML
[package]
|
|
authors = ["Wez Furlong"]
|
|
name = "termwiz"
|
|
version = "0.12.0"
|
|
edition = "2018"
|
|
repository = "https://github.com/wez/wezterm"
|
|
description = "Terminal Wizardry for Unix and Windows"
|
|
license = "MIT"
|
|
documentation = "https://docs.rs/termwiz"
|
|
keywords = ["terminal", "readline", "console", "curses"]
|
|
readme = "README.md"
|
|
|
|
[dependencies]
|
|
base64 = "0.13"
|
|
bitflags = "1.0"
|
|
cassowary = {version="0.3", optional=true}
|
|
cfg-if = "1.0"
|
|
anyhow = "1.0"
|
|
filedescriptor = { version="0.7", path = "../filedescriptor" }
|
|
fnv = {version="1.0", optional=true}
|
|
lazy_static = "1.4"
|
|
libc = "0.2"
|
|
log = "0.4"
|
|
memmem = "0.1"
|
|
num-traits = "0.2"
|
|
ordered-float = "2.1"
|
|
regex = "1"
|
|
semver = "0.11"
|
|
serde = {version="1.0", features = ["rc", "derive"], optional=true}
|
|
terminfo = "0.7"
|
|
thiserror = "1.0"
|
|
unicode-segmentation = "1.7"
|
|
unicode-width = "0.1"
|
|
xi-unicode = "0.3"
|
|
vtparse = { version="0.4", path="../vtparse" }
|
|
|
|
[features]
|
|
widgets = ["cassowary", "fnv"]
|
|
use_serde = ["serde"]
|
|
docs = ["widgets", "use_serde"]
|
|
|
|
[dev-dependencies]
|
|
varbincode = "0.1"
|
|
pretty_assertions = "0.6"
|
|
|
|
[dependencies.num-derive]
|
|
features = ["full-syntax"]
|
|
version = "0.3"
|
|
|
|
[target."cfg(unix)".dependencies]
|
|
signal-hook = "0.1"
|
|
termios = "0.3"
|
|
[target."cfg(windows)".dependencies.winapi]
|
|
features = [
|
|
"winbase",
|
|
"winerror",
|
|
"winuser",
|
|
"consoleapi",
|
|
"handleapi",
|
|
"fileapi",
|
|
"synchapi",
|
|
]
|
|
version = "0.3"
|
|
|
|
[package.metadata.docs.rs]
|
|
features = ["docs"]
|
|
rustdoc-args = ["--cfg", "feature=\"docs\""]
|