Remove unused imports

This commit is contained in:
Neshura 2023-07-30 20:34:05 +02:00
parent 08786bdd69
commit cf82a4535b
Signed by: Neshura
GPG key ID: B6983AAA6B9A7A6C
2 changed files with 3 additions and 3 deletions

View file

@ -1,6 +1,6 @@
use std::{fs::{self, OpenOptions}, path::Path, io::Write, thread::sleep, time}; use std::{fs::{self, OpenOptions}, path::Path, io::Write, thread::sleep, time};
use lemmy_api_common::{sensitive::Sensitive, post::CreatePost, community::{self, ListCommunities, ListCommunitiesResponse}}; use lemmy_api_common::{sensitive::Sensitive, post::CreatePost, community::{ListCommunities, ListCommunitiesResponse}};
use lemmy_db_schema::{newtypes::{LanguageId, CommunityId}, ListingType}; use lemmy_db_schema::{newtypes::{LanguageId, CommunityId}, ListingType};
use serde_derive::{Deserialize, Serialize}; use serde_derive::{Deserialize, Serialize};
use url::Url; use url::Url;

View file

@ -1,4 +1,4 @@
use chrono::{Utc, DateTime, NaiveTime, FixedOffset, TimeZone, NaiveDate, NaiveDateTime}; use chrono::{Utc, DateTime, NaiveTime};
use config::{Config, PrevPost, Secrets, CommunitiesVector}; use config::{Config, PrevPost, Secrets, CommunitiesVector};
use lemmy_api_common::{ use lemmy_api_common::{
person::{Login, LoginResponse}, person::{Login, LoginResponse},
@ -10,7 +10,7 @@ use lemmy_db_schema::{
}; };
use once_cell::sync::Lazy; use once_cell::sync::Lazy;
use reqwest::{blocking::Client, StatusCode}; use reqwest::{blocking::Client, StatusCode};
use std::{thread::{sleep, self}, time::{self, Duration}, io, vec, str::FromStr}; use std::{thread::sleep, time, io};
mod config; mod config;