rez-next-common

Crates.iorez-next-common
lib.rsrez-next-common
version0.1.0
created_at2025-06-22 18:12:46.484846+00
updated_at2025-06-22 18:12:46.484846+00
descriptionCommon utilities and types for Rez Core
homepage
repositoryhttps://github.com/loonghao/rez-next
max_upload_size
id1721838
size36,753
Hal (loonghao)

documentation

README

rez-next-common

Crates.io Documentation License Build Status

δΈ­ζ–‡ζ–‡ζ‘£ | English

Common utilities and types for Rez Next - The foundational building blocks for high-performance package management.

πŸš€ Features

  • Error Handling: Comprehensive error types with detailed context
  • Configuration Management: Flexible configuration system with validation
  • Utilities: Common helper functions and macros
  • Type Safety: Strong typing with serde serialization support
  • Performance: Zero-cost abstractions and optimized data structures

πŸ“¦ Installation

Add this to your Cargo.toml:

[dependencies]
rez-next-common = "0.1.0"

πŸ”§ Usage

Error Handling

use rez_next_common::{RezCoreError, RezCoreResult};

fn example_function() -> RezCoreResult<String> {
    // Your code here
    Ok("Success".to_string())
}

// Handle errors gracefully
match example_function() {
    Ok(result) => println!("Success: {}", result),
    Err(e) => eprintln!("Error: {}", e),
}

Configuration

use rez_next_common::Config;

let config = Config::default();
println!("Config loaded: {:?}", config);

πŸ—οΈ Architecture

This crate provides the foundational types and utilities used across the entire Rez Next ecosystem:

  • Error Types: Standardized error handling across all crates
  • Configuration: Centralized configuration management
  • Utilities: Common helper functions and type definitions

🀝 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

πŸ“Š Performance

Built with performance in mind:

  • Zero-cost abstractions
  • Minimal memory allocations
  • Optimized for high-throughput operations

Part of the Rez Next project - A high-performance Rust implementation of the Rez package manager.

Commit count: 0

cargo fmt