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

@ -1,12 +1,12 @@
use color_eyre::{eyre::Context, Result};
use color_eyre::{Result, eyre::Context};
use cosmic_notifications_util::{DAEMON_NOTIFICATIONS_FD, PANEL_NOTIFICATIONS_FD};
use launch_pad::{process::Process, ProcessKey};
use launch_pad::{ProcessKey, process::Process};
use rustix::fd::AsRawFd;
use std::{
os::{fd::OwnedFd, unix::net::UnixStream},
sync::Arc,
};
use tokio::sync::{mpsc, Mutex};
use tokio::sync::{Mutex, mpsc};
use tracing::Instrument;
use crate::comp::create_privileged_socket;