mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-30 18:27:00 +01:00
core-graphics2 0.6.1, its latest release, depends on block 0.1.6, which the compiler reports as code that a future version of Rust will reject. The `screen` feature now takes Core Graphics from objc2-core-graphics 0.3, the objc2 family craft-platform already uses, and block and core-graphics2 leave Cargo.lock. The two calls that need `unsafe` (the active display list and an image's pixel bytes) are in a new craft-appkit module, `display`, with tests. The capture makes the same Core Graphics calls and checks as before.