#disk #gpt #no-std #partition #uefi

no-std gpt_disk_types

GPT (GUID Partition Table) disk data types no_std library

10 breaking releases

0.15.0 Apr 23, 2023
0.14.0 Aug 27, 2022
0.13.0 Aug 3, 2022
0.12.0 Jun 25, 2022

#819 in Embedded development

Download history 15/week @ 2023-02-10 57/week @ 2023-02-17 15/week @ 2023-02-24 4/week @ 2023-03-03 4/week @ 2023-03-10 4/week @ 2023-03-17 4/week @ 2023-03-24 17/week @ 2023-03-31 13/week @ 2023-04-07 13/week @ 2023-04-14 37/week @ 2023-04-21 11/week @ 2023-04-28 43/week @ 2023-05-05 33/week @ 2023-05-12 58/week @ 2023-05-19 72/week @ 2023-05-26

208 downloads per month
Used in gpt_disk_io


1.5K SLoC


Crates.io Docs.rs

no_std library providing GPT (GUID Partition Table) data structures. The types are designed to ensure correct endianness regardless of host platform, and can be used even with corrupted input data.

See also the gpt_disk_io package.


No features are enabled by default.

  • bytemuck: Implements bytemuck's Pod and Zeroable traits for many of the types in this crate. Also enables some methods that rely on byte access.
  • std: Provides std::error::Error implementations for all of the error types.

Minimum Supported Rust Version (MSRV)

The current MSRV is 1.60.0 due to the use of the Cargo dep: feature. Feel free to file an issue or create a PR if you have a use case that requires an older version.


Licensed under either of Apache License, Version 2.0 or MIT license at your option.


This project is not an official Google project. It is not supported by Google and Google specifically disclaims all warranties as to its quality, merchantability, or fitness for a particular purpose.