kitgit

tirbofish/dropbear · diff

3a5b985 · tk

futures work well now. i created a new crate so other people can use it.

Unverified

diff --git a/Cargo.toml b/Cargo.toml
index c7145dd..ed688e8 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -6,7 +6,7 @@ package.repository = "https://github.com/4tkbytes/dropbear-engine"
 package.readme = "README.md"
 
 resolver = "3"
-members = [ "dropbear-engine", "eucalyptus-core", "eucalyptus-editor"]
+members = [ "dropbear-engine", "dropbear_future-queue", "eucalyptus-core", "eucalyptus-editor"]
 # members = ["dropbear-engine", "eucalyptus-core", "eucalyptus-editor", "redback-runtime"]
 
 
diff --git a/dropbear-engine/Cargo.toml b/dropbear-engine/Cargo.toml
index 7d59fbe..b071051 100644
--- a/dropbear-engine/Cargo.toml
+++ b/dropbear-engine/Cargo.toml
@@ -9,6 +9,7 @@ repository.workspace = true
 readme.workspace = true
 
 [dependencies]
+dropbear_future-queue = { path = "../dropbear_future-queue" }
 anyhow.workspace = true
 app_dirs2.workspace = true
 bytemuck.workspace = true
@@ -32,11 +33,9 @@ parking_lot.workspace = true
 lazy_static.workspace = true
 gltf.workspace = true
 rayon.workspace = true
-tokio.workspace = true
 backtrace.workspace = true
 os_info.workspace = true
 rustc_version_runtime.workspace = true
-ahash = "0.8.12"
 
 [target.'cfg(not(target_os = "android"))'.dependencies]
 rfd.workspace = true
diff --git a/dropbear-engine/src/future.rs b/dropbear-engine/src/future.rs
deleted file mode 100644
index fcc4c53..0000000
--- a/dropbear-engine/src/future.rs
+++ /dev/null
@@ -1,448 +0,0 @@
-//! Polling and async features in the dropbear engine where scenes are single threaded.
-
-use std::any::Any;
-use std::collections::VecDeque;
-use std::pin::Pin;
-use std::sync::Arc;
-use ahash::{HashMap, HashMapExt};

Large diffs are not rendered by default. Showing the first 50 of 1063 lines. Show full diff