//! Project glob expansion: resolves the entries of
//! [`haz_config::mapper::workspace::WorkspaceConfig::projects`]
//! (per `CFG-009`) into a deduplicated, source-indexed list of
//! host-canonical project root directories.
//!
//! Implements rules `DISC-005`, `DISC-006`, `DISC-007`,
//! `DISC-009`, `DISC-020`, `DISC-021`, and `DISC-022` from
//! `docs/spec/03-discovery.md`.
//!
//! Entry point:
//! [`crate::discovery::Discovery::expand_project_list`].

pub mod expand;
pub mod load;

pub(crate) mod prefix;
pub(crate) mod walk;

pub use expand::{ExpandError, ExpandErrors, ResolvedProject, ResolvedProjectList};
pub use load::{LoadError, LoadErrors, LoadedProject, LoadedProjectList};
