Skip to main content

zoi_core/
lib.rs

1//! Core logic and types for Zoi.
2//!
3//! This crate contains the foundational building blocks for Zoi, including:
4//! - Configuration management and policy enforcement.
5//! - Package and dependency models.
6//! - PGP signature verification.
7//! - Hash calculations and cache management.
8//! - Sysroot and path utilities.
9
10/// Built-in package definitions and resources.
11pub mod alternatives;
12pub mod builtin;
13/// Cache management for archives and package definitions.
14pub mod cache;
15/// Configuration management and policy enforcement.
16pub mod config;
17/// The `.zdelta` descriptor schema Zoi publishes and consumes.
18pub mod delta;
19/// Dependency resolution and management.
20pub mod dependency;
21/// Management of frozen/locked package states.
22pub mod frozen;
23/// Hash calculation and verification.
24pub mod hash;
25/// Lock file management.
26pub mod lock;
27/// Offline mode support and utilities.
28pub mod offline;
29/// PGP signature verification.
30pub mod pgp;
31/// Package pinning management.
32pub mod pin;
33/// Package directory management.
34pub mod pkgdir;
35/// Transaction recording and playback.
36pub mod recorder;
37/// Sysroot and installation path management.
38pub mod sysroot;
39/// Core types used across the codebase.
40pub mod types;
41/// Package upgrade logic.
42pub mod upgrade;
43/// General utility functions.
44pub mod utils;