From ada3f87a784f9be8a1d5e4e647332d2b88dbc4aa Mon Sep 17 00:00:00 2001 From: Andelf Date: Mon, 20 Oct 2014 22:22:31 +0800 Subject: [PATCH] add demo bin to Cargo.toml --- Cargo.toml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 93ebdf60..2e370054 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" -