cargo fix

This commit is contained in:
Olivier 'reivilibre' 2024-01-13 19:51:36 +00:00
parent 1d737c261b
commit a330ced1aa
3 changed files with 4 additions and 4 deletions

View File

@ -6,7 +6,7 @@ use sqlx::{types::Uuid, Connection, PgPool, Postgres, Transaction};
use tracing::error; use tracing::error;
use crate::web::login::{ use crate::web::login::{
LoginSession, LOGIN_SESSION_CSRF_SECRET_BYTES, LOGIN_SESSION_TOKEN_BYTES, LoginSession, LOGIN_SESSION_CSRF_SECRET_BYTES,
LOGIN_SESSION_TOKEN_HASH_BYTES, LOGIN_SESSION_TOKEN_HASH_BYTES,
}; };

View File

@ -7,10 +7,10 @@ use axum::{
Extension, Form, Extension, Form,
}; };
use axum_csrf::CsrfToken; use axum_csrf::CsrfToken;
use base64::{prelude::BASE64_URL_SAFE_NO_PAD, Engine};
use eyre::{Context, ContextCompat}; use eyre::{Context, ContextCompat};
use rand::Rng;
use serde::{Deserialize, Serialize}; use serde::{Deserialize, Serialize};
use tracing::{error, info}; use tracing::{error, info};

View File

@ -3,7 +3,7 @@ use std::{
fmt::Display, fmt::Display,
str::FromStr, str::FromStr,
sync::{Arc, Mutex}, sync::{Arc, Mutex},
time::{Duration, Instant, SystemTime, UNIX_EPOCH}, time::{Duration, SystemTime, UNIX_EPOCH},
}; };
use base64::{display::Base64Display, prelude::BASE64_URL_SAFE_NO_PAD, Engine}; use base64::{display::Base64Display, prelude::BASE64_URL_SAFE_NO_PAD, Engine};