krypteia-memory 0.1.0

TLSF-based memory allocator for the krypteia cryptographic workspace, configurable between platform malloc/free (os-alloc) and a self-managed heap over a caller-provided RAM block (self-alloc) for embedded targets.
Documentation
[package]
# crates.io name is `krypteia-memory` (the bare `memory` name was
# taken on crates.io by a third party at v0.1.0 publish time;
# the workspace adopted the `krypteia-*` namespace for all
# published crates rather than mixing prefixed and unprefixed
# names).
name = "krypteia-memory"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
authors.workspace = true
repository.workspace = true
homepage.workspace = true
description = "TLSF-based memory allocator for the krypteia cryptographic workspace, configurable between platform malloc/free (os-alloc) and a self-managed heap over a caller-provided RAM block (self-alloc) for embedded targets."
documentation = "https://docs.rs/krypteia-memory"
readme = "README.md"
keywords = ["allocator", "tlsf", "no-std", "embedded", "global-allocator"]
categories = ["memory-management", "no-std", "embedded"]

[lib]
name = "memory"

[features]
default = ["os-alloc"]
os-alloc     = []    # use the platform's malloc/free (no-op init)
self-alloc   = []    # TLSF allocator over a caller-provided RAM block
global-alloc = ["self-alloc"]  # also register as #[global_allocator] (for FFI crates)