Files
image-workbench-desktop/src-tauri/Cargo.toml
T
qiqi 6e7c22123d feat(layout): 左右停靠栏(P1 布局 + P2 图标拖拽)v3.25.35
- 新增 src/ui-dock.js(IWBDockArea):左=节点组/浏览器/风格库,右=提示词库/图库;
  默认左浏览器、右图库;独立开合、宽度自由拖动(最小 100px、无上限)、状态持久化。
- 图标横排:点击切换 / 拖动排序 / 拖到另一栏按位置插入;每栏至少保留一个面板。
- 画布不动;工具栏/小地图/提示按 --iwb-dock-l/--iwb-dock-r 让位;停靠栏从顶栏下方开始。
- 顶部资源中心按钮与 Esc 继续控制右栏;右栏默认图库。
- 更新 boundary 快照、架构文档计数与 3 个外壳结构测试。
2026-11-19 22:32:56 +08:00

47 lines
1.7 KiB
TOML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
[package]
name = "image-workbench"
version = "3.25.35"
description = "无限画布 · 生图工作台桌面版"
authors = ["malongan"]
license = ""
repository = ""
edition = "2024"
rust-version = "1.90"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
name = "image_workbench_lib"
crate-type = ["staticlib", "cdylib", "rlib"]
[build-dependencies]
tauri-build = { version = "2.7.4", features = [] }
[dependencies]
serde_json = "1.0"
serde = { version = "1.0", features = ["derive"] }
log = "0.4"
# tray-icon:系统托盘(关闭窗口收进托盘而不是退出)
# tray-icon:系统托盘;image-png:托盘用单色 PNG 模板图标
# unstable:`Manager::get_window`(窗口级句柄,不受子 webview 影响)与 Window::add_child 都在它下面。
# 画布内嵌网页已下线(v3.25.27),但 get_window 仍要留着 —— save_geom/托盘/单实例都靠它,
# 且它比 get_webview_window 更稳(后者一旦窗口里有非同名 webview 就返回 None,见 v3.25.26)。
tauri = { version = "2.12.5", features = ["tray-icon", "image-png", "unstable"] }
url = "2"
tauri-plugin-log = "2"
tauri-plugin-dialog = "2"
tauri-plugin-fs = "2"
tauri-plugin-http = "2"
tauri-plugin-updater = "2"
tauri-plugin-single-instance = "2"
tauri-plugin-notification = "2"
arboard = "3"
image = { version = "0.25", default-features = false, features = ["png"] }
base64 = "0.22"
# 画布内嵌网页的圆角(2026-11-19):WKWebView 是矩形,要给它 backing layer 设
# cornerRadius/masksToBounds 只能走 Objective-C 消息。objc2 0.6 已由 tauri/wry 引入
# (Cargo.lock 里是同一个 0.6.x),这里显式依赖不会多编译一份。
[target.'cfg(target_os = "macos")'.dependencies]
objc2 = "0.6"