kitgit

tirbofish/dropbear · commit

1006f6260656f3517c7cfd1048b0abd8a9fdf1c6

new branch, starting on typeshii

Unverified

tk <4tkbytes@pm.me> · 2025-08-31 12:27

view full diff

diff --git a/Cargo.toml b/Cargo.toml
index c00c557..6255a1b 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -47,6 +47,7 @@ serde = { version = "1.0.219", features = ["derive"] }
 spin_sleep = "1.3"
 tokio = { version = "1", features = ["full"] }
 transform-gizmo-egui = { git = "https://github.com/4tkbytes/transform-gizmo"}
+ts-rs = "10.1"
 wgpu = "26"
 winit = { version = "0.30", features = [] }
 zip = "4.3"
diff --git a/dropbear-engine/Cargo.toml b/dropbear-engine/Cargo.toml
index 77b3464..061ded4 100644
--- a/dropbear-engine/Cargo.toml
+++ b/dropbear-engine/Cargo.toml
@@ -34,6 +34,7 @@ hecs.workspace = true
 once_cell.workspace = true
 parking_lot.workspace = true
 lazy_static.workspace = true
+ts-rs.workspace = true
 
 [target.'cfg(not(target_os = "android"))'.dependencies]
 rfd.workspace = true
diff --git a/eucalyptus/Cargo.toml b/eucalyptus/Cargo.toml
index 0f77716..13ccfcc 100644
--- a/eucalyptus/Cargo.toml
+++ b/eucalyptus/Cargo.toml
@@ -42,6 +42,7 @@ clap = { workspace = true, optional = true }
 walkdir = { workspace = true, optional = true }
 zip = { workspace = true, optional = true }
 bytemuck = "1.23.2"
+ts-rs.workspace = true
 
 [target.'cfg(not(target_os = "android"))'.dependencies]
 rfd = { workspace = true, optional = true }
diff --git a/gleek/Cargo.toml b/gleek/Cargo.toml
deleted file mode 100644
index 69fc3db..0000000
--- a/gleek/Cargo.toml
+++ /dev/null
@@ -1,10 +0,0 @@
-[package]
-name = "gleek"
-edition.workspace = true
-description = "A way to generate Gleam stubs for your rust code (assuming its compiled to JavaScript)"
-version = "0.0.1"
-license = "MIT"
-repository.workspace = true
-readme = "README.md"
-
-[dependencies]
diff --git a/gleek/README.md b/gleek/README.md
deleted file mode 100644
index cadb3fd..0000000
--- a/gleek/README.md
+++ /dev/null
@@ -1,6 +0,0 @@
-# gleek
-This crate contains proc-macros that convert types and functions into modules for the Gleam language to 
-reference as **stubs** into your own Gleam projects and allow type safety + better debugging with the LSP. 
-
-## Requirements
-Gleam can only be compiled to JavaScript to be used with rust, so it is not compatible with a normal Erlang compilation. 
\ No newline at end of file
diff --git a/gleek/src/lib.rs b/gleek/src/lib.rs
deleted file mode 100644
index b93cf3f..0000000
--- a/gleek/src/lib.rs
+++ /dev/null
@@ -1,14 +0,0 @@
-pub fn add(left: u64, right: u64) -> u64 {
-    left + right
-}
-
-#[cfg(test)]
-mod tests {
-    use super::*;
-
-    #[test]
-    fn it_works() {
-        let result = add(2, 2);
-        assert_eq!(result, 4);
-    }
-}
diff --git a/redback-runtime b/redback-runtime
index 922f1bd..3169130 160000
--- a/redback-runtime
+++ b/redback-runtime
@@ -1 +1 @@
-Subproject commit 922f1bd096aefbce8bac8c6a7c699c144c3a4307
+Subproject commit 316913058a1f25b68b52e06c3d9069d3d3c73ffc