mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-07 02:51:44 +00:00
* craft-ui: match guard for a stack's hit test (clippy 1.95 collapsible_match) * Update egui to 0.37 egui 0.37 replaces WidgetType with accesskit's Role and renames a few methods. Mapped per egui's own table (WidgetType docs): Checkbox is CheckBox, SelectableLabel is Button, Other is Unknown; UiBuilder::id and Ui::id are scope_id; Id::new is Id::unique (the same hash). No behaviour change. egui's test harness now panics on a glyph no installed font has, and its bundled fonts dropped U+22EE, so the docking fixture's group header draws an ellipsis instead of a vertical ellipsis. * craft-ui: README says egui 0.37 --------- Co-authored-by: Davis Brief <davisbrief@gmail.com>
57 lines
2.1 KiB
TOML
57 lines
2.1 KiB
TOML
[workspace]
|
|
resolver = "3"
|
|
members = ["crates/*"]
|
|
exclude = ["vendor/krilla", "vendor/hayro", "vendor/hayro-interpret", "vendor/hayro-syntax", "vendor/hayro-jbig2"]
|
|
|
|
[workspace.package]
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
license = "MIT OR Apache-2.0"
|
|
rust-version = "1.95"
|
|
repository = "https://github.com/storytold/craft-libs"
|
|
|
|
[workspace.dependencies]
|
|
# internal: add each crate here as `craft-<name> = { path = "crates/<name>" }`
|
|
craft-platform = { path = "crates/platform" }
|
|
craft-ai-core = { path = "crates/ai-core" }
|
|
craft-pdf = { path = "crates/pdf", version = "=0.1.0" }
|
|
krilla = { version = "=0.8.2", default-features = false, features = ["raster-images"] }
|
|
hayro = { version = "=0.7.1", default-features = false }
|
|
hayro-interpret = { version = "=0.7.0", default-features = false, features = ["embed-fonts", "embed-cmaps"] }
|
|
hayro-syntax = { version = "=0.7.2", default-features = false, features = ["std"] }
|
|
bytemuck = "1"
|
|
thiserror = "2"
|
|
craft-atomic = { path = "crates/atomic" }
|
|
craft-cms = { path = "crates/cms" }
|
|
craft-docpath = { path = "crates/docpath" }
|
|
craft-i18n = { path = "crates/i18n" }
|
|
craft-media = { path = "crates/media" }
|
|
craft-print = { path = "crates/print" }
|
|
craft-quit = { path = "crates/quit" }
|
|
craft-settings = { path = "crates/settings" }
|
|
craft-ui = { path = "crates/ui" }
|
|
craft-window = { path = "crates/window" }
|
|
egui = { version = "0.37", default-features = false }
|
|
rayon = "1"
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
proptest = "1"
|
|
# All date/time conversion goes through chrono (no hand-rolled calendar code beyond the 400-year range extension; AGENTS.md).
|
|
chrono = { version = "0.4.45", default-features = false, features = ["std"] }
|
|
|
|
[workspace.lints.rust]
|
|
unsafe_code = "forbid"
|
|
unexpected_cfgs = { level = "warn", check-cfg = ["cfg(craft_pdf_unicode_fixtures)"] }
|
|
|
|
[workspace.lints.clippy]
|
|
dbg_macro = "warn"
|
|
todo = "warn"
|
|
|
|
[patch.crates-io]
|
|
krilla = { path = "vendor/krilla" }
|
|
|
|
hayro = { path = "vendor/hayro" }
|
|
hayro-interpret = { path = "vendor/hayro-interpret" }
|
|
hayro-syntax = { path = "vendor/hayro-syntax" }
|
|
hayro-jbig2 = { path = "vendor/hayro-jbig2" }
|