winbrew_models\package/
mod.rs

1//! Package identity and query models.
2//!
3//! This module owns the type-safe representations used when a caller wants to
4//! talk about a package independent of storage, catalog payload shape, or
5//! installed state. The types here bridge user-facing package references,
6//! package aggregates, and dependency/query helpers.
7//!
8//! Use this module when you need:
9//!
10//! - a canonical package aggregate (`Package`)
11//! - a package source/kind classification
12//! - package reference parsing (`PackageRef`, `PackageId`)
13//! - a text query model for search flows (`PackageQuery`)
14//! - package dependency metadata (`Dependency`)
15
16pub mod dependency;
17pub mod model;
18pub mod query;
19pub mod reference;
20
21pub use dependency::Dependency;
22pub use model::{Package, PackageKind, PackageSource};
23pub use query::PackageQuery;
24pub use reference::{PackageId, PackageRef};