Skip to main content

resopt/
lib.rs

1//! Resource discovery and recoverable, pixel-verified optimization plans.
2//!
3//! The first backend recompresses static catalog PNGs without changing their
4//! filenames, decoded samples, or non-IDAT chunks. Plans measure source bytes,
5//! not compiled catalog or App Store download sizes.
6
7#![doc = include_str!("../README.md")]
8
9mod analysis;
10mod catalog;
11mod filesystem;
12mod image_backend;
13mod optimizer;
14mod plan;
15mod resources;
16pub use analysis::{
17    AnalysisOptions, AnalysisReport, ImageCandidate, ResourceAnalysis, analyze,
18    analyze_with_progress,
19};
20pub use image_backend::{ImageDifference, ImageInfo, image_backend_available};
21pub use resources::{Resource, ResourceInventory, inventory};
22
23pub use catalog::{Asset, Inventory, scan};
24pub use optimizer::Policy;
25pub use plan::{ApplyReport, Candidate, Plan, apply, create_plan, read_plan, restore};