Files
craft-libs/crates/format/Cargo.toml
T
Dylan M. Taylor 58854566ed feat: add craft-format (versioned JSON file formats)
Port from solidcraft: versioned JSON file format system with:
- Format families with hand-written upgrade steps and folded formats
- Pending changes that auto-number on release
- Container format: content-addressed blobs (SHA-256) in ZIP packages
- Newer file handling: read what you can, keep the rest

No external dependencies beyond serde_json and craft-zip.
Hostile-input bounded reading: sizes, counts, nesting capped.
2026-11-15 11:10:39 -05:00

21 lines
703 B
TOML

[package]
name = "craft-format"
description = "Versioned JSON file formats: the format tag, the registry of versions (hand-written steps, then one folder of changes per version, then the pending changes), the upgrade of an older file and the telling of a newer one"
version.workspace = true
edition.workspace = true
license.workspace = true
rust-version.workspace = true
repository.workspace = true
[lints]
workspace = true
[dependencies]
serde_json = { workspace = true }
# The container: content-addressed blobs (SHA-256) in a ZIP package.
sha2 = { version = "0.10", default-features = false, features = ["std"] }
craft-zip = { workspace = true }
[dev-dependencies]
proptest = { workspace = true }