chore: migrate to Rust 2024

Removes the use of `set_var`, since it isn't thread safe.
This commit is contained in:
Vukašin Vojinović 2025-08-28 01:13:23 +02:00 committed by Ashley Wulber
parent 4c72d42731
commit 3200144164
6 changed files with 40 additions and 44 deletions

View file

@ -3,7 +3,7 @@ name = "cosmic-session"
description = "The session manager for the COSMIC desktop environment"
version = "0.1.0"
license = "GPL-3.0-only"
edition = "2021"
edition = "2024"
authors = ["Lucy <lucy@system76.com>"]
publish = false
@ -25,20 +25,20 @@ sendfd = { version = "0.4", features = ["tokio"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
tokio = { version = "1", features = [
"fs",
"io-util",
"io-std",
"macros",
"net",
"parking_lot",
"process",
"rt",
"signal",
"sync",
"time",
"fs",
"io-util",
"io-std",
"macros",
"net",
"parking_lot",
"process",
"rt",
"signal",
"sync",
"time",
] }
zbus_systemd = { version = "0.25701.0", optional = true, features = [
"systemd1",
"systemd1",
] }
tokio-util = "0.7"
tracing = "0.1"