#alignment #zst #zero-sized #const-generic-aligned

no-std const-generic-alignment

Const-generic-aligned ZST

4 releases (2 breaking)

0.3.0 Nov 20, 2024
0.2.0 Sep 3, 2024
0.1.4 Aug 31, 2024
0.1.3 Jun 10, 2024

#150 in No standard library

Download history 164/week @ 2024-08-26 151/week @ 2024-09-02 5/week @ 2024-09-16 2/week @ 2024-09-23 1/week @ 2024-09-30 4/week @ 2024-10-07 3/week @ 2024-10-14 10/week @ 2024-11-04 135/week @ 2024-11-18 9/week @ 2024-11-25

154 downloads per month

MIT/Apache

12KB
248 lines

const-generic-alignment

This crate provides an AlignedZst<N> type which is a zero-sized type with the specified alignment.

Dependencies

~39KB