1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
//! Whitaker installer library.
//!
//! This crate provides the core functionality for building, linking, and staging
//! Dylint lint libraries. It is used by the `whitaker-installer` CLI binary and
//! can be consumed programmatically for testing or custom installation workflows.
//!
//! # Modules
//!
//! - [`artefact`] - Artefact naming, manifest schema, and verification policy
//! - [`binstall_metadata`] - Cargo-binstall metadata constants and template
//! expansion
//! - [`builder`] - Cargo build orchestration for lint crates
//! - [`cli`] - Command-line argument definitions
//! - [`crate_name`] - Semantic wrapper for lint crate names
//! - [`deps`] - Dylint tool dependency management
//! - [`dirs`] - Directory resolution abstraction for platform-specific paths
//! - [`error`] - Semantic error types with recovery hints
//! - [`git`] - Repository cloning and updating
//! - [`install_metrics`] - Local installer metrics persistence and summaries
//! - [`installer_packaging`] - Installer binary archive packaging for release
//! distribution
//! - [`list`] - List command implementation
//! - [`list_output`] - Output formatting for lint listing
//! - [`output`] - Shell snippet generation for environment configuration
//! - [`pipeline`] - Build and staging pipeline orchestration
//! - [`prebuilt`] - Prebuilt artefact download and verification orchestrator
//! - [`prebuilt_path`] - Canonical prebuilt extraction path derivation
//! - [`resolution`] - Crate resolution and validation
//! - [`scanner`] - Lint scanner for discovering installed libraries
//! - [`stager`] - File staging with platform-specific naming conventions
//! - [`test_support`] - Hidden test-only hooks shared by installer behavioural
//! and integration tests
//! - [`toolchain`] - Rust toolchain detection and validation
//! - [`version`] - Semantic crate version wrapper
//! - [`workspace`] - Workspace detection and path resolution
//! - [`wrapper`] - Wrapper script generation
/// Test-only hooks shared by installer behavioural and integration tests.
///
/// This module exposes helpers such as environment-variable test switches for
/// installer-only regression coverage. It is public for test crates, but
/// hidden from generated documentation because it is not part of the supported
/// runtime API.
/// Test utilities for stubbing command execution in integration tests.
///
/// This module is public to allow the binary crate's tests to import it,
/// but hidden from generated documentation as it is not part of the public API.