diff options
author | Tomaka17 <pierre.krieger1708@gmail.com> | 2014-10-06 20:32:47 +0200 |
---|---|---|
committer | Tomaka17 <pierre.krieger1708@gmail.com> | 2014-10-06 20:32:47 +0200 |
commit | cfb0cb70013772492c1930ced62f48aa6cb372ff (patch) | |
tree | 0002ae7fed3ddba6b44b96047a0c7de2d5942c02 | |
parent | 0392fe6af60fa63aebaf78f6529c74a8a5a275d5 (diff) | |
download | glutin-cfb0cb70013772492c1930ced62f48aa6cb372ff.tar.gz glutin-cfb0cb70013772492c1930ced62f48aa6cb372ff.zip |
Use Cargo features to opt out of the makefile
See #46
-rw-r--r-- | Cargo.toml | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -4,6 +4,9 @@ name = "glutin" version = "0.0.1" authors = ["tomaka <pierre.krieger1708@gmail.com>"] +[features] +default = ["cocoa"] + [dependencies.compile_msg] git = "https://github.com/huonw/compile_msg" @@ -15,6 +18,7 @@ git = "https://github.com/bjz/gl-rs" [dependencies.cocoa] git = "https://github.com/DavidPartouche/rust-cocoa" +optional = true [dependencies.core_foundation] git = "https://github.com/servo/rust-core-foundation" |