Files
craft-libs/crates/imaging/Cargo.toml
T
2026-11-14 02:17:33 +00:00

45 lines
1.5 KiB
TOML

[package]
name = "craft-imaging"
description = "Raster image editing for Craft apps: warps, adjustments, layer styles, selection tools and masks, the full-window editors, the Channels panel and the scopes."
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 editing widgets (`craft_imaging::ui`).
ui = ["craft-color/ui", "dep:serde_json", "dep:craft-behavior", "dep:craft-keymap", "dep:craft-ui", "dep:egui", "dep:kurbo"]
# Stories and integration trials of the widgets.
screen-testing = ["ui", "craft-ui/testing"]
[dependencies]
craft-behavior = { workspace = true, optional = true }
craft-color = { workspace = true }
craft-host = { workspace = true }
craft-i18n = { workspace = true }
craft-keymap = { workspace = true, optional = true }
craft-theme = { workspace = true }
craft-ui = { workspace = true, optional = true }
egui = { workspace = true, optional = true }
kurbo = { workspace = true, optional = true }
serde = { workspace = true }
serde_json = { workspace = true, optional = true }
[dev-dependencies]
craft-ui = { workspace = true, features = ["testing"] }
egui = { workspace = true }
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
egui_kittest = { version = "0.37", features = ["wgpu"] }