chore: update dependencies

This commit is contained in:
amtoaer
2026-06-08 16:26:47 +08:00
parent 791dd57f23
commit 837ab0bedb
3 changed files with 757 additions and 660 deletions
Generated
+728 -631
View File
File diff suppressed because it is too large Load Diff
+28 -28
View File
@@ -15,40 +15,40 @@ publish = false
bili_sync_entity = { path = "crates/bili_sync_entity" } bili_sync_entity = { path = "crates/bili_sync_entity" }
bili_sync_migration = { path = "crates/bili_sync_migration" } bili_sync_migration = { path = "crates/bili_sync_migration" }
anyhow = { version = "1.0.100", features = ["backtrace"] } anyhow = { version = "1.0.102", features = ["backtrace"] }
arc-swap = { version = "1.8.0", features = ["serde"] } arc-swap = { version = "1.9.1", features = ["serde"] }
async-stream = "0.3.6" async-stream = "0.3.6"
async-tempfile = { version = "0.7.0", features = ["uuid"] } async-tempfile = { version = "0.7.0", features = ["uuid"] }
async-trait = "0.1.89" async-trait = "0.1.89"
axum = { version = "0.8.8", features = ["macros", "ws"] } axum = { version = "0.8.9", features = ["macros", "ws"] }
base64 = "0.22.1" base64 = "0.22.1"
built = { version = "0.7.7", features = ["git2", "chrono"] } built = { version = "0.7.7", features = ["git2", "chrono"] }
chrono = { version = "0.4.42", features = ["serde"] } chrono = { version = "0.4.45", features = ["serde"] }
clap = { version = "4.5.54", features = ["env", "string"] } clap = { version = "4.6.1", features = ["env", "string"] }
cookie = "0.18.1" cookie = "0.18.1"
croner = "3.0.1" croner = "3.0.1"
dashmap = "6.1.0" dashmap = "6.2.1"
derivative = "2.2.0" derivative = "2.2.0"
dirs = "6.0.0" dirs = "6.0.0"
dunce = "1.0.5" dunce = "1.0.5"
either = "1.15.0" either = "1.16.0"
enum_dispatch = "0.3.13" enum_dispatch = "0.3.13"
float-ord = "0.3.2" float-ord = "0.3.2"
futures = "0.3.31" futures = "0.3.32"
git2 = { version = "0.20.3", features = [], default-features = false } git2 = { version = "0.20.4", features = [], default-features = false }
handlebars = "6.4.0" handlebars = "6.4.1"
hex = "0.4.3" hex = "0.4.3"
itertools = "0.14.0" itertools = "0.14.0"
leaky-bucket = "1.1.2" leaky-bucket = "1.1.2"
md5 = "0.8.0" md5 = "0.8.0"
memchr = "2.7.6" memchr = "2.8.1"
once_cell = "1.21.3" once_cell = "1.21.4"
parking_lot = "0.12.5" parking_lot = "0.12.5"
prost = "0.14.1" prost = "0.14.4"
quick-xml = { version = "0.38.4", features = ["async-tokio"] } quick-xml = { version = "0.38.4", features = ["async-tokio"] }
rand = "0.9.2" rand = "0.10.1"
regex = "1.12.2" regex = "1.12.3"
reqwest = { version = "0.13.1", features = [ reqwest = { version = "0.13.4", features = [
"query", "query",
"form", "form",
"charset", "charset",
@@ -59,32 +59,32 @@ reqwest = { version = "0.13.1", features = [
"rustls-no-provider", "rustls-no-provider",
"stream", "stream",
], default-features = false } ], default-features = false }
rsa = { version = "0.10.0-rc.9", features = ["sha2"] } rsa = { version = "0.10.0-rc.18", features = ["sha2"] }
rust-embed-for-web = { git = "https://github.com/amtoaer/rust-embed-for-web", tag = "v1.0.0" } rust-embed-for-web = { git = "https://github.com/amtoaer/rust-embed-for-web", tag = "v1.0.0" }
rustls = { version = "0.23.36", default-features = false, features = ["ring"] } rustls = { version = "0.23.40", default-features = false, features = ["ring"] }
sea-orm = { version = "1.1.19", features = [ sea-orm = { version = "1.1.20", features = [
"macros", "macros",
"runtime-tokio", "runtime-tokio",
"sqlx-sqlite", "sqlx-sqlite",
"sqlite-use-returning-for-3_35", "sqlite-use-returning-for-3_35",
] } ] }
sea-orm-migration = { version = "1.1.19", features = [] } sea-orm-migration = { version = "1.1.20", features = [] }
serde = { version = "1.0.228", features = ["derive"] } serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0.148" serde_json = "1.0.150"
serde_urlencoded = "0.7.1" serde_urlencoded = "0.7.1"
strum = { version = "0.27.2", features = ["derive"] } strum = { version = "0.27.2", features = ["derive"] }
sysinfo = "0.37.2" sysinfo = "0.37.2"
thiserror = "2.0.17" thiserror = "2.0.18"
tokio = { version = "1.49.0", features = ["full"] } tokio = { version = "1.52.3", features = ["full"] }
tokio-cron-scheduler = "0.15.1" tokio-cron-scheduler = "0.15.1"
tokio-stream = { version = "0.1.18", features = ["sync"] } tokio-stream = { version = "0.1.18", features = ["sync"] }
tokio-util = { version = "0.7.18", features = ["io", "rt"] } tokio-util = { version = "0.7.18", features = ["io", "rt"] }
toml = "0.9.10" toml = "0.9.12"
tower = "0.5.2" tower = "0.5.3"
tracing = "0.1.44" tracing = "0.1.44"
tracing-subscriber = { version = "0.3.22", features = ["chrono", "json"] } tracing-subscriber = { version = "0.3.23", features = ["chrono", "json"] }
ua_generator = { version = "0.5.42", default-features = false } ua_generator = { version = "0.5.65", default-features = false }
uuid = { version = "1.19.0", features = ["v4"] } uuid = { version = "1.23.2", features = ["v4"] }
validator = { version = "0.20.0", features = ["derive"] } validator = { version = "0.20.0", features = ["derive"] }
[workspace.metadata.release] [workspace.metadata.release]
+1 -1
View File
@@ -205,7 +205,7 @@ JNrRuoEUXpabUzGB8QIDAQAB
let ts = chrono::Local::now().timestamp_millis() - 20000; let ts = chrono::Local::now().timestamp_millis() - 20000;
let data = format!("refresh_{}", ts).into_bytes(); let data = format!("refresh_{}", ts).into_bytes();
let encrypted = key let encrypted = key
.encrypt(&mut rand::rng(), Oaep::new::<Sha256>(), &data) .encrypt(&mut rand::rng(), Oaep::<Sha256>::new(), &data)
.expect("fail to encrypt"); .expect("fail to encrypt");
hex::encode(encrypted) hex::encode(encrypted)
} }