From be8ef585ca60d4d30e0859f7ad557c82cc7d705c Mon Sep 17 00:00:00 2001 From: Cobrand Date: Mon, 5 Dec 2016 13:09:06 +0100 Subject: [PATCH] Fix main README --- README.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 7f54e5f0..b10d50cc 100644 --- a/README.md +++ b/README.md @@ -151,7 +151,7 @@ download through Crates.io: sdl2 = "0.25" ``` -Alternatively, pull it from GitHub +Alternatively, pull it from GitHub to obtain the latest version from master ```toml [dependencies.sdl2] @@ -160,6 +160,10 @@ Alternatively, pull it from GitHub Otherwise, clone this repo and run [cargo][crates] +``` +cargo build +``` + You can enable features such as ttf, image, gfx and mixer by adding this instead: @@ -173,12 +177,9 @@ Those features need their respective libraries, which can be found at these locations : (the install process is the same as SDL2) -* [image, gfx, mixer](https://www.libsdl.org/projects/) +* [image, ttf, mixer](https://www.libsdl.org/projects/) * [gfx](http://sourceforge.net/projects/sdl2gfx/) - -> cargo build - ## What about sdl2\_net ? As of now, sdl2\_net meaningless compared to what other crates