From b17f0d3687bcdc81d11fc3f452c480d48dbde0fa Mon Sep 17 00:00:00 2001 From: jdeseno Date: Thu, 28 Aug 2014 07:56:57 +0900 Subject: [PATCH] Fix deprecated attribute and manifest section --- .gitignore | 1 + Cargo.toml | 2 +- src/sdl2_image/lib.rs | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 1c672cd0..868e0e05 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ src/generated /rustpkg_db.json *.so target/ +Cargo.lock diff --git a/Cargo.toml b/Cargo.toml index a1fab390..37723ab1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,7 @@ name = "sdl2_image" version = "0.0.1" authors = [ "xsleonard" ] -[[lib]] +[lib] name = "sdl2_image" path = "src/sdl2_image/lib.rs" diff --git a/src/sdl2_image/lib.rs b/src/sdl2_image/lib.rs index b43a796c..7da53d5a 100644 --- a/src/sdl2_image/lib.rs +++ b/src/sdl2_image/lib.rs @@ -1,6 +1,6 @@ #![feature(macro_rules)] -#![crate_id="sdl2_image#sdl2_image:0.1"] +#![crate_name="sdl2_image"] #![crate_type = "lib"] #![desc = "SDL2_image bindings and wrappers"] #![comment = "SDL2_image bindings and wrappers"]