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
- Host: GitHub
- URL: https://github.com/ksxgithub/zero-copy-pads
- Owner: KSXGitHub
- License: mit
- Created: 2021-04-21T14:28:54.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-03-13T07:57:10.000Z (almost 3 years ago)
- Last Synced: 2025-04-19T06:06:25.841Z (9 months ago)
- Topics: alignment, column, crates, no-std, padding, rust, string, zero-copy
- Language: Rust
- Homepage: https://crates.io/crates/zero-copy-pads
- Size: 103 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
Awesome Lists containing this project
README
# zero-copy-pads
[](https://github.com/KSXGitHub/zero-copy-pads/actions?query=workflow%3ATest)
[](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/).