mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-25 20:14:31 +01:00
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.
39 lines
1.4 KiB
TOML
39 lines
1.4 KiB
TOML
[package]
|
|
name = "craft-cloud-ui"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
rust-version.workspace = true
|
|
description = "Share dialog, cloud Open and Save pages, account menu and presence bar for Craft apps, on egui"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
egui = { workspace = true }
|
|
# The vendor-neutral vocabulary the share and e-sign dialogs speak. No IO and
|
|
# no vendor, so this stays buildable for the web.
|
|
craft-cloud = { workspace = true, optional = true }
|
|
# The e-sign contract the request-signatures dialog states its work through.
|
|
craft-esign = { workspace = true, optional = true }
|
|
# The control channel's report of the cloud state. One serialiser here
|
|
# rather than one per application. No IO and no vendor.
|
|
serde_json = { workspace = true, optional = true }
|
|
|
|
[features]
|
|
default = []
|
|
# The share dialog and the backend contract it states its work through.
|
|
share = ["dep:craft-cloud"]
|
|
# Open and Save against cloud storage. Needs the share dialog, which a
|
|
# document's overflow menu and the Share split button both open.
|
|
cloud = ["share", "dep:serde_json"]
|
|
# Request-signatures dialog.
|
|
esign = ["dep:craft-cloud", "dep:craft-esign"]
|
|
|
|
[dev-dependencies]
|
|
image = { version = "0.25", default-features = false, features = ["png"] }
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
|
|
egui_kittest = { version = "0.37", features = ["wgpu"] }
|