mirror of
https://github.com/storytold/wordcraft.git
synced 2026-11-11 16:31:54 -06:00
* ui: craft_ui::ComboBox everywhere and the combo arrow popup on craft_ui::combo::Menu Repin craft-libs to aiongg/craft-libs 62bb0e1d (dropdown regrow). Ban egui::ComboBox in clippy.toml. * chore(deps): craft-libs 60d60d48 (dropdown fixes) * chore(deps): craft-libs 6af63481 (dropdown fixes) * chore(deps): craft-libs 4d7b82f7 (dropdown fixes) * chore(deps): craft-libs 92d392cf (#387 merged)
67 lines
3.3 KiB
TOML
67 lines
3.3 KiB
TOML
[package]
|
|
name = "wordcraft-ui-egui"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
description = "WordCraft egui front end (Word-style ribbon UI); swappable: nothing below depends on it"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
craft-ui = { git = "https://github.com/storytold/craft-libs", rev = "92d392cff132eaf53e13afff77f38b5c11b73aa0" }
|
|
# Interface translations: lookup, fallback, plurals and system-locale matching over the craft-i18n
|
|
# catalogs that `build.rs` embeds from `CRAFT_I18N_DIR` (storytold/craft-i18n, pinned in
|
|
# `craft-i18n.rev`). Same craft-libs rev as craft-ui; it brings lazy per-locale parsing
|
|
# (storytold/craft-libs#247), ICU4X plural rules and bidi isolates around inserted values.
|
|
craft-i18n = { git = "https://github.com/storytold/craft-libs", rev = "92d392cff132eaf53e13afff77f38b5c11b73aa0" }
|
|
# One native window per open document: the window list, the Window menu and the egui viewports.
|
|
craft-window = { git = "https://github.com/storytold/craft-libs", rev = "92d392cff132eaf53e13afff77f38b5c11b73aa0", features = ["egui"] }
|
|
wordcraft-geom = { workspace = true, features = ["image"] }
|
|
wordcraft-doc = { workspace = true }
|
|
wordcraft-fonts = { workspace = true }
|
|
wordcraft-layout = { workspace = true }
|
|
wordcraft-render = { workspace = true }
|
|
wordcraft-engine = { workspace = true }
|
|
wordcraft-zotero = { workspace = true }
|
|
egui = { workspace = true, features = ["default_fonts", "monochrome_emoji_fonts"] }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
log = { workspace = true }
|
|
web-time = { workspace = true }
|
|
# Pictures pasted from the system clipboard arrive as pixels and are inserted as PNG (#45).
|
|
image = { workspace = true }
|
|
# The system's preferred interface languages (#8) and region (#838). Native: OS APIs; wasm:
|
|
# the browser's languages (`js`).
|
|
sys-locale = { version = "0.3", features = ["js"] }
|
|
|
|
# Linux only, where winit reports no system theme: the desktop portal's light/dark answer (see
|
|
# `desktop_theme.rs`). Already in the tree, with these features, through egui's own accessibility
|
|
# bus; pinned to one version so nothing is built twice.
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
|
zbus = "=5.19.0"
|
|
|
|
# Comment times in the user's own time zone (`local_time.rs`); the web app asks the browser.
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
chrono = { version = "0.4.45", default-features = false, features = ["clock"] }
|
|
craft-update = { workspace = true }
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
# The browser clock (`SystemTime::now()`/`Instant::now()` panic on wasm32).
|
|
js-sys = "0.3"
|
|
|
|
[dev-dependencies]
|
|
cfb = { workspace = true }
|
|
# Producer tests simulate a globally exhausted IME revision allocator through the engine's
|
|
# explicit test-support feature; production builds of this crate never enable it.
|
|
wordcraft-engine = { workspace = true, features = ["test-support"] }
|
|
# kittest's own dev-dependencies do not propagate their font features. Declare the fonts the
|
|
# interface tests lay out explicitly: default faces plus monochrome emoji fallbacks.
|
|
egui = { workspace = true, features = ["default_fonts", "monochrome_emoji_fonts"] }
|
|
egui_kittest = { workspace = true, features = ["wgpu", "snapshot"] }
|
|
zip = { workspace = true }
|
|
|
|
[build-dependencies]
|
|
serde_json = { workspace = true }
|
|
toml = "1"
|