输出色彩重整,添加关键字高亮

This commit is contained in:
2026-05-29 17:50:14 +08:00
parent fed28ac388
commit c3e4fd7e48
5 changed files with 86 additions and 21 deletions
Generated
+10
View File
@@ -63,6 +63,7 @@ name = "rustgrep"
version = "0.1.0"
dependencies = [
"crossbeam",
"termcolor",
"walkdir",
]
@@ -75,6 +76,15 @@ dependencies = [
"winapi-util",
]
[[package]]
name = "termcolor"
version = "1.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "06794f8f6c5c898b3275aebefa6b8a1cb24cd2c6c79397ab15774837a0bc5755"
dependencies = [
"winapi-util",
]
[[package]]
name = "walkdir"
version = "2.5.0"