aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomaka17 <pierre.krieger1708@gmail.com>2014-10-06 20:32:47 +0200
committerTomaka17 <pierre.krieger1708@gmail.com>2014-10-06 20:32:47 +0200
commitcfb0cb70013772492c1930ced62f48aa6cb372ff (patch)
tree0002ae7fed3ddba6b44b96047a0c7de2d5942c02
parent0392fe6af60fa63aebaf78f6529c74a8a5a275d5 (diff)
downloadglutin-cfb0cb70013772492c1930ced62f48aa6cb372ff.tar.gz
glutin-cfb0cb70013772492c1930ced62f48aa6cb372ff.zip
Use Cargo features to opt out of the makefile
See #46
-rw-r--r--Cargo.toml4
1 files changed, 4 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index d15ba32..e9bcb98 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -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"