Cleanup of unused imports

This commit is contained in:
Neshura 2023-12-17 20:19:24 +01:00
parent 7cd56e530d
commit f0da95ffae
Signed by: Neshura
GPG key ID: B6983AAA6B9A7A6C
3 changed files with 5 additions and 12 deletions

View file

@ -1,12 +1,10 @@
use std::collections::HashMap;
use std::error::Error;
use std::fmt::format;
use std::ops::Deref;
use std::sync::{Arc};
use chrono::{DateTime, Duration, NaiveDateTime, Timelike, Utc};
use chrono::{DateTime, Duration, Timelike, Utc};
use lemmy_db_schema::newtypes::{CommunityId, LanguageId};
use lemmy_db_schema::PostFeatureType;
use tokio::sync::{RwLock, RwLockWriteGuard, RwLockReadGuard};
use tokio::sync::{RwLock, RwLockWriteGuard};
use crate::{jnovel, lemmy, Message, SharedData};
use crate::config::{Config, PostBody, SeriesConfig};
use crate::jnovel::PostInfo;

View file

@ -3,7 +3,6 @@ use std::collections::HashMap;
use std::error::Error;
use std::ops::Sub;
use chrono::{DateTime, Duration, Utc};
use lemmy_db_schema::source::post::Post;
use serde_derive::{Deserialize, Serialize};
use url::Url;
use crate::{HTTP_CLIENT};

View file

@ -2,18 +2,14 @@ use std::collections::HashMap;
use std::env;
use std::env::VarError;
use std::error::Error;
use chrono::NaiveDateTime;
use lemmy_api_common::community::{ListCommunities, ListCommunitiesResponse};
use lemmy_api_common::lemmy_db_views::structs::PostView;
use lemmy_api_common::lemmy_db_views_actor::structs::CommunityView;
use lemmy_api_common::community::{ListCommunities};
use lemmy_api_common::person::{Login, LoginResponse};
use lemmy_api_common::post::{CreatePost, FeaturePost, GetPosts, GetPostsResponse};
use lemmy_api_common::post::{GetPosts};
use lemmy_api_common::sensitive::Sensitive;
use lemmy_db_schema::newtypes::{CommunityId, DbUrl, InstanceId, LanguageId, PersonId, PostId};
use lemmy_db_schema::newtypes::{CommunityId, InstanceId, LanguageId, PersonId, PostId};
use lemmy_db_schema::{ListingType, PostFeatureType, SubscribedType};
use reqwest::StatusCode;
use serde_derive::{Deserialize, Serialize};
use serde_json::json;
use url::Url;
use crate::HTTP_CLIENT;