summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSebastian Holmin <sebastian.holmin@mullvad.net>2025-02-07 16:15:45 +0100
committerSebastian Holmin <sebastian.holmin@mullvad.net>2025-02-12 10:15:08 +0100
commit5265d3c40c36f4df705d2bc4e47a0b07c4442d61 (patch)
tree9cf32b8ef1041336cfee16263fc5b305a98dd9a9
parent353119ad276a7bfd771f1bf93e56f1a4b27358db (diff)
downloadmullvadvpn-5265d3c40c36f4df705d2bc4e47a0b07c4442d61.tar.xz
mullvadvpn-5265d3c40c36f4df705d2bc4e47a0b07c4442d61.zip
Update edition
-rw-r--r--Cargo.toml2
-rw-r--r--rustfmt.toml2
-rw-r--r--test/Cargo.toml2
-rw-r--r--wireguard-go-rs/Cargo.toml2
4 files changed, 4 insertions, 4 deletions
diff --git a/Cargo.toml b/Cargo.toml
index b1c5ff8aa1..f76fdf682a 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -2,7 +2,7 @@
authors = ["Mullvad VPN"]
repository = "https://github.com/mullvad/mullvadvpn-app/"
license = "GPL-3.0"
-edition = "2021"
+edition = "2024"
# Must be less than or equal to `channel` in `rust-toolchain.toml`
rust-version = "1.80.0"
diff --git a/rustfmt.toml b/rustfmt.toml
index 0bb88037be..6a2a146801 100644
--- a/rustfmt.toml
+++ b/rustfmt.toml
@@ -1,4 +1,4 @@
-edition = "2021"
+edition = "2024"
# Activation of features, almost objectively better ;)
use_try_shorthand = true
diff --git a/test/Cargo.toml b/test/Cargo.toml
index a0b7782691..ed84327bf9 100644
--- a/test/Cargo.toml
+++ b/test/Cargo.toml
@@ -2,7 +2,7 @@
authors = ["Mullvad VPN"]
repository = "https://github.com/mullvad/mullvadvpn-app/"
license = "GPL-3.0"
-edition = "2021"
+edition = "2024"
rust-version = "1.80.0"
[workspace]
diff --git a/wireguard-go-rs/Cargo.toml b/wireguard-go-rs/Cargo.toml
index d86cb61535..37b9639778 100644
--- a/wireguard-go-rs/Cargo.toml
+++ b/wireguard-go-rs/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "wireguard-go-rs"
description = "Rust bindings to wireguard-go with DAITA support"
-edition = "2021"
+edition.workspace = true
license.workspace = true
[build-dependencies]