kitgit

tirbofish/dropbear · diff

7dd7277 · tk

done a lot fo refactoring, and started on WASM scripting. smh...

Unverified

diff --git a/Cargo.toml b/Cargo.toml
index e4c2e8e..843b111 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -48,9 +48,9 @@ transform-gizmo-egui = { git = "https://github.com/4tkbytes/transform-gizmo"}
 tokio = { version = "1", features = ["full"] }
 wgpu = "26"
 winit = { version = "0.30", features = [] }
-zip = "4.6"
+zip = "5.1"
 walkdir = "2.3"
-wasmer = { version = "6.0" }
+wasmer = { version = "6.1.0-rc.3" }
 
 [workspace.dependencies.image]
 version = "0.25"
diff --git a/eucalyptus-core/Cargo.toml b/eucalyptus-core/Cargo.toml
index eadbe0f..fca9101 100644
--- a/eucalyptus-core/Cargo.toml
+++ b/eucalyptus-core/Cargo.toml
@@ -24,16 +24,11 @@ parking_lot.workspace = true
 ron.workspace = true
 serde.workspace = true
 winit.workspace = true
-# zip.workspace = true
-rustyscript.workspace = true
 wasmer.workspace = true
 
 [features]
 editor = []
 
-[package.metadata.cargo-machete]
-ignored = ["wasmer"]
-
 [target.'cfg(not(target_os = "android"))'.dependencies]
 rfd.workspace = true
 
diff --git a/eucalyptus-core/src/input.rs b/eucalyptus-core/src/input.rs
index d51ae61..1c83cd3 100644
--- a/eucalyptus-core/src/input.rs
+++ b/eucalyptus-core/src/input.rs
@@ -3,7 +3,10 @@ use std::{
     time::{Duration, Instant},
 };
 
-use winit::{event::MouseButton, keyboard::KeyCode};
+use wasmer::{Function, FunctionEnvMut};
+use winit::{event::MouseButton, keyboard::KeyCode, platform::scancode::PhysicalKeyExtScancode};
+
+use crate::scripting::{DropbearScriptingAPIContext, ScriptableModuleWithEnv};

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