mirror of
https://github.com/wez/wezterm.git
synced 2024-12-23 13:21:38 +03:00
1c9bd347c2
There were a a couple of issues: * `ImageData::hash` would re-hash the image on every call, and this was called for every cell that comprised an image on the mux server side * `SerializedLine` needed to understand how to remove the `Arc<ImageData>` image attachments so that we didn't serialize a complete copy of the image per cell that comprised the image. A new RPC was introduced to attempt to fetch `ImageData` given its content hash and pane, row and cell index as a hint to locate it. A client side LRU of content hash to `ImageData` is used to avoid issuing repeat calls to that new RPC. refs: #1237
42 lines
1.1 KiB
TOML
42 lines
1.1 KiB
TOML
[package]
|
|
name = "wezterm-client"
|
|
version = "0.1.0"
|
|
authors = ["Wez Furlong <wez@wezfurlong.org>"]
|
|
edition = "2018"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
anyhow = "1.0"
|
|
async-trait = "0.1"
|
|
async_ossl = { path = "../async_ossl" }
|
|
codec = { path = "../codec" }
|
|
config = { path = "../config" }
|
|
filedescriptor = { version="0.8", path = "../filedescriptor" }
|
|
futures = "0.3"
|
|
lazy_static = "1.4"
|
|
log = "0.4"
|
|
libc = "0.2"
|
|
lru = "0.7"
|
|
metrics = { version="0.17", features=["std"]}
|
|
mux = { path = "../mux" }
|
|
openssl = "0.10"
|
|
portable-pty = { path = "../pty", features = ["serde_support"]}
|
|
promise = { path = "../promise" }
|
|
rangeset = { path = "../rangeset" }
|
|
ratelim= { path = "../ratelim" }
|
|
smol = "1.2"
|
|
termwiz = { path = "../termwiz" }
|
|
textwrap = "0.15"
|
|
thiserror = "1.0"
|
|
umask = { path = "../umask" }
|
|
url = "2"
|
|
wezterm-ssh = { path = "../wezterm-ssh" }
|
|
wezterm-term = { path = "../term", features=["use_serde"] }
|
|
|
|
[target."cfg(windows)".dependencies]
|
|
uds_windows = "1.0"
|
|
winapi = { version = "0.3", features = [
|
|
"winuser",
|
|
]}
|