mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-17 00:34:25 +00:00
42 lines
1.5 KiB
TOML
42 lines
1.5 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]
|
|
default = []
|
|
# The review widgets (`craft_review::ui`).
|
|
ui = ["dep:craft-keymap", "dep:craft-ui", "dep:craft-host", "dep:craft-theme", "dep:egui", "dep:image"]
|
|
# The stories and the integration tests (`tests/it`).
|
|
screen-testing = ["ui", "craft-ui/testing"]
|
|
|
|
[dependencies]
|
|
craft-behavior = { workspace = true }
|
|
craft-host = { workspace = true, optional = true, features = ["ui"] }
|
|
craft-i18n = { workspace = true }
|
|
craft-keymap = { 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"], optional = true }
|
|
kurbo = { workspace = true, features = ["serde"] }
|
|
serde = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
craft-ui = { workspace = true, features = ["testing"] }
|
|
egui = { workspace = true }
|
|
serde_json = { workspace = true }
|