Set up cargo workspace and shared crate

This commit is contained in:
Joscha 2025-01-21 20:42:55 +01:00
parent 05096bf088
commit 8fbdf63c51
5 changed files with 52 additions and 0 deletions

9
tta/Cargo.toml Normal file
View file

@ -0,0 +1,9 @@
[package]
name = "tta"
version = { workspace = true }
edition = { workspace = true }
[dependencies]
[lints]
workspace = true

3
tta/src/lib.rs Normal file
View file

@ -0,0 +1,3 @@
pub fn greet(name: &str) -> String {
format!("Hello {name}!")
}