colorful and better interaction

Use colored texts.
Default enable feature clone.
Add panic hook to avoid program exit.
This commit is contained in:
2025-03-30 21:20:05 +08:00
parent 9d703833e4
commit ad98236e06
4 changed files with 35 additions and 12 deletions

12
Cargo.lock generated
View File

@@ -60,6 +60,15 @@ version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
[[package]]
name = "colored"
version = "3.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fde0e0ec90c9dfb3b4b1a0891a7dcd0e2bffde2f7efed5fe7c9bb00e5bfb915e"
dependencies = [
"windows-sys",
]
[[package]]
name = "console"
version = "0.15.11"
@@ -295,8 +304,9 @@ checksum = "30bde2b3dc3671ae49d8e2e9f044c7c005836e7a023ee57cffa25ab82764bb9e"
[[package]]
name = "mhws-tex-decompressor"
version = "0.1.2"
version = "0.1.3"
dependencies = [
"colored",
"dialoguer",
"eyre",
"indicatif",