Skip to main content

zoi_package/
lib.rs

1//! Zoi package management, building, and registry operations.
2//!
3//! This crate provides the core logic for creating, building, and managing Zoi
4//! packages and registries. It handles the lifecycle of a package from its
5//! `.pkg.lua` definition to a distributable `.zpa` or `.zsa` archive.
6
7/// Package build orchestration.
8pub mod build;
9/// Source bundling into `.zsa` archives.
10pub mod bundle;
11/// Linux isolation using Bubblewrap.
12pub mod bwrap;
13/// Containerized builds using Docker.
14pub mod docker;
15/// Package health and metadata validation.
16pub mod doctor;
17/// System-wide environment health checks.
18pub mod doctor_system;
19/// LSP support for package development.
20pub mod init_lsp;
21/// File pooling and deduplication for package archives.
22pub mod pool;
23/// Registry management and metadata generation.
24pub mod registry;
25/// ELF binary relocation for portability.
26pub mod relocate;