PhotoCraft: An open-source, photo editor written by scratch in pure Rust
Clarify that muda is a native menu crate, not Tauri (#1786)
BFlat89922792c574
diff --git a/apps/photocraft/Cargo.toml b/apps/photocraft/Cargo.tomlindex eb0907077..b1293f6a1 100644--- a/apps/photocraft/Cargo.toml+++ b/apps/photocraft/Cargo.toml@@ -54,8 +54,8 @@ fmv-macos-events = "=0.1.0"objc2 = "=0.6.4"objc2-foundation = { version = "=0.3.2", default-features = false, features = ["std", "NSArray", "NSEnumerator", "NSGeometry"] }objc2-app-kit = { version = "=0.3.2", default-features = false, features = ["std", "NSApplication", "NSApplicationScripting", "NSEvent", "NSResponder", "NSView", "NSWindow"] }-# The macOS menu bar (mac_menu.rs): Tauri's menu crate, AppKit menus behind a safe API (no GTK-# with default features off). Pinned exactly: review the diff before bumping.+# The macOS menu bar (mac_menu.rs): a standalone native menu crate (from the tauri-apps org, but+# not Tauri: no webview, no JS), AppKit menus behind a safe API (no GTK with default features off). Pinned exactly: review the diff before bumping.muda = { version = "=0.21.1", default-features = false }# Quit with `terminate:` from the main queue, outside winit's event handler (mac_window.rs).# Already in Cargo.lock (winit, objc2-app-kit); pinned exactly to the same version.diff --git a/apps/photocraft/src/mac_menu.rs b/apps/photocraft/src/mac_menu.rsindex 871a9d03d..648595ad4 100644--- a/apps/photocraft/src/mac_menu.rs+++ b/apps/photocraft/src/mac_menu.rs@@ -1,5 +1,5 @@-//! The macOS menu bar, through muda (Tauri's menu crate: AppKit menus behind a safe API, no GTK on-//! macOS). The menus themselves, their Mac layout and how their keys reach PhotoCraft are in+//! The macOS menu bar, through muda (a standalone native menu crate, not Tauri: no webview, just+//! AppKit menus behind a safe API, no GTK on macOS). The menus themselves, their Mac layout and how their keys reach PhotoCraft are in//! `photocraft_ui_egui::native_menu`; this file only builds and updates the `NSMenu`s.//!//! - Item ids are command ids; a command in two menus (Keyboard Shortcuts is in Edit and Window)