Skip to main content

Crate rattler_build_core

Crate rattler_build_core 

Source
Expand description

The core engine of Rattler-Build, providing recipe rendering, source fetching, script execution, package building, testing, and publishing.

Modules§

build
The build module contains the code for running the build process for a given Output
bump_recipe
Recipe bumping functionality for updating versions and checksums.
console_utils
This module contains utilities for logging and progress bar handling.
consts
Constants used throughout the build process.
debug
Cross-platform debug utilities for rattler-build.
env_vars
Functions to collect environment variables that are used during the build process.
metadata
All the metadata that makes up a recipe file
migrate_recipe
Migration from deprecated cache: format to staging: outputs.
package_info
Display information about a built package
package_test
Tests that are run as part of the package build process.
packaging
This module contains the functions to package a conda package from a given output.
publish
Functions for publishing conda packages to various backends (local filesystem, S3, Quetz, etc.)
rebuild
The rebuild module contains rebuild helper functions.
render
Render the dependencies to a final recipe
script
Module for running scripts in different interpreters.
source
Module for fetching sources and applying patches
staging
Staging cache support for multi-output recipes
system_tools
System tools are installed on the system (git, patchelf, install_name_tool, etc.)
tool_configuration
Configuration for the Rattler-Build tool This is useful when using Rattler-Build as a library
types
Common types used throughout Rattler-Build All the metadata that makes up a recipe file
utils
Utility functions for working with paths.

Structs§

DiscoveredOutput
A discovered output from variant expansion
Recipe
Evaluated recipe with all templates and conditionals resolved
RenderConfig
Configuration for rendering recipes with variants
Variable
This represents a variable in a recipe. It is a wrapper around a minijinja::Value, but more constrained (it can only be a string, a number, a boolean, or a list of these types).

Enums§

BuildString
Represents the state of the build string during evaluation