feat: 进程内动态库插件系统

This commit is contained in:
lanyeeee
2026-03-11 08:57:43 +08:00
parent 6be3289d93
commit 933f8000dd
26 changed files with 2011 additions and 52 deletions
+22 -1
View File
@@ -286,9 +286,11 @@ name = "bilibili-video-downloader"
version = "0.1.0"
dependencies = [
"base64 0.22.1",
"bilibili-video-downloader-plugin-api",
"byteorder",
"bytes",
"chrono",
"dlopen2 0.8.2",
"eyre",
"float-ord",
"fs4",
@@ -323,6 +325,13 @@ dependencies = [
"yaserde",
]
[[package]]
name = "bilibili-video-downloader-plugin-api"
version = "0.1.0"
dependencies = [
"serde",
]
[[package]]
name = "bitflags"
version = "1.3.2"
@@ -861,6 +870,18 @@ dependencies = [
"winapi",
]
[[package]]
name = "dlopen2"
version = "0.8.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5e2c5bd4158e66d1e215c49b837e11d62f3267b30c92f1d171c4d3105e3dc4d4"
dependencies = [
"dlopen2_derive",
"libc",
"once_cell",
"winapi",
]
[[package]]
name = "dlopen2_derive"
version = "0.4.1"
@@ -4186,7 +4207,7 @@ dependencies = [
"core-graphics",
"crossbeam-channel",
"dispatch",
"dlopen2",
"dlopen2 0.7.0",
"dpi",
"gdkwayland-sys",
"gdkx11-sys",