Skip to content

Commit

Permalink
remove zerocopy from NonNilUuid for now
Browse files Browse the repository at this point in the history
  • Loading branch information
KodrAus committed Jan 14, 2025
1 parent 4021daa commit 38df005
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/non_nil.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,11 @@ use crate::{
/// - [`Uuid::new_v7`]
/// - [`Uuid::now_v7`]
/// - [`Uuid::new_v8`]
#[cfg_attr(
all(uuid_unstable, feature = "zerocopy"),
derive(zerocopy::IntoBytes, zerocopy::FromBytes, zerocopy::KnownLayout, zerocopy::Immutable, zerocopy::Unaligned)
)]
///
/// # ABI
///
/// The `NonNilUuid` type does not yet have a stable ABI. Its representation or alignment
/// may change.
#[cfg_attr(
feature = "borsh",
derive(borsh_derive::BorshDeserialize, borsh_derive::BorshSerialize)
Expand Down

0 comments on commit 38df005

Please sign in to comment.