feat: add rust lib

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
2023-10-22 13:02:55 +02:00
parent 12735aa1c5
commit 916f35aa2c
9 changed files with 1002 additions and 2 deletions

1
rust-lib/crates/%%name%%/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
/target

View File

@@ -0,0 +1,9 @@
[package]
name = "%%name%%"
version = "0.1.0"
edition = "2021"
[dependencies]
anyhow.workspace = true
tokio.workspace = true
tracing.workspace = true

View File

@@ -0,0 +1,5 @@
pub mod something {
pub fn something() -> String {
"hello, world!".to_string()
}
}