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