1
0
mirror of https://gitlab.com/Anson-Projects/zine.git synced 2025-07-27 00:31:23 +00:00

bump deps

This commit is contained in:
2025-02-27 17:02:18 -07:00
parent 481bbc4b93
commit 0d070e29eb
3 changed files with 257 additions and 210 deletions

View File

@@ -4,7 +4,7 @@ extern crate maud;
extern crate reqwest;
use rand::seq::SliceRandom;
use rand::thread_rng;
use rand::rng;
use std::collections::HashSet;
use std::error::Error;
use std::fs::write;
@@ -57,7 +57,7 @@ fn main() -> Result<(), Box<dyn Error>> {
let mut old_posts = all_posts;
old_posts.retain(|p| !posts.contains(p));
old_posts.shuffle(&mut thread_rng());
old_posts.shuffle(&mut rng());
let mut archive_posts: Vec<utilities::Post> = Vec::new();