summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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]