diff --git a/Cargo.lock b/Cargo.lock index e8aab85..cdd8ca5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -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", diff --git a/Cargo.toml b/Cargo.toml index dd50cbc..de4bf71 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" diff --git a/src/nodes/mod.rs b/src/nodes/mod.rs index 2048cbf..fe1359e 100644 --- a/src/nodes/mod.rs +++ b/src/nodes/mod.rs @@ -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;