mirror of
https://codeberg.org/Toasterson/ips.git
synced 2026-04-10 13:20:42 +00:00
- Add `ProgressReporter` trait with `start`, `update`, and `finish` methods for customizable progress tracking during operations. - Implement `ProgressInfo` struct for detailed progress state reporting, including operation, progress, and context information. - Create a no-op implementation `NoopProgressReporter` for cases where progress reporting is not needed. - Enhance `pkg6` with structured error handling using `Pkg6Error` and new diagnostic variants for I/O, JSON, FMRI, and logging errors. - Update `Image` functionality to leverage progress reporting during catalog downloads and include robust publisher management. - Introduce `TestProgressReporter` for unit tests to validate progress reporting integration.
19 lines
539 B
TOML
19 lines
539 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" }
|
|
clap = { version = "4", features = ["derive"] }
|
|
miette = { version = "7", features = ["fancy"] }
|
|
thiserror = "2"
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
|
serde = { version = "1.0.207", features = ["derive"] }
|
|
serde_json = "1"
|