mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-25 20:14:31 +01:00
Pages: the port's page view keeps its pass (pre-draw tool callback, pager, GoTo, its picture stores) and takes upstream's editor and inactive edits, snap and tool regions, rulers strips, picture reach with resident counts, the zoom anchor and non-easing reflow, the thumb tip and Go To placement; PlacedPage::new takes upstream's four arguments with showing() for the picture; page spacing is the theme insets for Creative and upstream's for Productivity. Review: comment rows keep badges, lead and submit key beside upstream's balloon actions, body rows and push buttons; a new lead keeps its own edit draft. Text: editor keeps holds_drafts with upstream's focus scope. Module lists, stories and trials are the union.
46 lines
1.7 KiB
TOML
46 lines
1.7 KiB
TOML
[package]
|
|
name = "craft-review"
|
|
description = "Review for Craft apps: comments and threads, annotations, signatures, version history and revisions; presence, voting, chat and join over the app's own transport."
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
rust-version.workspace = true
|
|
repository.workspace = true
|
|
autotests = false
|
|
|
|
[lib]
|
|
# The lib's test target is the crate's one test executable: its trials and, with `screen-testing`, the
|
|
# screen tests in tests/it.
|
|
harness = false
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[features]
|
|
suite = ["screen-testing", "craft-ui/suite"]
|
|
default = []
|
|
# The review widgets (`craft_review::ui`).
|
|
ui = ["dep:craft-keymap", "dep:craft-pages", "craft-pages/ui", "dep:craft-ui", "dep:craft-host", "dep:craft-theme", "dep:egui"]
|
|
# The stories and the integration tests (`tests/it`).
|
|
screen-testing = ["ui", "craft-ui/testing", "craft-pages/screen-testing"]
|
|
|
|
[dependencies]
|
|
# Saved signature images are stored as base64 PNG text.
|
|
base64 = "0.23"
|
|
craft-behavior = { workspace = true }
|
|
craft-host = { workspace = true, optional = true, features = ["ui"] }
|
|
craft-i18n = { workspace = true }
|
|
craft-keymap = { workspace = true, optional = true }
|
|
craft-pages = { workspace = true, optional = true }
|
|
craft-theme = { workspace = true, optional = true }
|
|
craft-ui = { workspace = true, optional = true }
|
|
egui = { workspace = true, optional = true }
|
|
image = { version = "0.25", default-features = false, features = ["png", "jpeg"] }
|
|
kurbo = { workspace = true, features = ["serde"] }
|
|
serde = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
craft-ui = { workspace = true, features = ["suite"] }
|
|
egui = { workspace = true }
|
|
serde_json = { workspace = true }
|