Files
photocraft/crates/paint/Cargo.toml
aiongg a8f21a383d Brush tip is Tracked: the Brush Preset field runs only for the presets, the tip and the values it shows
photocraft-paint's BrushSettings::tip is a Tracked<TipShape>; tools.setBrush keeps its revision when the new brush's
tip equals the old one. The options bar's field takes the presets, the tip and a BrushFace (size, hardness, angle,
roundness) as props instead of the whole brush, so an Opacity or Flow write replays it. Trial:
brush_settle_trials.
2026-11-21 14:07:15 +00:00

28 lines
788 B
TOML

[package]
name = "photocraft-paint"
version.workspace = true
edition.workspace = true
license.workspace = true
[lints]
workspace = true
[dependencies]
craft-tracked = { workspace = true, features = ["serde"] }
craft-ui-macros = { workspace = true }
photocraft-geom = { workspace = true }
photocraft-color = { workspace = true }
photocraft-raster = { workspace = true }
serde = { workspace = true }
rustc-hash = { workspace = true }
# The tile serde form and commands that take file bytes as base64 text.
base64 = "0.23"
# Large tips rasterize, accumulate and composite in parallel (the same pixels as serially).
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
rayon = { workspace = true }
[dev-dependencies]
craft-cms = { workspace = true }
serde_json = { workspace = true }