mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-23 21:51:56 +00:00
76a4ffc70e
* implement syntax highlighting for preview text * remove errant lifetimes Co-authored-by: Adam Perkowski <adas1per@protonmail.com> * remove errant lifetimes Co-authored-by: Adam Perkowski <adas1per@protonmail.com> * update Cargo.lock * only iterate over visible lines * break lines up on init * implement side scrolling * Remove unnecessary #![soft_unstable] This was accidentally left in from benching --------- Co-authored-by: Adam Perkowski <adas1per@protonmail.com>
40 lines
1.0 KiB
TOML
40 lines
1.0 KiB
TOML
[package]
|
|
name = "linutil_tui"
|
|
description = "Chris Titus Tech's Linux Toolbox - Linutil is a distro-agnostic toolbox designed to simplify everyday Linux tasks."
|
|
documentation = "https://christitustech.github.io/linutil"
|
|
readme = "../README.md"
|
|
edition = "2021"
|
|
license.workspace = true
|
|
repository = "https://github.com/ChrisTitusTech/linutil/tree/main/tui"
|
|
version.workspace = true
|
|
include = ["src/*.rs", "Cargo.toml", "build.rs", "cool_tips.txt"]
|
|
build = "build.rs"
|
|
|
|
[features]
|
|
default = ["tips"]
|
|
tips = ["rand"]
|
|
|
|
[dependencies]
|
|
clap = { version = "4.5.16", features = ["derive"] }
|
|
crossterm = "0.28.1"
|
|
ego-tree = { workspace = true }
|
|
oneshot = "0.1.8"
|
|
portable-pty = "0.8.1"
|
|
ratatui = "0.28.1"
|
|
tui-term = "0.1.12"
|
|
unicode-width = "0.1.13"
|
|
rand = { version = "0.8.5", optional = true }
|
|
linutil_core = { path = "../core", version = "24.9.19" }
|
|
tree-sitter-highlight = "0.23.0"
|
|
tree-sitter-bash = "0.23.1"
|
|
anstyle = "1.0.8"
|
|
ansi-to-tui = "6.0.0"
|
|
zips = "0.1.7"
|
|
|
|
[build-dependencies]
|
|
chrono = "0.4.33"
|
|
|
|
[[bin]]
|
|
name = "linutil"
|
|
path = "src/main.rs"
|