1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-25 14:22:37 +03:00
wezterm/term/Cargo.toml
Wez Furlong dab2dd5025 term: cache recently decoded images
This commit introduces a small, bounded, LRU cache for recently
decoded images.

This allows the same image ID to be used in the cache that the
same image bits are repeatedly sent to the terminal.

This is advantageous because it reduces the amount of texture
space required by the gui layer.
2020-10-25 11:59:44 -07:00

38 lines
836 B
TOML

[package]
authors = ["Wez Furlong <wez@wezfurlong.org>"]
name = "wezterm-term"
version = "0.1.0"
edition = "2018"
repository = "https://github.com/wez/wezterm"
description = "The Virtual Terminal Emulator core from wezterm; helpful for implementing terminal emulators"
license = "MIT"
documentation = "https://docs.rs/wezterm-term"
keywords = ["terminal", "emulator", "vte"]
readme = "README.md"
[features]
use_serde = ["termwiz/use_serde"]
[dependencies]
anyhow = "1.0"
bitflags = "1.0"
image = "0.23"
log = "0.4"
lru = "0.5"
num-traits = "0.2"
ordered-float = "1.0"
palette = "0.5"
serde = {version="1.0", features = ["rc"]}
sha2 = "0.9"
unicode-segmentation = "1.6"
unicode-width = "0.1"
url = "2"
[dev-dependencies]
pretty_assertions = "0.6"
pretty_env_logger = "0.4"
[dependencies.termwiz]
version = "0.11"
path = "../termwiz"