1
0
mirror of https://github.com/actix/examples synced 2025-06-26 17:17:42 +02:00

chore: fmt

This commit is contained in:
Rob Ede
2025-03-21 06:07:31 +00:00
parent a7527d72f3
commit 04f8cba71b
98 changed files with 828 additions and 650 deletions

View File

@ -3,7 +3,7 @@ use std::{
sync::{Arc, Mutex},
};
use actix_web::{web::Data, App, HttpServer};
use actix_web::{App, HttpServer, web::Data};
use chrono::{DateTime, Utc};
mod ephemeral_jobs;

View File

@ -1,14 +1,13 @@
use actix_web::{
error, get, post,
HttpResponse, Responder, error, get, post,
web::{self, Data},
HttpResponse, Responder,
};
use apalis::prelude::*;
use apalis_redis::RedisStorage;
use chrono::{TimeDelta, Utc};
use serde::Deserialize;
use crate::{persistent_jobs::Email, ItemCache};
use crate::{ItemCache, persistent_jobs::Email};
#[derive(Debug, Deserialize)]
pub(crate) struct CacheInsert {