Make the raylib wrapper a library crate

Closes #2
This commit is contained in:
2026-02-23 15:04:31 +01:00
parent c05f984698
commit 16732e640f
6 changed files with 99 additions and 90 deletions

View File

@@ -4,10 +4,14 @@ version = "0.1.0"
edition = "2021"
build = "build.rs"
[lib]
name = "my_raylib"
path = "src/lib.rs"
[[bin]]
name = "rect"
path = "src/rect.rs"
path = "src/demos/rect.rs"
[[bin]]
name = "bounce"
path = "src/bounce.rs"
path = "src/demos/bounce.rs"