mirror of
https://codeberg.org/Toasterson/ips.git
synced 2026-04-10 21:30:41 +00:00
- Implement unit tests to cover `Image` creation, metadata management, saving/loading, and error handling. - Add separate constructors for `Full` and `Partial` image types (`new_full`, `new_partial`). - Introduce robust path handling methods (`metadata_dir`, `image_json_path`) for consistent metadata structure. - Enhance error diagnostics with `InvalidPath` variant in `ImageError`. - Update `Cargo.toml` for test module inclusion.
14 lines
347 B
TOML
14 lines
347 B
TOML
[package]
|
|
name = "pkg6"
|
|
version.workspace = true
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
license-file.workspace = true
|
|
repository.workspace = true
|
|
readme.workspace = true
|
|
keywords.workspace = true
|
|
|
|
[dependencies]
|
|
libips = { version = "*", path = "../libips" }
|
|
diff-struct = "0.5.3"
|
|
serde = { version = "1.0.207", features = ["derive"] }
|