whitaker-installer 0.2.7

Installer CLI for Whitaker Dylint lint libraries
Documentation
//! 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

pub mod artefact;
pub mod binstall_metadata;
pub mod builder;
pub mod cli;
pub mod crate_name;

pub mod dependency_binaries;
pub mod deps;
pub mod dirs;
pub mod error;
pub mod git;
pub mod install_metrics;
pub mod installer_packaging;
pub mod list;
pub mod list_output;
pub mod output;
pub mod pipeline;
pub mod prebuilt;
pub mod prebuilt_path;
pub mod resolution;
pub mod scanner;
pub mod stager;
/// 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.
#[doc(hidden)]
pub mod test_support;
pub mod toolchain;
pub mod version;
pub mod workspace;
pub mod wrapper;

#[cfg(test)]
mod dependency_packaging_tests;
#[cfg(test)]
mod install_metrics_tests;

/// 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.
#[doc(hidden)]
pub mod test_utils;

pub mod dependency_packaging;