mirror of
https://gitlab.com/Anson-Projects/projects.git
synced 2025-06-15 22:46:48 +00:00
Fix ghost upload
This commit is contained in:
parent
009602ac4e
commit
a448e47ecd
793
ghost-upload/Cargo.lock
generated
793
ghost-upload/Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@ -6,14 +6,14 @@ edition = "2021"
|
|||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
reqwest = { version = "0.11.24", features = ["json"] }
|
reqwest = { version = "0.12.7", features = ["json"] }
|
||||||
feed-rs = "1.4.0"
|
feed-rs = "2.1.0"
|
||||||
serde = { version = "1.0.197", features = ["derive"] }
|
serde = { version = "1.0.197", features = ["derive"] }
|
||||||
tokio = { version = "1.36.0", features = ["full"] }
|
tokio = { version = "1.40.0", features = ["full"] }
|
||||||
jsonwebtoken = "9.2.0"
|
jsonwebtoken = "9.3.0"
|
||||||
serde_json = "1.0.114"
|
serde_json = "1.0.128"
|
||||||
clippy = "0.0.302"
|
clippy = "0.0.302"
|
||||||
hex = "0.4.3"
|
hex = "0.4.3"
|
||||||
chrono = "0.4.34"
|
chrono = "0.4.38"
|
||||||
futures = "0.3.30"
|
futures = "0.3.30"
|
||||||
maud = "0.26.0"
|
maud = "0.26.0"
|
||||||
|
@ -201,7 +201,7 @@ async fn main() {
|
|||||||
.expect("JWT encoding failed");
|
.expect("JWT encoding failed");
|
||||||
|
|
||||||
// Prepare the post data
|
// Prepare the post data
|
||||||
let mut entries = fetch_feed(feed).await;
|
let entries = fetch_feed(feed).await;
|
||||||
|
|
||||||
let post_exists_futures = entries.into_iter().map(|entry| {
|
let post_exists_futures = entries.into_iter().map(|entry| {
|
||||||
let entry_clone = entry.clone(); // Clone entry if necessary (depends on your data structure)
|
let entry_clone = entry.clone(); // Clone entry if necessary (depends on your data structure)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user