From 73e11d559608257dce86f19aff4b2b8d7898bf64 Mon Sep 17 00:00:00 2001 From: ddidderr Date: Sun, 1 Dec 2024 16:51:31 +0100 Subject: [PATCH] [rust] edition 2024 --- Cargo.toml | 3 ++- rust-toolchain.toml | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 rust-toolchain.toml diff --git a/Cargo.toml b/Cargo.toml index 0d615c7..f9ec3de 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,8 @@ [package] name = "expose-dir-via-http" version = "1.1.13" -edition = "2021" +edition = "2024" +rust-version = "1.85" [lints.rust] unsafe_code = "forbid" diff --git a/rust-toolchain.toml b/rust-toolchain.toml new file mode 100644 index 0000000..5d56faf --- /dev/null +++ b/rust-toolchain.toml @@ -0,0 +1,2 @@ +[toolchain] +channel = "nightly"