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
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.85"
name = "krypteia-memory"
version = "0.1.0"
authors = ["Cédric Mesnil <cslashm@pm.me>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
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."
homepage = "https://codeberg.org/cslashm/krypteia"
documentation = "https://docs.rs/krypteia-memory"
readme = "README.md"
keywords = [
    "allocator",
    "tlsf",
    "no-std",
    "embedded",
    "global-allocator",
]
categories = [
    "memory-management",
    "no-std",
    "embedded",
]
license = "Apache-2.0"
repository = "https://codeberg.org/cslashm/krypteia"
resolver = "2"

[features]
default = ["os-alloc"]
global-alloc = ["self-alloc"]
os-alloc = []
self-alloc = []

[lib]
name = "memory"
path = "src/lib.rs"