* chore: 简单引入字幕模块(WIP) * feat: 初步支持弹幕下载 * feat: 尝试在维持视频比例的基础上对齐视频高度,通过标记 'static 移除生命周期参数 * chore: 在数据库中记录视频页的宽高和长度 * fix: 修复各种错误,移除无用代码
54 lines
1.2 KiB
TOML
54 lines
1.2 KiB
TOML
[package]
|
|
name = "bili-sync"
|
|
version = "2.0.0"
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
anyhow = { version = "1.0.81", features = ["backtrace"] }
|
|
arc-swap = { version = "1.7", features = ["serde"] }
|
|
async-stream = "0.3.5"
|
|
chrono = { version = "0.4.35", features = ["serde"] }
|
|
cookie = "0.18.0"
|
|
dirs = "5.0.1"
|
|
entity = { path = "entity" }
|
|
env_logger = "0.11.3"
|
|
filenamify = "0.1.0"
|
|
float-ord = "0.3.2"
|
|
futures = "0.3.30"
|
|
handlebars = "5.1.2"
|
|
hex = "0.4.3"
|
|
log = "0.4.21"
|
|
memchr = "2.5.0"
|
|
migration = { path = "migration" }
|
|
once_cell = "1.19.0"
|
|
prost = "0.12.4"
|
|
quick-xml = { version = "0.31.0", features = ["async-tokio"] }
|
|
rand = "0.8.5"
|
|
regex = "1.10.3"
|
|
reqwest = { version = "0.12.0", features = [
|
|
"json",
|
|
"stream",
|
|
"cookies",
|
|
"gzip",
|
|
] }
|
|
rsa = { version = "0.9.6", features = ["sha2"] }
|
|
sea-orm = { version = "0.12", features = [
|
|
"sqlx-sqlite",
|
|
"runtime-tokio-native-tls",
|
|
"macros",
|
|
] }
|
|
serde = { version = "1.0.197", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
strum = { version = "0.26", features = ["derive"] }
|
|
thiserror = "1.0.58"
|
|
tokio = { version = "1", features = ["full"] }
|
|
toml = "0.8.12"
|
|
|
|
[workspace]
|
|
members = [".", "entity", "migration"]
|
|
|
|
[profile.release]
|
|
strip = true
|
|
lto = "thin"
|
|
codegen-units = 1
|