image_optimizer/updater/
mod.rs

1//! Self-update functionality.
2//!
3//! This module provides automatic update capabilities for the image optimizer tool.
4//! It can check for new releases on GitHub, download the appropriate binary for the
5//! current platform, and perform in-place updates with backup creation.
6//!
7//! ## Components
8//!
9//! - **Self updater**: Main update orchestration and GitHub API interaction
10//! - **GitHub release**: Data structures for GitHub API responses
11//! - **Platform detector**: Determines the correct binary target for the current platform
12//! - **Version comparator**: Semantic version comparison logic
13//! - **Executable manager**: Current executable path management
14
15pub mod executable_manager;
16pub mod github_release;
17pub mod platform_detector;
18#[allow(clippy::module_name_repetitions)]
19pub mod self_updater;
20pub mod version_comparator;
21
22pub use self_updater::update_self;