gentoo-core
Core Gentoo types and utilities for Rust applications.
Overview
gentoo-core provides fundamental Gentoo-specific types and utilities that can be used across various Gentoo-related Rust projects.
Features
- Gentoo architecture representation and parsing
- Variant configuration for Gentoo systems
Architecture Support
The crate supports the following Gentoo architectures:
arm,aarch64(arm64)x86,amd64(x86_64)riscv,riscv64powerpc,ppc64- And their Gentoo keyword equivalents
Installation
Add to your Cargo.toml:
[]
= "0.1"
Usage
use ;
// Parse an architecture
let arch = parse.unwrap;
println!;
// Create a variant configuration
let variant = new;
println!;
Examples
Run the included examples:
Contributing
See AGENTS.md for project conventions and contribution guidelines.
License
MIT