From cfb0cb70013772492c1930ced62f48aa6cb372ff Mon Sep 17 00:00:00 2001 From: Tomaka17 Date: Mon, 6 Oct 2014 20:32:47 +0200 Subject: Use Cargo features to opt out of the makefile See #46 --- Cargo.toml | 4 ++++ 1 file changed, 4 insertions(+) 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 "] +[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" -- cgit v1.2.3