diff options
author | tomaka <pierre.krieger1708@gmail.com> | 2014-10-31 07:13:50 +0100 |
---|---|---|
committer | tomaka <pierre.krieger1708@gmail.com> | 2014-10-31 07:13:50 +0100 |
commit | 03b9d6171d4d9b57e341132df1d76c85b925360d (patch) | |
tree | ebd91ae350c501ada763d08527794bc02db4eb90 | |
parent | 118b7d32b4edc7c961f93e1c841d6aca04dee550 (diff) | |
parent | 1d9ceb9ddff11c3511cfe7a847ff26e67d3b5f30 (diff) | |
download | glutin-03b9d6171d4d9b57e341132df1d76c85b925360d.tar.gz glutin-03b9d6171d4d9b57e341132df1d76c85b925360d.zip |
Merge pull request #58 from tomaka/update-cargo
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" |