rez_next_repository/
lib.rs

1//! # Rez Core Repository
2//!
3//! Repository scanning, caching, and management for Rez Core.
4//!
5//! This crate provides:
6//! - Repository scanning and indexing
7//! - Package discovery and caching
8//! - Repository metadata management
9//! - Async repository operations
10
11pub mod cache;
12pub mod filesystem;
13pub mod high_performance_scanner;
14pub mod repository;
15pub mod scanner;
16pub mod simple_repository;
17
18pub use cache::*;
19pub use filesystem::*;
20pub use high_performance_scanner::*;
21pub use repository::*;
22pub use scanner::*;
23pub use simple_repository::*;
24
25#[cfg(feature = "python-bindings")]
26use pyo3::prelude::*;
27
28/// Initialize the repository module for Python
29#[cfg(feature = "python-bindings")]
30#[pymodule]
31fn rez_next_repository(m: &Bound<'_, PyModule>) -> PyResult<()> {
32    m.add_class::<FileSystemRepository>()?;
33    m.add_class::<RepositoryManager>()?;
34    Ok(())
35}