Giter VIP home page Giter VIP logo

gpt-disk-rs's Introduction

gpt-disk-rs

Coverage Status

no_std libraries related to GPT (GUID Partition Table) disk data. There are three Rust packages in this repository:

Crates.io Docs.rs

The uguid package provides the GUID type used in the UEFI Specification, and also in Microsoft Windows.

Crates.io Docs.rs

The gpt_disk_types package provides flexible types for all the GPT types defined in the UEFI Specification. The types are designed to ensure correct endianness regardless of host platform, and can be used even with corrupted input data.

Crates.io Docs.rs

The gpt_disk_io package depends on gpt_disk_types and adds types for reading and writing GPT data to an abstract disk interface. This interface can be implemented for any backend that supports block-level IO.

Code layout

uguid/src:

  • error.rs: Parse error type.
  • guid.rs: Provides the Guid type.
  • lib.rs: Contains the public GUID-creation macros.
  • util.rs: ASCII conversion utilities.

gpt_disk_types/src:

  • block.rs: Numeric types for addressing blocks.
  • crc32.rs: CRC32 type.
  • header.rs: GPT header and related types.
  • mbr.rs: Legacy master boot record types.
  • num.rs: Little-endian integer types.
  • partition_array.rs: GPT partition array types.
  • partition_entry.rs: GPT partition array entry types.
  • std_support.rs: Provides std trait impls when the std feature is enabled.

gpt_disk_io/src:

  • block_io.rs: BlockIo trait for generic read/write operations.
  • block_io/slice_block_io.rs: In-memory byte slice implementations of BlockIo.
  • block_io/std_block_io.rs: std::io-backed implementation of BlockIo (requires std feature).
  • disk.rs: Read and write GPT data from a block device.
  • std_support.rs: Provides std trait impls when the std feature is enabled.

Most of the tests are under gpt_disk_io/tests, including the tests for gpt_disk_types. Having all the tests in one place allow them to share code.

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.

gpt-disk-rs's People

Contributors

1c3t3a avatar ddiss avatar dependabot[bot] avatar nicholasbishop avatar renovate-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

gpt-disk-rs's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Awaiting Schedule

These updates are awaiting their schedule. Click on a checkbox to get an update now.

  • chore(deps): lock file maintenance

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

cargo
Cargo.toml
  • bytemuck 1.4.0
gpt_disk_io/Cargo.toml
gpt_disk_types/Cargo.toml
  • crc 3.0.0
  • ucs2 0.3.2
uguid/Cargo.toml
  • serde 1.0.0
  • serde_test 1.0.0
  • trybuild 1.0.80
xtask/Cargo.toml
  • anyhow 1.0.75
github-actions
.github/workflows/ci.yaml
  • actions/checkout v4
  • Swatinem/rust-cache v2
  • actions/checkout v4
  • Swatinem/rust-cache v2
  • actions/checkout v4
  • Swatinem/rust-cache v2
  • actions/checkout v4
  • Swatinem/rust-cache v2
  • actions/checkout v4
  • Swatinem/rust-cache v2
  • actions/checkout v4
  • actions/checkout v4
  • Swatinem/rust-cache v2
  • actions/checkout v4
  • EmbarkStudios/cargo-deny-action v1
  • actions/checkout v4
  • coverallsapp/github-action v2
  • actions/checkout v4
  • crate-ci/typos v1.22.4
  • ubuntu 22.04
.github/workflows/release.yml
  • actions/checkout v4

  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.