From c438c40eee599c8eaf343eb3ec1685e434d51627 Mon Sep 17 00:00:00 2001 From: Outfl3sh Date: Fri, 27 Mar 2015 20:01:11 +0100 Subject: [PATCH 1/3] changed git dependencies back to regular ones --- Cargo.toml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 0f3bfa73..42ae2bef 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,12 +15,14 @@ path = "src/sdl2_gfx/lib.rs" [dependencies] c_vec = "^1.0.0" +sdl2 = "0.0.33" +sdl2-sys = "0.0.33" -[dependencies.sdl2] -git = "https://github.com/AngryLawyer/rust-sdl2/" +# [dependencies.sdl2] +# git = "https://github.com/AngryLawyer/rust-sdl2/" -[dependencies.sdl2-sys] -git = "https://github.com/AngryLawyer/rust-sdl2/" +# [dependencies.sdl2-sys] +# git = "https://github.com/AngryLawyer/rust-sdl2/" [[bin]] name = "demo" From 6a06b1cc33c3246cb2bcfe3d9af197abde88908b Mon Sep 17 00:00:00 2001 From: Outfl3sh Date: Fri, 27 Mar 2015 20:02:08 +0100 Subject: [PATCH 2/3] Update Cargo.toml --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 42ae2bef..294d2395 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sdl2_gfx" -version = "0.0.3" +version = "0.0.33" authors = ["ShuYu Wang "] description = "SDL2_gfx bindings for Rust" homepage = "https://github.com/andelf/rust-sdl2_gfx" From 7109d800ee1047b4d45f7562ff8275ea1b9e0e93 Mon Sep 17 00:00:00 2001 From: Outfl3sh Date: Fri, 27 Mar 2015 21:26:49 +0100 Subject: [PATCH 3/3] sdl2_sys import fix --- src/sdl2_gfx/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sdl2_gfx/lib.rs b/src/sdl2_gfx/lib.rs index c8d2de0f..afbf7db1 100644 --- a/src/sdl2_gfx/lib.rs +++ b/src/sdl2_gfx/lib.rs @@ -11,7 +11,7 @@ A binding for SDL2_gfx. extern crate libc; extern crate sdl2; -extern crate "sdl2-sys" as sys; +extern crate sdl2_sys as sys; // Setup linking for all targets. #[link(name="SDL2_gfx")]