Crates.io | heapswap_macros |
lib.rs | heapswap_macros |
version | 0.0.2 |
source | src |
created_at | 2024-01-27 05:17:58.638798 |
updated_at | 2024-01-27 05:19:48.785994 |
description | Heapswap's macros |
homepage | https://heapswap.com |
repository | |
max_upload_size | |
id | 1116511 |
size | 4,793 |
This exports:
A procedural macro that expands:
#[sled_zero_copy]
into:
#[derive(zerocopy_derive::FromBytes, zerocopy_derive::FromZeroes, zerocopy_derive::AsBytes, zerocopy_derive::Unaligned)]
#[repr(C)]
for use with Sled's zero-copy storage capabilities.