feat: tracing, sleep timing calculations, use spin_sleeper for accurate sleeps on Windows

This commit is contained in:
2023-09-10 16:53:24 -05:00
parent 0d76c6528b
commit b3c1a30a74
3 changed files with 330 additions and 4 deletions

View File

@@ -8,3 +8,7 @@ edition = "2021"
[dependencies]
lazy_static = "1.4.0"
sdl2 = { version = "0.35", features = ["image", "ttf", "mixer"] }
spin_sleep = "1.1.1"
tracing = "0.1.37"
tracing-error = "0.2.0"
tracing-subscriber = {version = "0.3.17", features = ["env-filter"]}