An open API service indexing awesome lists of open source software.

https://github.com/ksxgithub/zero-copy-pads

Padding/aligning values without heap allocation
https://github.com/ksxgithub/zero-copy-pads

alignment column crates no-std padding rust string zero-copy

Last synced: 9 months ago
JSON representation

Padding/aligning values without heap allocation

Awesome Lists containing this project

README

          

# zero-copy-pads

[![Test](https://github.com/KSXGitHub/zero-copy-pads/workflows/Test/badge.svg)](https://github.com/KSXGitHub/zero-copy-pads/actions?query=workflow%3ATest)
[![Crates.io Version](https://img.shields.io/crates/v/zero-copy-pads?logo=rust)](https://crates.io/crates/zero-copy-pads)

Padding/aligning values without heap allocation.

## Cargo Features

* `std` _(default feature)_:
- Disable `#![no_std]`.
- Enable features that require heap allocation.

## Usage

API references and example codes can be found in [docs.rs](https://docs.rs/zero-copy-pads).

## License

[MIT](https://git.io/JOPe4) © [Hoàng Văn Khải](https://ksxgithub.github.io/).