Remove unused portable-atomic dep
Browse files at this commit5ddcf195dd6cb24cf67c24d4622ef0a4dca9ed12Parent: e11abe53 changed files +1 -9
- Cargo.lock +0 -7
- Cargo.toml +0 -1
- src/main.rs +1 -1
Cargo.lockmodified+0 -7
| @@ -2196,7 +2196,6 @@ dependencies = [ | |||
| 2196 | "pipewire", | 2196 | "pipewire", |
| 2197 | "pkg-config", | 2197 | "pkg-config", |
| 2198 | "png", | 2198 | "png", |
| 2199 | - "portable-atomic", | ||
| 2200 | "profiling", | 2199 | "profiling", |
| 2201 | "proptest", | 2200 | "proptest", |
| 2202 | "proptest-derive", | 2201 | "proptest-derive", |
| @@ -2829,12 +2828,6 @@ dependencies = [ | |||
| 2829 | "windows-sys 0.61.2", | 2828 | "windows-sys 0.61.2", |
| 2830 | ] | 2829 | ] |
| 2831 | 2830 | ||
| 2832 | -[[package]] | ||
| 2833 | -name = "portable-atomic" | ||
| 2834 | -version = "1.13.0" | ||
| 2835 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 2836 | -checksum = "f89776e4d69bb58bc6993e99ffa1d11f228b839984854c7daeb5d37f87cbe950" | ||
| 2837 | - | ||
| 2838 | [[package]] | 2831 | [[package]] |
| 2839 | name = "ppv-lite86" | 2832 | name = "ppv-lite86" |
| 2840 | version = "0.2.21" | 2833 | version = "0.2.21" |
Cargo.tomlmodified+0 -1
| @@ -84,7 +84,6 @@ pango = { version = "0.21.5", features = ["v1_44"] } | |||
| 84 | pangocairo = "0.21.5" | 84 | pangocairo = "0.21.5" |
| 85 | pipewire = { version = "0.9.2", optional = true, features = ["v0_3_33"] } | 85 | pipewire = { version = "0.9.2", optional = true, features = ["v0_3_33"] } |
| 86 | png = "0.18.0" | 86 | png = "0.18.0" |
| 87 | -portable-atomic = { version = "1.13.0", default-features = false, features = ["float"] } | ||
| 88 | profiling = "1.0.17" | 87 | profiling = "1.0.17" |
| 89 | sd-notify = "0.4.5" | 88 | sd-notify = "0.4.5" |
| 90 | serde.workspace = true | 89 | serde.workspace = true |
src/main.rsmodified+1 -1
| @@ -7,6 +7,7 @@ use std::io::{self, Write}; | |||
| 7 | use std::os::fd::FromRawFd; | 7 | use std::os::fd::FromRawFd; |
| 8 | use std::path::PathBuf; | 8 | use std::path::PathBuf; |
| 9 | use std::process::Command; | 9 | use std::process::Command; |
| 10 | +use std::sync::atomic::Ordering; | ||
| 10 | use std::{env, mem}; | 11 | use std::{env, mem}; |
| 11 | 12 | ||
| 12 | use calloop::EventLoop; | 13 | use calloop::EventLoop; |
| @@ -26,7 +27,6 @@ use niri::utils::spawning::{ | |||
| 26 | use niri::utils::{cause_panic, version, watcher, xwayland, IS_SYSTEMD_SERVICE}; | 27 | use niri::utils::{cause_panic, version, watcher, xwayland, IS_SYSTEMD_SERVICE}; |
| 27 | use niri_config::{Config, ConfigPath}; | 28 | use niri_config::{Config, ConfigPath}; |
| 28 | use niri_ipc::socket::SOCKET_PATH_ENV; | 29 | use niri_ipc::socket::SOCKET_PATH_ENV; |
| 29 | -use portable_atomic::Ordering; | ||
| 30 | use sd_notify::NotifyState; | 30 | use sd_notify::NotifyState; |
| 31 | use smithay::reexports::wayland_server::Display; | 31 | use smithay::reexports::wayland_server::Display; |
| 32 | use tracing_subscriber::EnvFilter; | 32 | use tracing_subscriber::EnvFilter; |