Third-Party Import of: https://crates.io/crates/uguid

Request Document: go/android3p
For CL Reviewers: go/android3p#reviewing-a-cl
For Build Team: go/ab-third-party-imports

Generated through these steps
(in ~src/android/aosp-main-future-without-vendor repo):
1. python3 development/scripts/get_rust_pkg.py -add3prf -v -o /tmp
   uguid-2.2.0
2. cp -r /tmp/uguid-2.2.0/* external/rust/crates/uguid

Test: -
Bug: 375625529

Original import of the code can be found at: https://googleplex-android.googlesource.com/platform/external/rust/crates/uguid/+/refs/heads/third-party-review.
Security Questionnaire: http://b/375625529#comment1

Change-Id: Idae92aefe32b9b88db2a8e696a0f181fea02aae0
24 files changed
tree: 50604f715420d4771b3226801c21d1401bad66fa
  1. examples/
  2. src/
  3. tests/
  4. Cargo.toml
  5. Cargo.toml.orig
  6. CHANGELOG.md
  7. LICENSE
  8. LICENSE-APACHE
  9. LICENSE-MIT
  10. METADATA
  11. MODULE_LICENSE_APACHE2
  12. OWNERS
  13. README.md
README.md

uguid

Crates.io Docs.rs

no_std library providing a GUID (Globally Unique Identifier) type, as used in GPT disks, UEFI, and Microsoft Windows.

Features

No features are enabled by default.

  • bytemuck: Implements bytemuck's Pod and Zeroable traits for Guid.
  • serde: Implements serde's Serialize and Deserialize traits for Guid.
  • std: Provides std::error::Error implementation for the error type.

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.