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