CATEGORY
Memory management 1,342 crates
Data as of 2026-07-25 (crates.io database dump, timestamp 2026-07-25T02:00:36Z). Source: crates.io · db-dump.tar.gz · methodology & corrections.
mimalloc-redirectApplication-wide allocator redirection to MiMalloc.2,937MIT OR Apache-2.0
fibre_cacheBest in-class comprehensive, most flexible, high-performance, concurrent multi-mode sync/async caching library for Rust. It…2,919MPL-2.0
hyaline-smrGarbage Collector(Hyaline- Safe Memory Reclaimation) for lock free data structures2,913Apache-2.0/MIT
hirpdagLibrary and procedural macros for Hash Consed, Immutable, Reference Counted, Persistent, Directed Acyclic Graph data structures.2,913MIT OR Apache-2.0
abs_mmAbstract Memory Management2,902MIT/Apache-2.0
take_refTakeRef, TakeSlice, and TakeString traits enable treating references/slices and values interchangeably. They can be treated as…2,885MPL-2.0
swap-nan n argument extension to std::mem::swap2,869MIT
shared-buffer-rsA library which combines Arc and RefCell for Send and Sync2,869MPL-2.0 OR EUPL-1.2
generic_slabPre-allocated storage for a uniform data type2,848MIT
pure_cellAlternative to GhostCell that provides safe interior mutability via const expressions.2,843Apache-2.0 OR MIT OR BSL-1.0
sarlaccThread-safe lock-free interning of data2,841MIT
memmap3-macrosProcedural macros for memmap32,830MIT OR Apache-2.0
indexed-poolIndexed object pool for expensive / frequent allocations2,825MIT
derivable-object-poolA thread-safe derivable object pool collection with automatic reusage of objects.2,824MIT OR Apache-2.0
struct_scalpelmemory layout analysis tool for structs, enums, unions, tuples, and references2,817non-standard
init-tokenA crate for one-time safe initialization of static, without overhead.2,810MIT
pakr-assert-sizeCompile-time checks of the size of structures2,807BSD-2-Clause
starpu-sysLow-level bindings to the StarPU runtime2,805MPL-2.0
str-internA simple string interner2,804MIT
dualhashkeyAn implementation of a 64-bit Dual-Hash-Key, strongly inspired by the Linux kernels dcache hashes.2,803MIT OR Apache-2.0
coop_heapReserved. Heap cooperation for **safe** applications & libraries. See https://github.com/coop-rs/co_heap instead.2,778Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT
pinarcmutexProvides a `PinArcMutex` type, for shared mutable access to pinned data2,775MIT OR Apache-2.0
stringishA smaller and easier copy-on-write string2,757MIT OR Apache-2.0
rosu-memory-libA library to read osu! memory2,725MIT
throughMutate data, given a mutable reference, by moving ownership through a function.2,706MIT
stable-alloc-shimStable shims for the Allocator API2,698MIT/Apache-2.0
wallocMalloc's Wario - allocates unusable, arbitrarily-sized blocks of memory on-command. Great for, uh, testing purposes?2,696MIT OR Apache-2.0
bc-libmimalloc-sysSys crate wrapping the mimalloc allocator (updated to v2.2.7 and v3.2.8, respectively)2,669MIT
borrow-frameworkMore flexible borrowing2,663MIT
dodgemsA simple and fast bump allocator library2,662MIT
subrcA tiny crate that exposes a `Rc` like struct, which can be used to create a reference counted pointer to a subregion of a `Rc`.2,652MIT
duende-mlockMemory locking for swap-critical daemons (DT-007: Swap Deadlock Prevention)2,605MIT OR Apache-2.0
bc-mimallocPerformance and security oriented drop-in allocator (updated to v2.2.7 and v3.2.8, respectively)2,595MIT
passablePass a pointer around.2,576MIT OR Apache-2.0
ittybittyAn itty bitty bitset to hold your itty bitty bits.2,542MIT OR Apache-2.0
cgroup-memoryA library for reading and interpreting `/sys/fs/cgroup` memory statistics.2,540MIT
circEfficient referenced counted pointers for non-blocking concurrency2,526MIT OR Apache-2.0
objectpoolYet another lock-free object pool, support no_std2,525MIT OR Apache-2.0
fnumAn utility trait for enum2,516MIT
voidboxAdds type abstract containers for rust2,503MIT
dummy-allocGlobal allocator that fails all allocations2,487BlueOak-1.0.0
async-poolStatically allocated pool providing a std-like Box, with async functionality.2,484MIT OR Apache-2.0
brinyLow-level enforcement of memory layout integrity2,478MIT
supply-chain-trust-example-crate-000022Single assignment cells and lazy values.2,476MIT OR Apache-2.0
arc-swap-for-cowAtomically swappable Arc2,462MIT OR Apache-2.0
manually-staticProvides `ManualStatic` that is a wrapper which allows to manually manage `'static` lifetimes.
It is unsafe but with…2,438MIT
stringstoreCached dynamic set of strings with mildly expensive construction but cheap comparisons.2,415LGPL-3.0-only
malloc-bindA tool to implement the C malloc API using a Rust allocator.2,374Apache-2.0
shared-rcRc wrapper which can separate the data from the reference count2,373MIT OR Apache-2.0
pin-arcReference counting pointers without allocation using pinning2,337MIT OR Apache-2.0
arena-termsA lightweight, arena-backed representation of Prolog–like terms2,333MIT
malloc-rustMalloc implementation using Rust allocator2,304BSL-1.0
pin-macrosThis library is primarly used to simplify the proccess of working with self-referencial structures.2,282MIT
asherahApplication-layer envelope encryption with automatic key rotation, secure memory, and pluggable metastore/KMS backends.2,246Apache-2.0
token-ref-cellInterior mutability cell using an external token to synchronize accesses2,207MIT
elfmallocA fast, concurrent, general-purpose allocator.2,197Apache-2.0
kroosFlexible smart pointer for ?Sized types with customizable reference counting.2,193AGPL-3.0-only
unscrupulous_deriveDerive macro to implement `Unscrupulous` on composite types, ensuring all nested fields implement the trait.2,191MIT
tux-owned-allocA crate to help reducing manual memory management errors.2,187MIT
cevAn expandable data array used to add data to the beginning of the array.2,184MIT
dropping-thread-localA dynamically allocated ThreadLocal that ensures destructors are run on thread exit2,180Apache-2.0 OR MIT
pseudo_poolA pool-like collection that automatically returns objects to the pool & blocks when the pool is empty2,178non-standard
ax-memory-setData structures and operations for managing memory mappings2,175Apache-2.0
unscrupulousTypes that do not care about provenance.2,173MIT
flexstr_supportSupport crate for 'flexstr' and 'inline_flexstr'2,171MIT OR Apache-2.0
leaktracerA Rust allocator to trace memory allocations in Rust programs, by intercepting the allocations.2,170MIT
safe-uninit-deriveDerive macro for safe-uninit crate2,159MIT
inline_flexstrA simple to use, copy/clone-efficient inline string type for Rust2,156MIT OR Apache-2.0
windows_shared_memoryWindows IPC library using shared memory. Supports 32-bit/64-bit cross-process communication2,148MIT
yep-cache-line-sizeA small library for retrieving cache line sizes. Forked from lovesegfault/cache-size.2,147BSD-3-Clause
register-interfaceA register interface, bitfield and memory mapping library2,144MIT
concurrencykitModern concurrency primitives and building blocks for high performance applications2,141MIT
oxicuda-memoryOxiCUDA Memory - Type-safe GPU memory management with Rust ownership semantics2,130Apache-2.0
concurrent-poolA concurrent object pool.2,114MIT OR Apache-2.0
derivable-object-pool-macrosMacros for the derivable-object-pool crate2,106MIT OR Apache-2.0
transactionalA simple optimistic lock-free confirmation-based transactional model for Rust.2,102non-standard
array-helpersBasic length-generic operations on arrays.2,063MIT OR Apache-2.0
hook_kingLow-level automated hooking library with detours, trampolines, and memory management. Supports internal/external process hooking…2,050GPL-3.0
ad-astra-exportEmbeddable scripting language platform Ad Astra. Macro Crate.2,047non-standard
blockbuffersBlockbuffers is a serialization tool which builds strict Flatbuffers binaries.2,034MIT
generic-containerAbstract over "containers" that hold a T, such as a T itself, Box<T>, or Arc<Mutex<T>>2,032MIT OR Apache-2.0
redoubt-utilMemory utilities for verification and testing2,013MIT OR Apache-2.0
boxify-macroproc-macro for the boxify crate1,996MIT
rc-cellA simple wrapper around Rc<RefCell<T>>1,996MIT
dpdk-global-allocatorA wrapper around DPDK's global, NUMA-aware memory allocator that can replace malloc.1,986AGPL-3.0
tracing-allocatortrack allocations and deallocations1,982MIT
streamhouse-deriveThe derive macro crate for streamhouse1,965MIT OR Apache-2.0
bustdLightweight process killer daemon for out-of-memory scenarios1,965MIT
generational-bufferGenerational Ring Buffer1,964MIT
ordered-pool-allocatorA fast and compact pool allocator with block sorting support.1,933MIT OR Apache-2.0
minimumA collection of utilites for games.1,930MIT/Apache-2.0
mut_guardRun a function after some data was mutably borrowed1,928MIT
slotmap-mapSlotmap data structure1,927Zlib
memflow-climemflow daemon command line interface1,919MIT
clone-into-boxA library for cloning trait objects1,913MIT OR Apache-2.0
memory-balloonMemory filling tool. Allocates a chunk of memory of a specified size and tries to make sure the
OS keeps it in main memory,…1,901Apache-2.0/MIT
rcgcA tracing GC in safe Rust based on `Rc`1,900CC0-1.0
apboolJust arbitrary precision boolean arithmetic for Rust.1,900AGPL-3.0-only
arc-disk-cacheConcurrently Readable Disk Cache1,875MPL-2.0
redoubt-zero-coreCore zeroization primitives: guards, sentinels, and RAII wrappers1,875MIT OR Apache-2.0
auto-allocatorZero-configuration automatic memory allocator selection based on runtime hardware analysis and performance research1,860MIT OR Apache-2.0 OR MPL-2.0
wasm_allocatorA tiny wasm allocator for no_std1,844MIT
numaperf-coreCore types and error handling for the numaperf NUMA runtime1,830MIT OR Apache-2.0
redoubt-zero-deriveDerive macros for RedoubtZero guards and zeroization verification1,813MIT OR Apache-2.0
bbqueue-syncA SPSC, lockless, no_std, thread safe, queue, based on BipBuffers1,811MIT OR Apache-2.0
provenanceContainer structures that generate key upon insertion that only works with the map that generated it.1,811MIT
generic-poolA pool for recycling allocated objects for later reuse. Uses generic get/put methods so you can store (almost) any type in a…1,797MIT
numaperf-topoNUMA topology discovery and CPU locality mapping1,778MIT OR Apache-2.0
untyped-boxA heap allocation utility when the datatype is unknown.1,775MIT OR Apache-2.0
range-alloc-arceosGeneric range allocator1,773Apache-2.0
owned-futureTurn borrowed futures into owned futures1,772MIT
indexed-hash-setA bidirectional set whose entries can either be accessed via an index or via hashing.1,771MIT
redoubt-zeroMemory guards and zeroization primitives with automatic verification1,752MIT OR Apache-2.0
rc_collectionsShared, reference-counted, copy-on-write, single-pointer buffers1,751Unlicense
rt-ownruntime ownership: owner, viewer and holder1,745MIT OR Apache-2.0
crndmPersistent Programming Library1,744MIT
bytes-textReference-counted UTF-8 text1,741Apache-2.0 OR MIT
ad-astraEmbeddable scripting language platform Ad Astra. Main Crate.1,741non-standard
flat-dropWrapper that drops recursive objects iteratively to avoid stack overflows.1,739MIT OR Apache-2.0
countedEfficient reference counted collections.1,738MIT OR Apache-2.0
libmimalloc3-sysNative bindings to the mimalloc library1,738MIT
exit-stackDynamically pin values to the stack, with no macros.1,728MIT
locallocA collection of local (non-global) rust allocation traits1,723MIT / Apache-2.0
weakrefCopy+static reference type which checks liveness at runtime.1,723MIT
slice-arenaStore lots of tiny slices with low overhead, in contiguous blocks of memory1,714CC0-1.0
build-with-leak-checkThis is a small wrapper program around the LLVM Clang compiler suite. This will build and execute binaries using address…1,706MIT
marching-bufferMarching buffer with resets1,704CC0-1.0
shm-primitivesLock-free primitives for shared memory IPC: BipBuffer, slot metadata, and OS-level doorbell/mmap1,699MIT OR Apache-2.0
memflow-daemon-connectordaemon remote connector for the memflow physical memory introspection framework1,695MIT
pinned_slabSlab-allocator with pinned elements1,694MIT
tagged_dispatchMemory efficient trait dispatch using tagged pointers.1,692MIT OR Apache-2.0
memflow-daemonmemflow daemon service1,690MIT
atomic_sibling_counterA shared counter that allows parallel threads/tasks to check how many siblings they have. The counter is atomic and threads/tasks…1,683MIT OR Apache-2.0
zeropoolA user-space byte allocator with size-class bucketing, lock-free shared pool, and thread-local caching1,676MIT OR Apache-2.0
memory_pages`memory_pages` provides a cross-platform memory management API which allows for acquiring memory pages from the kernel and…1,671MIT
rscontainerManages dependencies between objects.1,671MIT OR Apache-2.0
hwbpA fully-featured Rust library for managing hardware breakpoints on Windows via x86 debug registers.1,667Unlicense
priority-setA no_std Priority Set1,661MIT OR Apache-2.0
faux_allocA fake 'allocator'1,660Apache-2.0 OR BSL-1.0 OR MIT
rivuletAsynchronous contiguous-memory streams1,659MIT OR Apache-2.0
squashMore space efficient encoding of owned heap-allocated slices1,657Apache-2.0/MIT
dyn_vecA Vec<T: ?Sized>1,656MIT OR Apache-2.0
stable_borrowA marker trait indicating that borrows are address-stable.1,647Apache-2.0 OR MIT
size-traitTraits for restricting the size of type parameters.1,647non-standard
linear-mallocAn ultra simple single-threaded linear allocator1,640MIT OR Apache-2.0
ringuThread-safe no_std ring buffer1,639BSD-3-Clause
packed_boolsa lightweight ergonomic bit manipulation library for packing booleans1,638MIT OR Apache-2.0
fastrFast copy-on-write strings with small inline string optimization.1,633MIT OR Apache-2.0
process_consistencyHash your executable memory to ensure it stays the same1,625MIT OR Apache-2.0
rco-cellWrapper for Rc<RefCell<Option<T>>> and its weak variant. Includes various utilties for common operations usually performed on…1,623MIT OR Apache-2.0
simple_arenaA simple arena allocator for Rust1,622MIT
solo5-rsA convenient abstraction and utilities for Solo5 based unikernels.1,617MIT OR Apache-2.0
supply-chain-trust-example-crate-000034A macro for declaring lazily evaluated statics in Rust.1,615MIT OR Apache-2.0
mem_fileA wrapper around native shared memory for Linux and Windows1,609MIT OR Apache-2.0
sync_toolsa collection of libraries to promote object reuse1,601MIT
use-withProvides resource management utilities inspired by Kotlin's 'use' function and C#'s 'using' block, ensuring proper utilization…1,600MIT
co_heapReserved. Heap cooperation for **safe** applications & libraries.1,597Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT
rullocGeneral purpose memory allocator1,596non-standard
same-allocReuse an allocated buffer for data with different types.1,592MIT OR Apache-2.0 OR Zlib
boxifyPlace your values directly on the heap without creating them on the stack first.1,585MIT
rendezvous_swapSwap data and sync execution between a pair of threads efficiently1,584GPL-3.0
dumpaloA minimalistic global bump allocator1,580MIT
named-pipe-rsSynchronous NamedPipe wrapper on Windows1,575MIT OR Apache-2.0
anycowA supercharged container for read-heavy, occasionally-updated data structures with multiple storage strategies1,574MIT
blazinternerEfficient and concurrent interning of generic data1,572MIT OR Apache-2.0
kcasA lock-free, allocation-free multi-word compare-and-swap library1,570MIT OR Apache-2.0
contiguous-arenaEfficient, reusable memory arena for Rust with support for contiguous memory blocks.1,569Unlicense
one_allocA custom allocator that allows a singular allocation of a specific size known ahead of time.1,561Apache-2.0 OR BSL-1.0 OR MIT
miniptrData-structures based on small, safe indices into arenas ("mini pointers")1,5570BSD OR MIT OR Apache-2.0
nested-refReferences to data contained in one or more nested RefCells1,556MIT OR Apache-2.0
o3shared-nothing primitives1,544MIT
system_alloc_statsA wrapper exposing some stats for the System allocator.1,541CC0-1.0
light-qsbrA lightweight Quiescent-State-Based Reclamation (QSBR) library for safe memory reclamation in lock-free and async runtimes.1,538MIT
re-init-rcWrappers for Rc and Arc weak pointers for auto re-initialization of inner value on access when it is already dropped.1,537MIT
streamhouseA strongly typed client for clickhouse1,529MIT OR Apache-2.0
arena-allocatorVirtual memory based linear allocator1,521MIT OR Apache-2.0
stack-cstrHigh-performance stack-to-heap C string creation for Rust with FFI support1,512GPL-2.0
viaptrAn experimental library for packing complex types into pointer-sized fields1,509MPL-2.0
mimalloc3-rsmimalloc is a compact general purpose allocator with excellent performance.1,501non-standard
rat_memcache高性能 Memcached 协议兼容服务器,支持双层缓存和持久化存储1,494LGPL-3.0-or-later
freezeA mmap-backed bump allocator that allows compact and zero-realloc mutability of the top vector.1,493MIT
flex-alloc-secureSecured allocations for flex-alloc1,484MIT OR Apache-2.0
cowverta flexible data container supporting owned, reference-counted, and copy-on-write semantics. designed for use in interpreters1,471MIT OR Apache-2.0
pairSafe API for generic self-referential pairs of owner and dependent.1,466MIT OR Apache-2.0
lazy-cogsLazy Cogs is a implementation of lazy clonable data structures1,453non-standard
maple-rsA Rust library for loading Windows PE executables and DLLs directly from memory without writing to disk1,451GPL-3.0
playdate-allocatorGlobal allocator and allocator-api implementation for Playdate1,445MIT OR Apache-2.0
safe-uninitSafe unitialized types to reduce code avoiding MaybeUninit where safe1,415MIT
safe-ipcIPC crate for Unix and Windows.1,386Apache-2.0
shared_memory_forkA user friendly crate that allows you to share memory between processes1,384MIT OR Apache-2.0
cosringGroup theory coset analog to threadsafe SPSC ring buffers1,374non-standard
loopcellcell for multiple routes of access that are only used one-at-a-time in sequence1,333MPL-2.0
reftRef and Mut wrappers that implement AsRef and AsMut for any given &T1,296MIT OR Apache-2.0
clone-behaviorBound the semantic behavior and time complexity of cloning a value1,272MIT OR Apache-2.0
simple-lazy40 Lines wrapper of std OnceLock1,252MIT OR Apache-2.0
unkaiUnkai is a tool set for Rust's memory allocation APIs mainly focus on tracking
and conditional analyzing / limiting memory usage.1,224MIT
redoubt-allocAllocation-locked Vec that guarantees no reallocation after sealing1,219MIT OR Apache-2.0
rust-memory-analyzerRust memory analyzer1,197Apache-2.0
goxoy-interpreter-broomAn ergonomic tracing garbage collector that supports mark 'n sweep garbage collection1,190Apache-2.0/MIT
cache-size2A library for finding your L1/L2/L3 cache sizes1,167BSD-3-Clause