Skip to main content

pacenotes_installer/
lib.rs

1//! The installer's Win32-free logic, as a library so `cargo test` runs it on any host.
2//! The Windows-only binary (`main.rs`) owns `http`, `ui` and `i18n`.
3// A panic in a GUI built with `panic = "abort"` is a vanished window, so final
4// code reports failures instead; tests may still assert by panicking.
5#![cfg_attr(
6    not(test),
7    deny(clippy::unwrap_used, clippy::expect_used, clippy::panic)
8)]
9
10pub mod cache;
11pub mod choices;
12pub mod engine;
13pub mod gamedir;
14pub mod install;
15pub mod ledger;
16pub mod restore;
17pub mod runlog;
18pub mod schema;
19pub mod sha256;
20pub mod size;
21pub mod tree;
22pub mod utc_time;
23pub mod zip;
24
25mod relative_path;
26
27#[cfg(test)]
28mod scratch_dir;