fork/wezterm

git clone https://git.julia.blue/fork/wezterm

Wez Furlongrefactor: extract wezterm-surface from termwiz2b15e4642

main
2.8 KiB92 linesraw
1[package]
2authors = ["Wez Furlong"]
3name = "termwiz"
4version = "0.24.0"
5edition = "2018"
6repository = "https://github.com/wezterm/wezterm"
7description = "Terminal Wizardry for Unix and Windows"
8license = "MIT"
9documentation = "https://docs.rs/termwiz"
10keywords = ["terminal", "readline", "console", "curses"]
11readme = "README.md"
12
13[dependencies]
14anyhow.workspace = true
15bitflags = "2.0"
16cassowary = {workspace=true, optional=true}
17fancy-regex.workspace = true
18filedescriptor.workspace = true
19finl_unicode.workspace = true
20fixedbitset.workspace = true
21fnv = {workspace=true, optional=true}
22image = {workspace=true, optional=true}
23libc.workspace = true
24log.workspace = true
25memmem.workspace = true
26num-derive.workspace = true
27num-traits.workspace = true
28ordered-float = {workspace = true, features=["std"]}
29pest = {workspace=true, optional=true}
30pest_derive = {workspace=true, optional=true}
31phf.workspace = true
32serde = {workspace=true, features = ["rc", "derive"], optional=true}
33sha2 = {workspace=true, optional=true}
34siphasher.workspace = true
35terminfo.workspace = true
36thiserror.workspace = true
37ucd-trie.workspace = true
38unicode-segmentation.workspace = true
39vtparse.workspace = true
40wezterm-bidi.workspace = true
41wezterm-blob-leases = {workspace=true, optional=true}
42wezterm-cell = {workspace = true, features=["std"]}
43wezterm-char-props.workspace = true
44wezterm-color-types = {workspace = true, features=["std"]}
45wezterm-dynamic = {workspace = true, features=["std"]}
46wezterm-escape-parser = {workspace = true, features=["std"]}
47wezterm-input-types.workspace = true
48wezterm-surface = {workspace = true, features=["std", "appdata"]}
49
50[features]
51default = ["image", "tmux_cc"]
52widgets = ["cassowary", "fnv"]
53use_serde = ["serde", "wezterm-color-types/use_serde", "wezterm-blob-leases/serde", "bitflags/serde", "wezterm-input-types/serde", "wezterm-escape-parser/use_serde", "wezterm-cell/use_serde", "wezterm-surface/use_serde"]
54use_image = ["image", "dep:image", "wezterm-escape-parser/use_image", "wezterm-escape-parser/kitty-shm", "wezterm-cell/use_image", "wezterm-surface/use_image"]
55image = ["sha2", "wezterm-blob-leases", "wezterm-escape-parser/image"]
56tmux_cc = ["pest", "pest_derive", "wezterm-escape-parser/tmux_cc"]
57docs = ["widgets", "use_serde", "image", "tmux_cc"]
58
59[dev-dependencies]
60criterion.workspace = true
61env_logger.workspace = true
62k9.workspace = true
63
64[target."cfg(unix)".dependencies]
65signal-hook.workspace = true
66termios.workspace = true
67nix = {workspace=true, features=["mman", "fs"]}
68
69[target."cfg(windows)".dependencies.winapi]
70features = [
71    "winbase",
72    "winerror",
73    "winnls",
74    "winuser",
75    "consoleapi",
76    "handleapi",
77    "fileapi",
78    "synchapi",
79    "memoryapi",
80    "winnt",
81    "impl-default"
82]
83workspace = true
84
85[package.metadata.docs.rs]
86features = ["docs"]
87rustdoc-args = ["--cfg", "feature=\"docs\""]
88
89[[bench]]
90name = "cell"
91harness = false
92