Update dependencies (#369)

* macos: Update core-graphics to v12 and cocoa to v13

* Update lazy_static to v1
This commit is contained in:
Chet Gurevitch 2017-12-27 09:39:38 -08:00 committed by Pierre Krieger
parent a8d5a9e1ab
commit 23881459bc
2 changed files with 4 additions and 3 deletions

View file

@ -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<std::os::raw::c_ulong>` and `get_xlib_screen_id` returns `Option<std::os::raw::c_int>`. 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)

View file

@ -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"