Crates.io | flex-alloc |
lib.rs | flex-alloc |
version | 0.0.5 |
source | src |
created_at | 2024-09-06 23:09:23.537967 |
updated_at | 2024-11-08 04:20:16.074111 |
description | Data structures with extra flexible storage |
homepage | |
repository | https://github.com/andrewwhitehead/flex-alloc/ |
max_upload_size | |
id | 1366736 |
size | 246,246 |
flex-alloc
provides highly flexible container types (currently Box
, Cow
, and Vec
) which mimic the API provided in std
, with allocation flexibility going beyond what is supported by unstable features such as allocator-api
.
Both no-std
and no-alloc
environments are supported.
The flex-alloc-secure
crate adds data types for working with security-sensitive data such as cryptographic keys.
See the API documentation:
flex-alloc
)[https://docs.rs/flex-alloc]flex-alloc-secure
)[https://docs.rs/flex-alloc-secure]flex-alloc
highlightsalloc
support, such that application may easily alternate between fixed buffers and heap allocation.const
initializers.flex-alloc-secure
highlightsmlock
/VirtualLock
), memory protection (mprotect
/VirtualProtect
), and encryption at rest.Licensed under either of
at your option.