feat: add initial projects

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
2024-12-01 20:59:10 +01:00
commit be4d755d51
14 changed files with 480 additions and 0 deletions

22
alloy/src/lib.rs Normal file
View File

@@ -0,0 +1,22 @@
use bindings::exports::component::churn_tasks::task::Guest;
#[allow(warnings)]
mod bindings;
struct Component;
impl Guest for Component {
fn id() -> String {
"grafana/alloy".into()
}
fn should_run() -> bool {
true
}
fn execute() {
println!("I was run");
}
}
bindings::export!(Component with_types_in bindings);