From 78e49368e601a5ce56337dba3df8a8eaccc443f8 Mon Sep 17 00:00:00 2001 From: Adrian Kumpf <8999358+adriankumpf@users.noreply.github.com> Date: Thu, 10 Apr 2025 17:17:13 +0200 Subject: [PATCH] Bump edition to 2024 --- Cargo.toml | 2 +- src/main.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 9a7a6f4..bfaf6be 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,7 +7,7 @@ repository = "https://github.com/adriankumpf/tesla_auth" keywords = ["tesla-api", "oauth2", "webview", "cli"] categories = ["command-line-utilities"] authors = ["Adrian Kumpf"] -edition = "2021" +edition = "2024" license = "MIT OR Apache-2.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/src/main.rs b/src/main.rs index 9146279..34d1772 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,6 +1,6 @@ use std::borrow::Cow; use std::collections::HashMap; -use std::sync::mpsc::{channel, Sender}; +use std::sync::mpsc::{Sender, channel}; use std::thread; use log::LevelFilter;