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 references;
16mod report;
17mod review;
18mod server;
19pub use server::serve;
20mod resources;
21mod scan_options;
22pub use analysis::{
23    AnalysisOptions, AnalysisReport, ImageCandidate, ResourceAnalysis, analyze,
24    analyze_with_progress,
25};
26pub use image_backend::{ImageDifference, ImageInfo, image_backend_available};
27pub use report::refresh_report;
28pub use resources::{Resource, ResourceInventory, inventory, inventory_with_options};
29pub use scan_options::ScanOptions;
30
31pub use catalog::{Asset, Inventory, scan, scan_with_options};
32pub use optimizer::Policy;
33pub use plan::{ApplyReport, Candidate, Plan, apply, create_plan, read_plan, restore};