summaryrefslogtreecommitdiff
path: root/src/pkgtoolkit/mod.rs
blob: 1cadee3cba725a3a0dd6b3692095367673cfa705 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
// Core package toolkit modules
pub mod archive;
pub mod build;
pub mod git_source;
pub mod index;
pub mod install;
pub mod types;

// ============================================================================
// Public API - Core Types and Data Structures
// ============================================================================

// Package metadata and core types
#[allow(unused_imports)]
pub use types::{
    Archs,           // Supported architectures
    Package,         // Package information
    PackageManifest, // Installation manifest for tracking
};

// Installation and configuration types
#[allow(unused_imports)]
pub use types::{
    Install,     // Complete installation specification
    InstallMeta, // Installation metadata
    Setts,       // Package settings and environment
};

// Build system types
#[allow(unused_imports)]
pub use types::{
    Build,        // Build configuration
    BuildSystems, // Supported build systems
    Index,        // Package index
};

// ============================================================================
// Public API - Package Operations Traits
// ============================================================================

// Archive operations for package extraction and validation
#[allow(unused_imports)]
pub use archive::ArchiveOperations;

// Build operations for compiling packages
#[allow(unused_imports)]
pub use build::BuildOperations;

// Install operations for package installation and manifest generation
#[allow(unused_imports)]
pub use install::InstallOperations;

// Index operations for package repository management
#[allow(unused_imports)]
pub use index::IndexOperations;

// Git source operations for downloading package source code
#[allow(unused_imports)]
pub use git_source::GitSource;