diff options
author | Tomaka17 <pierre.krieger1708@gmail.com> | 2014-10-21 21:23:51 +0200 |
---|---|---|
committer | Tomaka17 <pierre.krieger1708@gmail.com> | 2014-10-21 21:25:30 +0200 |
commit | 1d9ceb9ddff11c3511cfe7a847ff26e67d3b5f30 (patch) | |
tree | 93c7620cd9231e015335310b9d05d61202e1cef3 | |
parent | c8ea2bf587429b5b59d5a41f7ebb16a7998badd9 (diff) | |
download | glutin-1d9ceb9ddff11c3511cfe7a847ff26e67d3b5f30.tar.gz glutin-1d9ceb9ddff11c3511cfe7a847ff26e67d3b5f30.zip |
Update for Cargo's platform-specific dependencies
-rw-r--r-- | Cargo.toml | 13 |
1 files changed, 9 insertions, 4 deletions
@@ -5,7 +5,7 @@ version = "0.0.1" authors = ["tomaka <pierre.krieger1708@gmail.com>"] [features] -default = ["cocoa", "window"] +default = ["window"] window = [] headless = [] @@ -18,9 +18,14 @@ git = "https://github.com/tomaka/android-rs-glue" [dependencies.gl_generator] git = "https://github.com/bjz/gl-rs" -[dependencies.cocoa] +[target.i686-apple-darwin.dependencies.cocoa] git = "https://github.com/DavidPartouche/rust-cocoa" -optional = true -[dependencies.core_foundation] +[target.x86_64-apple-darwin.dependencies.cocoa] +git = "https://github.com/DavidPartouche/rust-cocoa" + +[target.i686-apple-darwin.dependencies.core_foundation] +git = "https://github.com/servo/rust-core-foundation" + +[target.x86_64-apple-darwin.dependencies.core_foundation] git = "https://github.com/servo/rust-core-foundation" |