Cleanup of unused imports
This commit is contained in:
parent
7cd56e530d
commit
f0da95ffae
3 changed files with 5 additions and 12 deletions
|
@ -1,12 +1,10 @@
|
||||||
use std::collections::HashMap;
|
use std::collections::HashMap;
|
||||||
use std::error::Error;
|
use std::error::Error;
|
||||||
use std::fmt::format;
|
|
||||||
use std::ops::Deref;
|
|
||||||
use std::sync::{Arc};
|
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::newtypes::{CommunityId, LanguageId};
|
||||||
use lemmy_db_schema::PostFeatureType;
|
use lemmy_db_schema::PostFeatureType;
|
||||||
use tokio::sync::{RwLock, RwLockWriteGuard, RwLockReadGuard};
|
use tokio::sync::{RwLock, RwLockWriteGuard};
|
||||||
use crate::{jnovel, lemmy, Message, SharedData};
|
use crate::{jnovel, lemmy, Message, SharedData};
|
||||||
use crate::config::{Config, PostBody, SeriesConfig};
|
use crate::config::{Config, PostBody, SeriesConfig};
|
||||||
use crate::jnovel::PostInfo;
|
use crate::jnovel::PostInfo;
|
||||||
|
|
|
@ -3,7 +3,6 @@ use std::collections::HashMap;
|
||||||
use std::error::Error;
|
use std::error::Error;
|
||||||
use std::ops::Sub;
|
use std::ops::Sub;
|
||||||
use chrono::{DateTime, Duration, Utc};
|
use chrono::{DateTime, Duration, Utc};
|
||||||
use lemmy_db_schema::source::post::Post;
|
|
||||||
use serde_derive::{Deserialize, Serialize};
|
use serde_derive::{Deserialize, Serialize};
|
||||||
use url::Url;
|
use url::Url;
|
||||||
use crate::{HTTP_CLIENT};
|
use crate::{HTTP_CLIENT};
|
||||||
|
|
|
@ -2,18 +2,14 @@ use std::collections::HashMap;
|
||||||
use std::env;
|
use std::env;
|
||||||
use std::env::VarError;
|
use std::env::VarError;
|
||||||
use std::error::Error;
|
use std::error::Error;
|
||||||
use chrono::NaiveDateTime;
|
use lemmy_api_common::community::{ListCommunities};
|
||||||
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::person::{Login, LoginResponse};
|
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_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 lemmy_db_schema::{ListingType, PostFeatureType, SubscribedType};
|
||||||
use reqwest::StatusCode;
|
use reqwest::StatusCode;
|
||||||
use serde_derive::{Deserialize, Serialize};
|
use serde_derive::{Deserialize, Serialize};
|
||||||
use serde_json::json;
|
|
||||||
use url::Url;
|
use url::Url;
|
||||||
use crate::HTTP_CLIENT;
|
use crate::HTTP_CLIENT;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue