2 releases

0.0.2 Jan 27, 2024
0.0.1 Jan 27, 2024

#30 in #exports


Used in heapswap

Apache-2.0

3KB

Heapswap Macros

This exports:

sled_zero_copy

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.

Dependencies

~0.9–1.5MB
~26K SLoC