add demo bin to Cargo.toml

This commit is contained in:
Andelf
2014-10-20 22:22:31 +08:00
parent 07283af0b5
commit ada3f87a78
+5 -1
View File
@@ -10,7 +10,11 @@ name = "sdl2_image"
path = "src/sdl2_image/lib.rs"
crate-type = ["dylib"]
[[bin]]
name = "demo"
path = "src/demo/main.rs"
[dependencies.sdl2]
git = "https://github.com/AngryLawyer/rust-sdl2.git"