mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-24 06:11:30 +11:00
Update for Cargo's platform-specific dependencies
This commit is contained in:
parent
c8ea2bf587
commit
1d9ceb9ddf
13
Cargo.toml
13
Cargo.toml
|
@ -5,7 +5,7 @@ version = "0.0.1"
|
||||||
authors = ["tomaka <pierre.krieger1708@gmail.com>"]
|
authors = ["tomaka <pierre.krieger1708@gmail.com>"]
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["cocoa", "window"]
|
default = ["window"]
|
||||||
window = []
|
window = []
|
||||||
headless = []
|
headless = []
|
||||||
|
|
||||||
|
@ -18,9 +18,14 @@ git = "https://github.com/tomaka/android-rs-glue"
|
||||||
[dependencies.gl_generator]
|
[dependencies.gl_generator]
|
||||||
git = "https://github.com/bjz/gl-rs"
|
git = "https://github.com/bjz/gl-rs"
|
||||||
|
|
||||||
[dependencies.cocoa]
|
[target.i686-apple-darwin.dependencies.cocoa]
|
||||||
git = "https://github.com/DavidPartouche/rust-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"
|
git = "https://github.com/servo/rust-core-foundation"
|
||||||
|
|
Loading…
Reference in a new issue