This crate can parse GPT and basic MBR partition tables.

Build status

Documentation and Examples

https://docs.rs/bootsector

Limitations