Compare commits

..

2 Commits

Author SHA1 Message Date
d59949a8c1
[rustfmt] edition 2021 -> 2024 2024-12-01 16:52:16 +01:00
73e11d5596
[rust] edition 2024 2024-12-01 16:51:31 +01:00
3 changed files with 5 additions and 2 deletions

View File

@ -1,7 +1,8 @@
[package] [package]
name = "expose-dir-via-http" name = "expose-dir-via-http"
version = "1.1.13" version = "1.1.13"
edition = "2021" edition = "2024"
rust-version = "1.85"
[lints.rust] [lints.rust]
unsafe_code = "forbid" unsafe_code = "forbid"

2
rust-toolchain.toml Normal file
View File

@ -0,0 +1,2 @@
[toolchain]
channel = "nightly"

View File

@ -5,7 +5,7 @@ use std::{
}; };
use actix_web::{App, HttpServer}; use actix_web::{App, HttpServer};
use clap::{crate_name, crate_version, Parser}; use clap::{Parser, crate_name, crate_version};
#[derive(Parser, Debug)] #[derive(Parser, Debug)]
#[clap(name = crate_name!(), version = crate_version!())] #[clap(name = crate_name!(), version = crate_version!())]