diff --git a/Cargo.toml b/Cargo.toml index d15ba32b..e9bcb983 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"