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

no-std gpt_disk_types

GPT (GUID Partition Table) disk data types no_std library

11 breaking releases

0.16.0 Nov 29, 2023
0.15.0 Apr 23, 2023
0.14.0 Aug 27, 2022
0.12.0 Jun 25, 2022

#576 in Data structures

Download history 706/week @ 2024-07-21 957/week @ 2024-07-28 784/week @ 2024-08-04 841/week @ 2024-08-11 318/week @ 2024-08-18 192/week @ 2024-08-25 249/week @ 2024-09-01 336/week @ 2024-09-08 674/week @ 2024-09-15 288/week @ 2024-09-22 567/week @ 2024-09-29 359/week @ 2024-10-06 316/week @ 2024-10-13 248/week @ 2024-10-20 271/week @ 2024-10-27 560/week @ 2024-11-03

1,450 downloads per month
Used in gpt_disk_io

MIT/Apache

96KB
1.5K SLoC

gpt_disk_types

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.

Features

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.68.

License

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

Disclaimer

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.

Dependencies

~140–280KB