Skip to main content

zng_ext_setup/
lib.rs

1#![doc(html_favicon_url = "https://zng-ui.github.io/res/zng-logo-icon.png")]
2#![doc(html_logo_url = "https://zng-ui.github.io/res/zng-logo.png")]
3//!
4//! Types and service for implementing recoverable install and uninstall tasks.
5//!
6//! The primary use for this crate is creating a Windows setup executable that is compressed
7//! and packaged using `cargo zng res --tool sfx`.
8//!
9//! # Self Setup
10//!
11//! For [`zng`] apps the installer/uninstaller logic can be build as an alternate mode of the app main executable, avoiding
12//! the cost of packaging a separate executable for install/uninstall and sharing the app look and feel.
13//!
14//! [`zng`]: https://crates.io/crates/zng
15//!
16//! # Crate
17//!
18#![doc = include_str!(concat!("../", std::env!("CARGO_PKG_README")))]
19#![warn(unused_extern_crates)]
20#![warn(missing_docs)]
21
22pub mod task;
23
24mod service;
25pub use service::*;
26
27mod sfx_client;
28pub use sfx_client::*;