diff --git a/Cargo.lock b/Cargo.lock index 06fb6e5a..34b2a14a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2196,7 +2196,6 @@ dependencies = [ "pipewire", "pkg-config", "png", - "portable-atomic", "profiling", "proptest", "proptest-derive", @@ -2829,12 +2828,6 @@ dependencies = [ "windows-sys 0.61.2", ] -[[package]] -name = "portable-atomic" -version = "1.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f89776e4d69bb58bc6993e99ffa1d11f228b839984854c7daeb5d37f87cbe950" - [[package]] name = "ppv-lite86" version = "0.2.21" diff --git a/Cargo.toml b/Cargo.toml index 0516c43d..622478e4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -84,7 +84,6 @@ pango = { version = "0.21.5", features = ["v1_44"] } pangocairo = "0.21.5" pipewire = { version = "0.9.2", optional = true, features = ["v0_3_33"] } png = "0.18.0" -portable-atomic = { version = "1.13.0", default-features = false, features = ["float"] } profiling = "1.0.17" sd-notify = "0.4.5" serde.workspace = true diff --git a/src/main.rs b/src/main.rs index 98bac1e7..2a75b2ba 100644 --- a/src/main.rs +++ b/src/main.rs @@ -7,6 +7,7 @@ use std::io::{self, Write}; use std::os::fd::FromRawFd; use std::path::PathBuf; use std::process::Command; +use std::sync::atomic::Ordering; use std::{env, mem}; use calloop::EventLoop; @@ -26,7 +27,6 @@ use niri::utils::spawning::{ use niri::utils::{cause_panic, version, watcher, xwayland, IS_SYSTEMD_SERVICE}; use niri_config::{Config, ConfigPath}; use niri_ipc::socket::SOCKET_PATH_ENV; -use portable_atomic::Ordering; use sd_notify::NotifyState; use smithay::reexports::wayland_server::Display; use tracing_subscriber::EnvFilter;