uuid-rs / uuid

Generate and parse UUIDs.

Home Page:https://www.crates.io/crates/uuid

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add bytemuck support

John-Toohey opened this issue · comments

I am using Uuids with bevy_ggrs_rollback, which requires bytemuck compatible types for serialization and deserialization. By adding the bytemuck feature, it would thus become possible to use Uuid with said library (and other similar libraries). Whilst it is possible to do this by using a newtype or the as_u128 and from_u128 methods directly, I believe that adding bytemuck support will make code using bytemuck cleaner.

Thank you for your time,

John T

This is available as of 1.5.0