devpath
A no_std Rust library for parsing and manipulating UEFI device paths as defined in the UEFI 2.11 specification.
Usage
Basic Example
use ;
// Parse device paths from raw bytes
let raw_bytes = &;
let paths = from_bytes?;
println!;
Features
- Complete UEFI 2.11 Support - All device path types: Hardware, ACPI, Messaging, Media, and BIOS
- Type-Safe Parsing - Structured representation of device path nodes
- no_std Compatible - Works in embedded and firmware environments
- Zero Unsafe Code - Memory-safe parsing with comprehensive error handling
Device Path Types
- Hardware - PCI, memory-mapped devices, controllers
- ACPI - ACPI namespace devices, _ADR devices
- Messaging - USB, SATA, NVMe, network protocols, Bluetooth
- Media - Hard drives, file paths, CD-ROM, RAM disks
- BIOS - Legacy BIOS boot specification devices
Documentation
Full API documentation is available on docs.rs.
License
This project is licensed under the MIT License.