mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-16 20:15:58 +00:00
A native save now sets the stored brushes' art on the document while it tells linked images from embedded ones and while it converts placed documents for older versions, then writes the changed brushes back. - A linked image shown only in a brush's art is saved as its preview, or with Include Linked Files as its file's bytes; an image key that the layers or a brush's art shows embedded keeps its full bytes. - Saving for an older version replaces placed documents in a brush's art with groups of their art and its resources, before a precision rounds it, and the precision preview and PDF use the same conversion. - Data Recovery copies count the images in brush art the same way. Docs: docs/target-app-parity.md, docs/mcp.md.
30 lines
934 B
TOML
30 lines
934 B
TOML
[package]
|
|
name = "vectorcraft-format"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
description = "VectorCraft native .vectorcraft format (versioned JSON, embedded images)"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
vectorcraft-doc = { workspace = true }
|
|
vectorcraft-brush = { workspace = true }
|
|
craft-vectorcraft-format = { workspace = true }
|
|
serde ={ workspace = true }
|
|
serde_json = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
flate2 = { workspace = true }
|
|
|
|
# A plain fsync where a volume refuses the full flush (`sync_file`, atomic.rs), and the replaced
|
|
# file's access ACL on Linux (`keep_permissions`). Already in Cargo.lock (tempfile), so this adds
|
|
# no new crate.
|
|
[target.'cfg(unix)'.dependencies]
|
|
rustix = { workspace = true, features = ["std", "fs"] }
|
|
|
|
[dev-dependencies]
|
|
vectorcraft-testkit = { workspace = true }
|
|
proptest = { workspace = true }
|
|
vectorcraft-geom = { workspace = true }
|