refactor: remove portable_atomic

This commit is contained in:
Nova
2025-02-24 15:00:14 -08:00
parent 30a05a3218
commit f0c50ba237
3 changed files with 1 additions and 9 deletions

7
Cargo.lock generated
View File

@@ -2142,12 +2142,6 @@ dependencies = [
"windows-sys 0.59.0",
]
[[package]]
name = "portable-atomic"
version = "1.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "da544ee218f0d287a911e9c99a39a8c9bc8fcad3cb8db5959940044ecfc67265"
[[package]]
name = "ppv-lite86"
version = "0.2.20"
@@ -2699,7 +2693,6 @@ dependencies = [
"nanoid",
"nix 0.29.0",
"parking_lot 0.12.3",
"portable-atomic",
"prisma",
"rand",
"rustc-hash",

View File

@@ -59,7 +59,6 @@ nanoid = "0.4.0"
lazy_static = "1.5.0"
rand = "0.8.5"
rustc-hash = "2.0.0"
portable-atomic = { version = "1.7.0", features = ["float", "std"] }
send_wrapper = "0.6.0"
slotmap = "1.0.7"
global_counter = "=0.2.2"

View File

@@ -13,7 +13,6 @@ use crate::core::error::{Result, ServerError};
use crate::core::registry::Registry;
use crate::core::scenegraph::MethodResponseSender;
use parking_lot::Mutex;
use portable_atomic::{AtomicBool, Ordering};
use rustc_hash::FxHashMap;
use serde::{Serialize, de::DeserializeOwned};
use spatial::Spatial;
@@ -23,6 +22,7 @@ use stardust_xr::schemas::flex::{deserialize, serialize};
use std::any::{Any, TypeId};
use std::fmt::Debug;
use std::os::fd::OwnedFd;
use std::sync::atomic::{AtomicBool, Ordering};
use std::sync::{Arc, Weak};
use std::vec::Vec;