mirror of
https://github.com/encounter/rust-sdl2.git
synced 2026-07-10 21:18:41 -07:00
Crates.io integration
This commit is contained in:
@@ -1,8 +1,12 @@
|
||||
[package]
|
||||
|
||||
name = "sdl2"
|
||||
description = "SDL2 bindings for Rust"
|
||||
repository = "https://github.com/AngryLawyer/rust-sdl2"
|
||||
version = "0.0.1-alpha.1"
|
||||
license = "MIT"
|
||||
authors = [ "Tony Aldridge<zaragopha@hotmail.com>" ]
|
||||
keywords = ["SDL", "windowing", "graphics"]
|
||||
|
||||
[lib]
|
||||
|
||||
|
||||
@@ -36,7 +36,12 @@ If you're having issues, [see here](https://github.com/PistonDevelopers/rust-emp
|
||||
|
||||
# Installation
|
||||
|
||||
If you're using [cargo](http://crates.io/) to manage your project, just add these lines to your Cargo.toml:
|
||||
If you're using [cargo](http://crates.io/) to manage your project, you can download through Crates.io:
|
||||
|
||||
[dependencies]
|
||||
sdl2 = "0.0.1"
|
||||
|
||||
Alternatively, pull it from GitHub
|
||||
|
||||
[dependencies.sdl2]
|
||||
git = "https://github.com/AngryLawyer/rust-sdl2"
|
||||
|
||||
-666
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user