mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-12 10:03:51 +00:00
The format-only part of DesignCraft's crates/idml (at 513f77b8): the bounded, lenient package reader, designmap includes, the package writer, the <Properties> accessors and the attribute value codecs. DesignCraft's own XML tree is replaced by craft-xml, which adds node and attribute caps per part. crates/textimport/src/tagged.rs moves as craft_idml::tagged behind a neutral model of paragraphs and runs.
21 lines
892 B
TOML
21 lines
892 B
TOML
[package]
|
|
name = "craft-idml"
|
|
description = "IDML (InDesign Markup Language) packages: the ZIP container read with bounded part sizes and written, designmap includes, the Properties form of IDML's XML, value codecs, and InDesign Tagged Text."
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
rust-version.workspace = true
|
|
repository.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
craft-xml = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
# `deflate-flate2` with flate2's default miniz_oxide backend, as craft-update pins it (zip's own
|
|
# `deflate` feature would switch a whole app's flate2 to zlib-rs).
|
|
zip = { version = "9", default-features = false, features = ["deflate-flate2"] }
|
|
# The backend of zip's deflate: `deflate-flate2` leaves the choice to the build.
|
|
flate2 = { version = "1", default-features = false, features = ["rust_backend"] }
|