count graphemes instead of chars in path length check

This commit is contained in:
sreedevk
2025-07-30 10:47:58 +00:00
parent 2191763b4d
commit da24efbb36
4 changed files with 12 additions and 3 deletions

7
Cargo.lock generated
View File

@@ -290,6 +290,7 @@ dependencies = [
"rayon",
"tempfile",
"threadpool",
"unicode-segmentation",
]
[[package]]
@@ -898,6 +899,12 @@ version = "1.0.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512"
[[package]]
name = "unicode-segmentation"
version = "1.12.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f6ccf251212114b54433ec949fd6a7841275f9ada20dddd2f29e9ceea4501493"
[[package]]
name = "unicode-width"
version = "0.1.14"