Files
craft-libs/crates/ui/Cargo.toml
T
aiongg e8e713ee26 Merge storytold main into next (18 Nov sync)
Merges main at 3b8e426a26.

- crates/ui: main's e-sign dialog (crates/ui/src/esign) moves to craft-cloud-ui beside the
  share dialog, behind craft-cloud-ui's esign feature; craft-ui forwards `esign` and
  re-exports the module.
- crates/proof: main's can_suggest_cased goes to affix/check.rs and its tests to
  affix/tests.rs (next split affix.rs); French wiring in lib.rs.
- crates/svg: main's validated resolver and raster validation stay under tree-render, which
  now also enables gif and image-webp; the shared image-codec helpers are gated on tree.
- craft-ai-agents: main's rev (craft-ai-integrations main), one entry.
- crates/craft: facade dependencies, features and re-exports for main's new crates.
2026-11-18 23:07:38 +00:00

65 lines
2.1 KiB
TOML

[package]
name = "craft-ui"
version.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
rust-version.workspace = true
description = "Runtime, contract, components, patterns and shell of the craft UI library, on egui"
autotests = false
[lib]
# Every test lives in the `it` integration binary, so `cargo test` builds the library once.
test = false
[lints]
workspace = true
[features]
default = []
# `shell::app`: the eframe entry point.
app = ["craft-ui-shell/app"]
# `craft_ui::testing`: the fixture and suite runner, with every crate's test helpers.
testing = [
"craft-ui-contract/testing",
"craft-ui-widgets/testing",
"craft-ui-panels/testing",
"craft-ui-canvas/testing",
"craft-ui-patterns/testing",
"craft-ui-shell/testing",
]
# `craft_ui::testing::snapshot`: stories rendered to images offscreen (desktop only).
snapshot = ["testing", "craft-ui-contract/snapshot"]
# Draw colour glyphs (COLR, sbix, CBDT), e.g. colour emoji.
color_fonts = ["craft-ui-contract/color_fonts"]
# Find installed fonts for characters the app's faces lack (desktop only).
system_fonts = ["craft-ui-contract/system_fonts"]
# `share`, `account`: the share dialog and the account menu (craft-cloud-ui).
share = ["craft-cloud-ui/share"]
# `cloud`: Open and Save against cloud storage (craft-cloud-ui).
cloud = ["share", "craft-cloud-ui/cloud"]
# `esign`: the request-signatures dialog (craft-cloud-ui).
esign = ["craft-cloud-ui/esign"]
[dependencies]
craft-ui-contract = { workspace = true }
craft-ui-widgets = { workspace = true }
craft-ui-panels = { workspace = true }
craft-ui-canvas = { workspace = true }
craft-ui-patterns = { workspace = true }
craft-ui-shell = { workspace = true }
craft-cloud-ui = { workspace = true }
[dev-dependencies]
craft-ui = { path = ".", features = ["testing"] }
craft-behavior = { workspace = true }
craft-i18n = { workspace = true, features = ["collate"] }
egui = { workspace = true }
syn = { version = "2", features = ["full"] }
toml = { version = "1.1", default-features = false, features = ["std", "parse", "serde"] }
[[test]]
name = "it"
path = "tests/it/main.rs"
harness = false