alloc-fmt

Crates.ioalloc-fmt
lib.rsalloc-fmt
version0.2.0
sourcesrc
created_at2017-10-20 17:58:17.849236
updated_at2020-04-04 00:00:06.314936
descriptionFormatting utilities safe for use in an allocator.
homepage
repositoryhttps://github.com/ezrosent/allocators-rs/tree/master/alloc-fmt
max_upload_size
id36378
size26,380
Joshua Liebow-Feeser (joshlf)

documentation

https://docs.rs/alloc-fmt

README

alloc-fmt

alloc-fmt provides formatting and assertion macros similar to println, eprintln, panic, assert, debug_assert, etc which are safe for use in a global allocator. The standard library's formatting, panic, and assertion macros can allocate, meaning that if they are used in the implementation of a global allocator, it can cause infinite recursion. The macros in this crate do not allocate in order to avoid this problem.

Commit count: 0

cargo fmt