first pass of merging in warp (doesn't build)

This commit is contained in:
Ryan Ward
2026-07-01 16:08:58 -05:00
parent 2f64909469
commit 4770ac06b5
3662 changed files with 414574 additions and 89772 deletions
+3 -6
View File
@@ -3,14 +3,11 @@
#[cfg_attr(noop, path = "noop.rs")]
mod imp;
use std::{
pin::Pin,
task::{Context, Poll},
};
use pin_project::pin_project;
use std::pin::Pin;
use std::task::{Context, Poll};
pub use imp::Guard;
use pin_project::pin_project;
/// Returns a guard that prevents the system from going to sleep while the guard is held.
///
+2 -1
View File
@@ -1,4 +1,5 @@
use objc2::{rc::Retained, runtime::ProtocolObject};
use objc2::rc::Retained;
use objc2::runtime::ProtocolObject;
use objc2_foundation::{NSActivityOptions, NSObjectProtocol, NSProcessInfo, NSString};
/// A guard object that prevents system sleep while it remains in scope.
+2 -4
View File
@@ -1,7 +1,5 @@
use std::{
sync::{LazyLock, Once, mpsc},
thread::JoinHandle,
};
use std::sync::{LazyLock, Once, mpsc};
use std::thread::JoinHandle;
use itertools::Itertools as _;
use parking_lot::Mutex;