Add TUI stub

This commit is contained in:
2024-04-23 00:36:06 +02:00
parent ccf1b78ce8
commit 2f039c0b1d
4 changed files with 163 additions and 0 deletions

View File

@@ -13,6 +13,7 @@ itertools = "0.12.1"
log = "0.4.21"
nix = { version = "0.28.0", features = ["user"] }
prettytable = "0.10.0"
ratatui = { version = "0.26.2", optional = true }
rpassword = "7.3.1"
serde = "1.0.198"
serde_json = "1.0.116"
@@ -20,6 +21,9 @@ sqlx = { version = "0.7.4", features = ["runtime-tokio", "mysql", "tls-rustls"]
tokio = { version = "1.37.0", features = ["rt-multi-thread", "macros"] }
toml = "0.8.12"
[features]
tui = ["dep:ratatui"]
[[bin]]
name = "mysqladm"
bench = false