diff --git a/src/routes/instance.rs b/src/routes/instance.rs index 74887e48..a3be8c43 100644 --- a/src/routes/instance.rs +++ b/src/routes/instance.rs @@ -5,7 +5,6 @@ use rocket::{ use rocket_contrib::json::Json; use rocket_i18n::I18n; use scheduled_thread_pool::ScheduledThreadPool; -use serde_json; use std::path::PathBuf; use std::str::FromStr; use validator::{Validate, ValidationErrors}; diff --git a/src/routes/user.rs b/src/routes/user.rs index f3d57970..d55770e8 100644 --- a/src/routes/user.rs +++ b/src/routes/user.rs @@ -9,7 +9,6 @@ use rocket::{ response::{status, Content, Flash, Redirect}, }; use rocket_i18n::I18n; -use serde_json; use std::{borrow::Cow, collections::HashMap}; use validator::{Validate, ValidationError, ValidationErrors};