fix: move anyhow/chrono/dirs/md5/regex back to [dependencies] section

This commit is contained in:
jackwener
2026-04-16 23:31:41 +08:00
parent 2afea74eb9
commit 3413f6c8f4
+4 -4
View File
@@ -38,10 +38,6 @@ pbkdf2 = "0.12"
# 解压
zstd = "0.13"
# IPC Windows named pipe(Unix 直接用 tokio::net::UnixListener)
[target.'cfg(windows)'.dependencies]
interprocess = { version = "2", features = ["tokio"] }
# 错误处理
anyhow = "1"
@@ -57,6 +53,10 @@ md5 = "0.7"
# 正则表达式
regex = "1"
# IPC Windows named pipe(Unix 直接用 tokio::net::UnixListener)
[target.'cfg(windows)'.dependencies]
interprocess = { version = "2", features = ["tokio"] }
[target.'cfg(unix)'.dependencies]
libc = "0.2"