Expand description

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

Unreleased

0.2.0 - 2022-08-31

Changed

  • Breaking: Raised the minimum supported Rust version to 1.61
  • Documentation improvements
  • Descriptive compile-time panic messages

Added

  • Breaking: CAlloc::allocation_usable_size
  • {Global,}Tlsf::new
  • FlexTlsf::new as a const fn
  • ConstDefault implementation for Tlsf
  • Tlsf::iter_blocks (unstable), which lets you iterate through memory blocks for diagnostic purposes.
  • {Flex,}Tlsf::allocation_usable_size (unstable)

Removed

  • Breaking: {Global,}Tlsf::INIT
  • Breaking: Init (superseded by ConstDefault from const-default)

0.1.2 - 2021-05-30

  • Performance and code size optimization
  • Added: GlobalTlsf now provides a malloc-compatible interface.
  • Fixed: Raised the version requirement of libc to 0.2.56, where MAP_FIXED_NOREPLACE was added.

0.1.1 - 2021-05-23

  • Added: GlobalTlsf now supports POSIX-compliant systems (cfg(unix)).
  • Fixed: Addressed a bug in Tlsf::reallocate that caused an incorrect amount of data to be copied (possibly corrupting memory or crashing the program) during a moving reallocation.

0.1.0 - 2021-05-21

  • Initial release.