rez_next_build/
lib.rs

1//! # Rez Core Build
2//!
3//! Build system for Rez Core.
4//!
5//! This crate provides:
6//! - Build system abstraction and implementation
7//! - Build process management and execution
8//! - Build environment setup and configuration
9//! - Build artifact management
10
11mod artifacts;
12mod builder;
13mod environment;
14mod process;
15mod sources;
16mod systems;
17
18pub use artifacts::*;
19pub use builder::*;
20pub use environment::*;
21pub use process::*;
22pub use sources::*;
23pub use systems::*;
24
25#[cfg(feature = "python-bindings")]
26use pyo3::prelude::*;
27
28/// Initialize the build module for Python
29#[cfg(feature = "python-bindings")]
30#[pymodule]
31fn rez_next_build(m: &Bound<'_, PyModule>) -> PyResult<()> {
32    m.add_class::<BuildManager>()?;
33    m.add_class::<BuildProcess>()?;
34    Ok(())
35}