This commit is contained in:
iceyrazor 2025-02-12 19:06:19 -06:00
parent 962d407b3f
commit c577152f8f
3 changed files with 7 additions and 1 deletions

2
Cargo.lock generated
View File

@ -4,7 +4,7 @@ version = 4
[[package]]
name = "dnd-calc"
version = "0.1.0"
version = "1.0.0"
dependencies = [
"toml",
]

4
README.md Normal file
View File

@ -0,0 +1,4 @@
# dnd calc
just something todo to learn more rust.
its a dnd calculator. put your stats into data.toml. then cargo run

View File

@ -4,6 +4,8 @@ use std::fs;
use toml::{Table, Value};
use std::collections::HashMap;
/// # print the bababoie
/// MONKEY
fn print_type_of<T>(_: &T) {
println!("{}", std::any::type_name::<T>());
}