aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/README.md b/README.md
index 8188add..596af94 100644
--- a/README.md
+++ b/README.md
@@ -6,6 +6,18 @@ Alternative to GLFW in pure Rust.
[![Build Status](https://travis-ci.org/tomaka/glutin.png?branch=master)](https://travis-ci.org/tomaka/glutin)
[![Build status](https://ci.appveyor.com/api/projects/status/cv5xewg3uchb3854/branch/master?svg=true)](https://ci.appveyor.com/project/tomaka/glutin/branch/master)
+```toml
+[dependencies]
+glutin = "*"
+```
+
+Note that the crates.io version won't compile on OS/X and Android because the required dependencies haven't been uploaded yet. Instead you can use the git version which works everywhere:
+
+```toml
+[dependencies.glutin]
+git = "https://github.com/tomaka/glutin"
+```
+
## [Documentation](http://tomaka.github.io/glutin/)
## Try it!