server (/fs/list): delete unused `use`

This commit is contained in:
MedzikUser 2022-05-03 11:30:02 +02:00
parent 380ba5b3cd
commit 7b05a6d407
No known key found for this signature in database
GPG Key ID: A5FAC1E185C112DB
3 changed files with 0 additions and 4 deletions

1
Cargo.lock generated
View File

@ -633,7 +633,6 @@ dependencies = [
"axum-auth", "axum-auth",
"base64", "base64",
"byte-unit", "byte-unit",
"chrono",
"homedisk-database", "homedisk-database",
"homedisk-types", "homedisk-types",
"hyper", "hyper",

View File

@ -17,4 +17,3 @@ axum-auth = "0.2.0"
jsonwebtoken = "8.1.0" jsonwebtoken = "8.1.0"
base64 = "0.13.0" base64 = "0.13.0"
byte-unit = "4.0.14" byte-unit = "4.0.14"
chrono = "0.4.19"

View File

@ -1,12 +1,10 @@
use std::path::PathBuf; use std::path::PathBuf;
use std::time::SystemTime;
use std::{fs, io}; use std::{fs, io};
use crate::fs::validate_path; use crate::fs::validate_path;
use axum::{extract::rejection::JsonRejection, Extension, Json}; use axum::{extract::rejection::JsonRejection, Extension, Json};
use axum_auth::AuthBearer; use axum_auth::AuthBearer;
use byte_unit::Byte; use byte_unit::Byte;
use chrono::{DateTime, NaiveDateTime, Utc};
use homedisk_database::Database; use homedisk_database::Database;
use homedisk_types::fs::list::DirInfo; use homedisk_types::fs::list::DirInfo;
use homedisk_types::{ use homedisk_types::{