chore(cargo): replace nix with rustix
This commit is contained in:
parent
32229c16f0
commit
132ea0de3c
9 changed files with 5 additions and 25 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue