Expand description
§OxiLean Build System & Package Manager
This crate implements the build system and package manager for OxiLean, providing incremental compilation, dependency resolution, parallel build execution, and package registry integration.
§Modules
- manifest: Package manifest parsing and metadata
- resolver: PubGrub-style dependency resolution
- incremental: Incremental compilation with fingerprinting
- executor: DAG-based parallel build scheduling
- registry: Package registry integration
- scripts: Custom build scripts and hooks
Modules§
- analytics
- Auto-generated module structure
- cache_
eviction - Auto-generated module structure
- distributed
- Auto-generated module structure
- executor
- Auto-generated module structure
- incremental
- Auto-generated module structure
- manifest
- Auto-generated module structure
- opt_
incremental - Auto-generated module structure
- registry
- Auto-generated module structure
- remote_
cache - Auto-generated module structure
- resolver
- Auto-generated module structure
- scripts
- Auto-generated module structure
Structs§
- Build
Artifact - A compiled artifact produced by a build target.
- Build
Cache - A simple cache of compiled module results.
- Build
Compiler - Represents a compiler invocation configuration.
- Build
Config - Global build configuration.
- Build
Environment - Environment variables available to build scripts.
- Build
Event Log - A log of
BuildNotifications for a build session. - Build
Feature Flags - Feature flags that can be toggled to change build behavior.
- Build
Graph - The build graph: a collection of nodes with dependencies.
- Build
Graph Node - A node in the build graph, representing one compilation unit.
- Build
LogEntry - A single build log entry.
- Build
Metrics - Top-level build performance metrics.
- Build
Output Filter - Filters build output to suppress or highlight certain messages.
- Build
Path Resolver - Utility for resolving relative paths within the build directory.
- Build
Plan - A resolved build plan ready for execution.
- Build
Session - A stateful build session, tracking progress of a single build invocation.
- Build
Stats - Statistics from a single build run.
- Build
Summary - Summary of a completed build.
- Build
System Capabilities - A description of the build system’s capabilities.
- Build
Target - A build target (library, binary, test, etc.).
- Compilation
Unit - A single unit of compilation (one source file to one object).
- Dependency
Graph - Utility functions for build dependency graphs.
- Noop
Plugin - A no-op plugin for testing.
- Oxilean
Version - Version information for the OxiLean build system.
- Package
Id - A unique package identifier (name + version string).
- Phase
Timings - A phase timing record.
- Plugin
Registry - Registry of active build plugins.
- Workspace
Info - High-level metadata about the OxiLean workspace.
Enums§
- Artifact
Kind - The kind of a build artifact.
- Build
LogLevel - The level of a build log message.
- Build
Notification - A notification event emitted during the build process.
- Build
Phase - A named phase in the build pipeline.
- Build
Profile Kind - Build profile variants.
- Build
System Error - Errors that can occur in the build system.
- Target
Kind - The kind of a build target.
Traits§
- Build
Plugin - A hook that can be called at various build lifecycle points.
Functions§
- build_
system_ api_ version - Returns the current build system API version.
- fingerprint_
file_ list - Utility: compute a simple build fingerprint from a list of file paths.
Type Aliases§
- Build
Result - Convenience type alias for build system results.