-
Bump Rust Edition from 2018 to 2021.
-
Make
Layer
's implementation details private; it is now a struct withas_ptr
,into_raw
andis_existing
accessor methods. -
Add support for tvOS, watchOS and visionOS.
-
Use
objc2
internally. -
Move
Layer
constructors to the type itself.appkit::metal_layer_from_ns_view
is nowLayer::from_ns_view
.uikit::metal_layer_from_ui_view
is nowLayer::from_ui_view
.
raw-window-handle
types are also no longer exposed directly in the API. This allows us to decouple the library fromraw-window-handle
's versioning. -
Added
Layer::from_layer
to construct aLayer
from aCALayer
directly. -
Fixed layers not automatically resizing to match the super layer they were created from.
- Update
raw-window-handle
dep to0.6.0
. - Remove
metal_layer_from_ns_window
andmetal_layer_from_ui_window
.
- Bump version of
cocoa
andcore-graphics
dependencies.
- Only build docs.rs for
darwin
andios
.
- Update
raw-window-handle
dep to0.5.0
.
- Update
raw-window-handle
dep to0.4.2
. Renamemacos
->appkit
andios
->uikit
followingraw-window-handle
.
- Update
cocoa
andcore-graphics
dependencies.
- iOS: support layer from ui window.
- Initial release! 🎉