mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-17 18:04:48 +00:00
Port PhotoCraft preset_store.rs at 19aec5eb44131de44361189d64910e7b3e19e57c. Preserve original primary author and later codec contributions. Co-authored-by: David Mann <daaavid.mann@gmail.com> Co-authored-by: FinnNk <finnnk@gmail.com>
22 lines
860 B
TOML
22 lines
860 B
TOML
[package]
|
|
name = "craft-pcraft-format"
|
|
description = "The envelope of PhotoCraft's .pcraft bundle: the manifest with the document as a type parameter, tile references, entry paths, decode limits and the migration runner."
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
rust-version.workspace = true
|
|
repository.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
serde = { workspace = true }
|
|
# `unbounded_depth`: manifests nest deeper than serde_json's 128 levels; `parse_manifest` checks
|
|
# the nesting against `Limits::max_depth` before parsing.
|
|
serde_json = { workspace = true, features = ["unbounded_depth"] }
|
|
thiserror = { workspace = true }
|
|
|
|
# Same pure-Rust backend as the PhotoCraft source codec. MIT OR Apache-2.0.
|
|
flate2 = { version = "1.1.10", default-features = false, features = ["zlib-rs", "runtime_detection"] }
|