[package]
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 = []
self-alloc = []
global-alloc = ["self-alloc"]