fix: underscore unused config var in data

This commit is contained in:
Radical 2025-05-01 20:15:38 +02:00
parent 2864196584
commit 1646e60e65

View file

@ -21,7 +21,7 @@ struct Args {
#[derive(Clone)] #[derive(Clone)]
struct Data { struct Data {
pub pool: Pool<Postgres>, pub pool: Pool<Postgres>,
pub config: Config, pub _config: Config,
pub argon2: Argon2<'static>, pub argon2: Argon2<'static>,
pub start_time: SystemTime, pub start_time: SystemTime,
} }
@ -70,7 +70,7 @@ async fn main() -> Result<(), Error> {
let data = Data { let data = Data {
pool, pool,
config, _config: config,
// TODO: Possibly implement "pepper" into this (thinking it could generate one if it doesnt exist and store it on disk) // TODO: Possibly implement "pepper" into this (thinking it could generate one if it doesnt exist and store it on disk)
argon2: Argon2::default(), argon2: Argon2::default(),
start_time: SystemTime::now(), start_time: SystemTime::now(),