diff --git a/Cargo.toml b/Cargo.toml index e68858b..b1dde0d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -27,3 +27,6 @@ tempfile = "3.5.0" default = ["audio"] static = ["sdl2/static-link", "sdl2/bundled"] audio = ["dep:rodio"] + +[[example]] +name = "example_1" diff --git a/src/main.rs b/examples/example_1.rs similarity index 100% rename from src/main.rs rename to examples/example_1.rs