Refactor imports in various modules to streamline code and remove unused dependencies
This commit is contained in:
1 parent
ae885f3780
commit
1ebb16c15f
4 files changed
+5
-14
No files matched your search
@@ -1,4 +1,4 @@
|
||||
use serde::{Deserialize, Serialize}; // Added Serialize for potential use, Deserialize is essential
|
||||
use serde::Deserialize; // Added Serialize for potential use, Deserialize is essential
|
||||
use std::error::Error;
|
||||
use std::path::Path;
|
||||
use crate::{HttpClient};
|
||||
@@ -6,7 +6,7 @@ use crate::models::repository::{RepositoryPlugin, RepositorySource};
|
||||
use urlencoding;
|
||||
use async_trait::async_trait;
|
||||
use std::sync::Arc;
|
||||
use std::time::{SystemTime, UNIX_EPOCH}; // For converting timestamp
|
||||
use std::time::SystemTime; // For converting timestamp
|
||||
use base64::{Engine as _, engine::general_purpose::STANDARD}; // Correct import with Engine trait
|
||||
use serde_json::Value; // Import Value
|
||||
use crate::crawlers::Repository; // Use the correct trait import
|
||||
|
||||
Reference in new issue
Block a user