tirbofish/dropbear · diff
done a lot fo refactoring, and started on WASM scripting. smh...
Signature present but could not be verified.
Unverified
@@ -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" @@ -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 @@ -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