Skip to main content

Crate oxilean_build

Crate oxilean_build 

Source
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§

BuildArtifact
A compiled artifact produced by a build target.
BuildCache
A simple cache of compiled module results.
BuildCompiler
Represents a compiler invocation configuration.
BuildConfig
Global build configuration.
BuildEnvironment
Environment variables available to build scripts.
BuildEventLog
A log of BuildNotifications for a build session.
BuildFeatureFlags
Feature flags that can be toggled to change build behavior.
BuildGraph
The build graph: a collection of nodes with dependencies.
BuildGraphNode
A node in the build graph, representing one compilation unit.
BuildLogEntry
A single build log entry.
BuildMetrics
Top-level build performance metrics.
BuildOutputFilter
Filters build output to suppress or highlight certain messages.
BuildPathResolver
Utility for resolving relative paths within the build directory.
BuildPlan
A resolved build plan ready for execution.
BuildSession
A stateful build session, tracking progress of a single build invocation.
BuildStats
Statistics from a single build run.
BuildSummary
Summary of a completed build.
BuildSystemCapabilities
A description of the build system’s capabilities.
BuildTarget
A build target (library, binary, test, etc.).
CompilationUnit
A single unit of compilation (one source file to one object).
DependencyGraph
Utility functions for build dependency graphs.
NoopPlugin
A no-op plugin for testing.
OxileanVersion
Version information for the OxiLean build system.
PackageId
A unique package identifier (name + version string).
PhaseTimings
A phase timing record.
PluginRegistry
Registry of active build plugins.
WorkspaceInfo
High-level metadata about the OxiLean workspace.

Enums§

ArtifactKind
The kind of a build artifact.
BuildLogLevel
The level of a build log message.
BuildNotification
A notification event emitted during the build process.
BuildPhase
A named phase in the build pipeline.
BuildProfileKind
Build profile variants.
BuildSystemError
Errors that can occur in the build system.
TargetKind
The kind of a build target.

Traits§

BuildPlugin
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§

BuildResult
Convenience type alias for build system results.