rez-next-repository
High-performance repository management for Rez Next - Fast, reliable package discovery, repository scanning, and package operations.
π Features
- Fast Repository Scanning: Optimized parallel scanning of package repositories
- Package Discovery: Intelligent package discovery with caching and indexing
- Repository Management: Comprehensive repository operations and management
- Performance: High-throughput scanning with intelligent caching
- Compatibility: Full compatibility with original Rez repository semantics
π¦ Installation
Add this to your Cargo.toml:
[]
= "0.1.0"
π§ Usage
Basic Repository Operations
use ;
// Create a repository manager
let mut manager = new;
// Add repositories
let repo = new;
manager.add_repository;
// Scan for packages
let packages = manager.scan_all_repositories.await?;
println!;
Package Discovery
use ;
// Create scanner with options
let scanner = new;
let options = default
.with_parallel_scanning
.with_caching;
// Scan repository
let results = scanner.scan_repository.await?;
for result in results
Repository Caching
use ;
// Create cache with options
let cache_options = default
.with_ttl // 1 hour TTL
.with_max_entries;
let cache = new;
// Cache operations are automatic during scanning
ποΈ Architecture
This crate provides comprehensive repository management capabilities:
- Repository: Core repository type with scanning and management
- RepositoryManager: Multi-repository management and coordination
- RepositoryScanner: High-performance parallel scanning
- RepositoryCache: Intelligent caching with TTL and LRU eviction
π Performance
Optimized for high-performance scenarios:
- Parallel repository scanning
- Intelligent caching and indexing
- Minimal memory footprint
- Fast package discovery operations
π€ Contributing
We welcome contributions! Please see our Contributing Guide for details.
π License
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.
π Related Crates
rez-next-common- Common utilities and error handlingrez-next-version- Version management and parsingrez-next-package- Package definitions and operations
Part of the Rez Next project - A high-performance Rust implementation of the Rez package manager.