From 38df005749e00955d15a2aa3051fa1e1a4669e14 Mon Sep 17 00:00:00 2001 From: KodrAus Date: Tue, 14 Jan 2025 20:01:24 +1000 Subject: [PATCH] remove zerocopy from NonNilUuid for now --- src/non_nil.rs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/non_nil.rs b/src/non_nil.rs index 9382654..5f3fd85 100644 --- a/src/non_nil.rs +++ b/src/non_nil.rs @@ -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)