initial commit

This commit is contained in:
yggverse 2025-06-07 12:28:02 +03:00
parent 9fcd892d42
commit d55c642eb6
11 changed files with 305 additions and 1 deletions

19
src/debug.rs Normal file
View file

@ -0,0 +1,19 @@
pub fn error(e: &anyhow::Error) {
eprintln!(
"[{}] [error] {e}",
std::time::SystemTime::now()
.duration_since(std::time::UNIX_EPOCH)
.unwrap()
.as_millis()
)
}
pub fn info(message: String) {
eprintln!(
"[{}] [info] {message}",
std::time::SystemTime::now()
.duration_since(std::time::UNIX_EPOCH)
.unwrap()
.as_millis()
)
}