Module package

Module package 

Source
Expand description

Package identity and query models.

This module owns the type-safe representations used when a caller wants to talk about a package independent of storage, catalog payload shape, or installed state. The types here bridge user-facing package references, package aggregates, and dependency/query helpers.

Use this module when you need:

  • a canonical package aggregate (Package)
  • a package source/kind classification
  • package reference parsing (PackageRef, PackageId)
  • a text query model for search flows (PackageQuery)
  • package dependency metadata (Dependency)

Re-exports§

pub use dependency::Dependency;
pub use model::Package;
pub use model::PackageKind;
pub use model::PackageSource;
pub use query::PackageQuery;
pub use reference::PackageId;
pub use reference::PackageRef;

Modules§

dependency
model
Package aggregate types and source/kind classification.
query
Lightweight query model for package search.
reference