mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-29 01:36:18 +01:00
- Workflows: main's per-crate layout, with next in the push triggers, Linux only for pushes to next, next's crate features (keymap egui, window and update ui) and test paths (crw samples and the pdf fixtures run inside the lib's test binary). The workspace gate keeps --keep-going and the facade-as-an-app clippy from next's ui.yml. Per-crate doc steps live in docs.yml, which also documents craft-ui, the ui-* crates, craft-doc and craft-pdf with every feature. docpath, i18n, print and ui workflows go, as on main. actions.lock lists docs.yml and theme.yml. - Main's cloud and share UI (account, cloud, share, presence, the overflow menu and split button) lives in the new crate craft-cloud-ui as main wrote it; the craft-ui facade forwards share and cloud and re-exports account, cloud, share and presence, so craft-cloud-local builds unchanged. - audio and media: main's new tests join tests/main.rs under their features. - cms: main's new synth and FOGRA39 tests, with the fogra39() helper they use. - nextest: no gpu group on unix; next's tests create no GPU device.
35 lines
1.2 KiB
TOML
35 lines
1.2 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 dialog speaks. No IO and no
|
|
# vendor, so this stays buildable for the web.
|
|
craft-cloud = { 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"]
|
|
|
|
[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"] }
|