mirror of
https://github.com/uuid-rs/uuid.git
synced 2025-09-27 21:15:35 +00:00
remove zerocopy from NonNilUuid for now
This commit is contained in:
parent
4021daa72f
commit
38df005749
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user