1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
[package]
name = "jolt-tui"
version.workspace = true
edition.workspace = true
license.workspace = true
description = "glimmer's terminal backend behind a C ABI"
publish = false
# Produces `libjolttui.so`. The retained-tree ABI `libvidya` exports, painted
# into a terminal instead of a window — so the jolt side picks a backend by
# naming a different shared object.
[lib]
name = "jolttui"
crate-type = ["cdylib", "rlib"]
[features]
# On by default; without it the crate still builds the tree, the layout and the
# painter, and `tui_headless` still works. That is what CI and the test suite
# use, and it is why a machine with no TTY can still build and check this.
default = ["terminal"]
terminal = ["dep:crossterm"]
[dependencies]
jolt-abi.workspace = true
log.workspace = true
crossterm = { version = "0.28", optional = true, default-features = false, features = ["events"] }
|