feat: some shit

This commit is contained in:
2024-02-28 21:21:42 +01:00
commit 27b6514167
39 changed files with 9501 additions and 0 deletions

16
nodes/add/src/lib.rs Normal file
View File

@@ -0,0 +1,16 @@
mod bindings;
use bindings::Guest;
struct Component;
impl Guest for Component {
/// Say hello!
fn execute(left: i32, right: i32) -> i32 {
left + right
}
fn get_definition() -> String {
let definition = include_str!("./node.json");
definition.to_string()
}
}