This commit is contained in:
Mitchell Marino 2025-12-20 00:04:14 -06:00
commit 2e344fed0a
9 changed files with 50 additions and 0 deletions

3
Cargo.toml Normal file
View File

@ -0,0 +1,3 @@
[workspace]
members = ["tak_server", "tak_visualizer", "tak_lib", "tak_bot"]
resolver = "3"

6
tak_bot/Cargo.toml Normal file
View File

@ -0,0 +1,6 @@
[package]
name = "tak_bot"
version = "0.1.0"
edition = "2024"
[dependencies]

3
tak_bot/src/main.rs Normal file
View File

@ -0,0 +1,3 @@
fn main() {
println!("Hello, world!");
}

6
tak_lib/Cargo.toml Normal file
View File

@ -0,0 +1,6 @@
[package]
name = "tak_lib"
version = "0.1.0"
edition = "2024"
[dependencies]

14
tak_lib/src/lib.rs Normal file
View File

@ -0,0 +1,14 @@
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);
}
}

6
tak_server/Cargo.toml Normal file
View File

@ -0,0 +1,6 @@
[package]
name = "tak_server"
version = "0.1.0"
edition = "2024"
[dependencies]

3
tak_server/src/main.rs Normal file
View File

@ -0,0 +1,3 @@
fn main() {
println!("Hello, world!");
}

View File

@ -0,0 +1,6 @@
[package]
name = "tak_visualizer"
version = "0.1.0"
edition = "2024"
[dependencies]

View File

@ -0,0 +1,3 @@
fn main() {
println!("Hello, world!");
}