fix: 引入 dunce 库规范化路径,移除手写的规范化逻辑 (#658)

This commit is contained in:
ᴀᴍᴛᴏᴀᴇʀ
2026-02-24 23:24:51 +08:00
committed by GitHub
parent b6c5b547a3
commit 681617cf02
4 changed files with 12 additions and 8 deletions

7
Cargo.lock generated
View File

@@ -370,6 +370,7 @@ dependencies = [
"croner",
"dashmap",
"dirs",
"dunce",
"enum_dispatch",
"float-ord",
"futures",
@@ -1087,6 +1088,12 @@ version = "0.15.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1aaf95b3e5c8f23aa320147307562d361db0ae0d51242340f558153b4eb2439b"
[[package]]
name = "dunce"
version = "1.0.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "92773504d58c093f6de2459af4af33faa518c13451eb8f2b5698ed3d36e7c813"
[[package]]
name = "either"
version = "1.15.0"