chore(cargo): replace nix with rustix

This commit is contained in:
Michael Aaron Murphy 2024-03-15 14:54:38 +01:00 committed by Jeremy Soller
parent 32229c16f0
commit 132ea0de3c
No known key found for this signature in database
GPG key ID: D02FD439211AF56F
9 changed files with 5 additions and 25 deletions

View file

@ -11,10 +11,10 @@ libcosmic.workspace = true
libpulse-binding = "2.28.1"
libpulse-glib-binding = "2.28.1"
logind-zbus = "3.1"
nix.workspace = true
once_cell = "1.19.0"
rust-embed-utils.workspace = true
rust-embed.workspace = true
rustix.workspace = true
tokio = { version = "1.36.0", features=["full"] }
tracing-log.workspace = true
tracing-subscriber.workspace = true

View file

@ -31,7 +31,7 @@ use cosmic::{app::Command, Element, Theme};
use logind_zbus::manager::ManagerProxy;
use logind_zbus::session::{SessionProxy, SessionType};
use logind_zbus::user::UserProxy;
use nix::unistd::getuid;
use rustix::process::getuid;
use zbus::Connection;
pub mod cosmic_session;