diff --git a/CHANGELOG.md b/CHANGELOG.md index b04835f4..b45830a5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ - Added support for `DroppedFile`, `HoveredFile`, and `HoveredFileCancelled` to X11 backend. - **Breaking:** `unix::WindowExt` no longer returns pointers for things that aren't actually pointers; `get_xlib_window` now returns `Option` and `get_xlib_screen_id` returns `Option`. Additionally, methods that previously returned `libc::c_void` have been changed to return `std::os::raw::c_void`, which are not interchangeable types, so users wanting the former will need to explicitly cast. - Added `set_decorations` method to `Window` to allow decorations to be toggled after the window is built. Presently only implemented on X11. +- **Breaking:** Update cocoa and core-graphics. Raises the minimum supported version of rust to 1.20 on macOS due to usage of associated constants. - Added `modifiers` field to `MouseInput`, `MouseWheel`, and `CursorMoved` events to track the modifiers state (`ModifiersState`). # Version 0.9.0 (2017-12-01) diff --git a/Cargo.toml b/Cargo.toml index af6bc3bb..68bbc692 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,7 +11,7 @@ documentation = "https://docs.rs/winit" categories = ["gui"] [dependencies] -lazy_static = "0.2.2" +lazy_static = "1" libc = "0.2" [target.'cfg(target_os = "android")'.dependencies.android_glue] @@ -22,9 +22,9 @@ objc = "0.2" [target.'cfg(target_os = "macos")'.dependencies] objc = "0.2" -cocoa = "0.11" +cocoa = "0.13" core-foundation = "0.4" -core-graphics = "0.10" +core-graphics = "0.12" [target.'cfg(target_os = "windows")'.dependencies.winapi] version = "0.3"