Registry / utility / align-data

align-data

JSON →
library0.1.0rscratesunverified

Simply increase the alignment of any statics or include_bytes! data.

utility
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

use align_data::AlignData;

Align static data to a specific boundary.

use align_data::AlignData; #[align_data(64)] static DATA: [u8; 16] = [0; 16]; fn main() { println!("Aligned data at {:p}", &DATA as *const _); }
Debug
Known footguns

No known footguns recorded.

Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
15 hits · last 30 days
gptbot
3
claudebot
3
amazonbot
2
mj12bot
1
ahrefsbot
1
Resources