From a52dfb250f59a8d87405c4e4daed21075be59d12 Mon Sep 17 00:00:00 2001 From: andelf Date: Wed, 26 Nov 2014 18:28:26 +0800 Subject: [PATCH] bump version to 0.0.3: same as upstream sdl2 --- Cargo.toml | 4 ++-- README.md | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 0cd5465e..ec01b867 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,8 +3,9 @@ name = "sdl2_ttf" description = "SDL2_ttf bindings for Rust" repository = "https://github.com/andelf/rust-sdl2_ttf" -version = "0.0.2" +version = "0.0.3" license = "MIT" +readme = "README.md" authors = [ "ShuYu Wang " ] keywords = ["SDL", "windowing", "graphics", "font"] @@ -17,7 +18,6 @@ path = "src/sdl2_ttf/lib.rs" sdl2 = "~0.0.3" - [[bin]] name = "demo" diff --git a/README.md b/README.md index 0caa534c..40c65b2e 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,21 @@ cargo build rustc -L. --cfg mac_framework src/sdl2_ttf/lib.rs ``` +For cargo: + +``` +[dependencies] +sdl2_ttf = "$version-here$" +``` + +or + +``` +[dependencies.sdl2_ttf] +git = "https://github.com/andelf/rust-sdl2_ttf" +``` + + Demo ----