feat: 重构下载模块,将文件下载到临时目录再最终移动至目标路径 (#495)

This commit is contained in:
ᴀᴍᴛᴏᴀᴇʀ
2025-10-13 01:59:50 +08:00
committed by GitHub
parent eb2606f120
commit de702435af
6 changed files with 145 additions and 95 deletions
+1
View File
@@ -19,6 +19,7 @@ anyhow = { version = "1.0.100", features = ["backtrace"] }
arc-swap = { version = "1.7.1", features = ["serde"] }
assert_matches = "1.5.0"
async-stream = "0.3.6"
async-tempfile = {version = "0.7.0", features = ["uuid"]}
async-trait = "0.1.89"
axum = { version = "0.8.6", features = ["macros", "ws"] }
base64 = "0.22.1"