diff --git a/cocoa/Cargo.toml b/cocoa/Cargo.toml index 59d0240..abeac2b 100644 --- a/cocoa/Cargo.toml +++ b/cocoa/Cargo.toml @@ -4,7 +4,7 @@ name = "cocoa" description = "Bindings to Cocoa for OS X" homepage = "https://github.com/servo/core-foundation-rs" repository = "https://github.com/servo/core-foundation-rs" -version = "0.16.0" +version = "0.16.1" authors = ["The Servo Project Developers"] license = "MIT / Apache-2.0" @@ -16,5 +16,5 @@ crate-type = ["rlib"] block = "0.1" bitflags = "1.0" libc = "0.2" -core-graphics = { path = "../core-graphics", version = "0.15" } +core-graphics = { path = "../core-graphics", version = "0.16" } objc = "0.2.3" diff --git a/core-graphics/Cargo.toml b/core-graphics/Cargo.toml index bb65f51..63c1b03 100644 --- a/core-graphics/Cargo.toml +++ b/core-graphics/Cargo.toml @@ -3,13 +3,14 @@ name = "core-graphics" description = "Bindings to Core Graphics for OS X" homepage = "https://github.com/servo/core-graphics-rs" repository = "https://github.com/servo/core-foundation-rs" -version = "0.15.0" +version = "0.16.0" authors = ["The Servo Project Developers"] license = "MIT / Apache-2.0" [features] default = [] elcapitan = [] +highsierra = [] [dependencies] bitflags = "1.0" diff --git a/core-graphics/src/event.rs b/core-graphics/src/event.rs index 7f16b97..9d9ca18 100644 --- a/core-graphics/src/event.rs +++ b/core-graphics/src/event.rs @@ -443,6 +443,7 @@ impl CGEvent { } } + #[cfg(feature = "highsierra")] pub fn new_scroll_event( source: CGEventSource, units: CGScrollEventUnit, @@ -584,6 +585,7 @@ extern { /// /// This function allows you to create a scrolling event and customize the /// event before posting it to the event system. + #[cfg(feature = "highsierra")] fn CGEventCreateScrollWheelEvent2( source: ::sys::CGEventSourceRef, units: CGScrollEventUnit, diff --git a/core-text/Cargo.toml b/core-text/Cargo.toml index c203f67..e9f70d0 100644 --- a/core-text/Cargo.toml +++ b/core-text/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "core-text" -version = "10.0.0" +version = "10.0.1" authors = ["The Servo Project Developers"] description = "Bindings to the Core Text framework." license = "MIT/Apache-2.0" @@ -16,4 +16,4 @@ mountainlion = [] foreign-types = "0.3" libc = "0.2" core-foundation = { path = "../core-foundation", version = "0.6" } -core-graphics = { path = "../core-graphics", version = "0.15" } +core-graphics = { path = "../core-graphics", version = "0.16" }