DesignCraft: An open-source page and layout design editor written by scratch in pure Rust
Merge gpu-startup: pick the GPU that drives the display, fall back across adapters and backends, and log startup errors (#273, #334)
aiongg16bb39e53149
diff --cc apps/designcraft/Cargo.tomlindex cd70c3244,a18c28a8a..6941afe9d--- a/apps/designcraft/Cargo.toml+++ b/apps/designcraft/Cargo.toml@@@ -30,8 -29,11 +30,14 @@@ arboard = { workspace = true# The same winit eframe uses: to pick the X11 backend (file drag-and-drop) in main.rs.winit = { version = "0.30", default-features = false, features = ["x11"] }+ [target.'cfg(windows)'.dependencies]+ # EnumDisplayDevices (src/gpu.rs): which GPU drives the display, so the window draws on the GPU+ # that shows it; drawing on a GPU without a monitor reset the display driver. Safe wrappers over+ # Win32 (MIT); the `user` feature is User32.dll only.+ winsafe = { version = "0.0.29", default-features = false, features = ["user"] }+[target.'cfg(target_os = "macos")'.dependencies]muda = { version = "0.21", default-features = false }+# The input context, to drop the IME's marked text when the Type tool ends a composition.+objc2 = "0.6"+objc2-app-kit = { version = "0.3", default-features = false, features = ["std", "NSTextInputContext"] }