feat: 后端支持视频下载

This commit is contained in:
lanyeeee
2025-07-22 06:09:36 +08:00
parent 9f4a2b6099
commit a1649e6a07
24 changed files with 2469 additions and 13 deletions
+25
View File
@@ -268,7 +268,12 @@ name = "bilibili-video-downloader"
version = "0.1.0"
dependencies = [
"anyhow",
"byteorder",
"bytes",
"chrono",
"fs4",
"notify",
"num_enum",
"parking_lot 0.12.4",
"reqwest",
"reqwest-middleware",
@@ -277,6 +282,7 @@ dependencies = [
"serde_json",
"specta",
"specta-typescript",
"strfmt",
"tauri",
"tauri-build",
"tauri-plugin-opener",
@@ -285,6 +291,7 @@ dependencies = [
"tracing",
"tracing-appender",
"tracing-subscriber",
"uuid",
]
[[package]]
@@ -513,8 +520,10 @@ checksum = "c469d952047f47f91b68d1cba3f10d63c11d73e4636f24f08daf0278abf01c4d"
dependencies = [
"android-tzdata",
"iana-time-zone",
"js-sys",
"num-traits",
"serde",
"wasm-bindgen",
"windows-link",
]
@@ -1044,6 +1053,16 @@ dependencies = [
"percent-encoding",
]
[[package]]
name = "fs4"
version = "0.13.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8640e34b88f7652208ce9e88b1a37a2ae95227d84abec377ccd3c5cfeb141ed4"
dependencies = [
"rustix",
"windows-sys 0.59.0",
]
[[package]]
name = "fsevent-sys"
version = "4.1.0"
@@ -3824,6 +3843,12 @@ version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f"
[[package]]
name = "strfmt"
version = "0.2.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7a8348af2d9fc3258c8733b8d9d8db2e56f54b2363a4b5b81585c7875ed65e65"
[[package]]
name = "string_cache"
version = "0.8.9"