From 1aa49ab2f008099a3de380a7e146a97dedb9873d Mon Sep 17 00:00:00 2001 From: Sven-Hendrik Haase Date: Fri, 7 Mar 2025 03:21:16 +0100 Subject: Upgrade to Rust 2024 edition --- src/config.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/config.rs') diff --git a/src/config.rs b/src/config.rs index 7d491c4..efec515 100644 --- a/src/config.rs +++ b/src/config.rs @@ -6,13 +6,13 @@ use std::{ }; use actix_web::http::header::HeaderMap; -use anyhow::{anyhow, Context, Result}; +use anyhow::{Context, Result, anyhow}; #[cfg(feature = "tls")] use rustls_pemfile as pemfile; use crate::{ - args::{parse_auth, CliArgs, MediaType}, + args::{CliArgs, MediaType, parse_auth}, auth::RequiredAuth, file_utils::sanitize_path, listing::{SortingMethod, SortingOrder}, -- cgit v1.2.3