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.

bumpslabA slab allocator with stable references109,211MITMemory management page_table_multiarchGeneric page table structures for various hardware architectures108,789GPL-3.0-or-later OR Apache-2.0 OR MulanPSL-2.0Hardware supportMemory management leaseObject pool that leases values and automatically returns them with async support108,661MIT OR Apache-2.0AsynchronousCaching free-listA free-list-based page/frame allocator.105,397MIT OR Apache-2.0Memory managementNo standard library netbufThe simple to use, growable, contiguous buffer object with right assumptions and interface. Tuned for using it for network…100,502MIT/Apache-2.0Memory managementNetwork programming tcmalloc-betterA Rust wrapper over Google's TCMalloc memory allocator99,363MITAPI bindingsMemory management mimalloc-rspackPerformance and security oriented drop-in allocator99,201MITAPI bindingsMemory management concat-in-placeEfficient macros for concatenation of strings and vectors99,129MIT OR Apache-2.0Memory managementRust patterns feldera-size-ofA crate for measuring the total memory usage of an object98,206MIT OR Apache-2.0Development toolsDevelopment tools::Debugging good_memory_allocatorA blazingly fast and memory efficient memory allocator to be used in `no_std` environments.96,883MITAlgorithmsData structures libtcmalloc-sysSys crate wrapping the tcmalloc allocator96,645MITAPI bindingsMemory management ghost-cellCompile-time zero-cost borrow-checking of aliased references95,291MIT OR Apache-2.0Memory managementNo standard library rspack-libmimalloc-sysSys crate wrapping the mimalloc allocator94,694MITAPI bindingsMemory management planus-lexerInternal lexer library for planus.92,313MIT/Apache-2.0Data structuresEncoding perilFast and safe Hazard pointers for Rust.91,987MITConcurrencyMemory management planus-typesInternal type library for planus.91,742MIT/Apache-2.0Data structuresEncoding planus-translationInternal translation library for planus.89,656MIT/Apache-2.0Data structuresEncoding memory_setData structures and operations for managing memory mappings86,586GPL-3.0-or-later OR Apache-2.0 OR MulanPSL-2.0Memory managementNo standard library planus-codegenInternal codegen library for planus.86,525MIT/Apache-2.0Data structuresEncoding tor-memquota-costLow-level memory tracking traits, for use by Arti86,135MIT OR Apache-2.0Memory management typed-generational-arenaA safe arena allocator that supports deletion without suffering from the ABA problem by using generational indices. Now with…85,347MPL-2.0Data structuresMemory management rarena-allocatorLock-free ARENA allocator which can be used in both memory and on-disk.85,161MIT OR Apache-2.0ConcurrencyData structures mmap-allocatorstruct implementing trait std::alloc::GlobalAlloc for unix83,566Apache-2.0 OR LGPL-3.0-or-laterMemory management slabigatorA fixed-capacity linked list with stable element addressing and no dynamic allocations83,373MIT OR Apache-2.0Data structuresMemory management arccstrThread-safe, reference-counted null-terminated immutable strings.81,523MIT OR Apache-2.0ConcurrencyData structures memflowcore components of the memflow physical memory introspection framework81,073MITMemory managementOperating systems owned_charsOwned iterators with the same output as Chars and CharIndices79,711MIT/Apache-2.0Memory managementText processing recycle-boxA pointer type for heap-allocated objects which heap storage can be re-used, with Pin support.78,783MIT OR Apache-2.0Memory management typed-slabTyped wrapper for Slab78,137MITData structuresMemory management shared_memory_deriveSupport crate that provides macros for the shared_memory crate.75,987MIT OR Apache-2.0AsynchronousConcurrency alloc-checkedCollections that don't panic on alloc failures75,977MIT OR Apache-2.0Data structuresMemory management jemallocator-globalSets `jemalloc` as the `#[global_allocator]`71,463MIT/Apache-2.0API bindingsMemory management starlingThis tree structure is a binary merkle tree with branch compression via split indexes.69,439MIT/Apache-2.0AlgorithmsData structures mimalloc-sysRust FFI bindings to mimalloc69,342MIT/Apache-2.0API bindingsMemory management bufiostd::io::Write for your potentially uninitialized slice of memory.69,287Apache-2.0 OR MITAPI bindingsEmbedded development boxarraySafe way to allocate and initialize nested arrays directly on the heap in Rust.68,128MITMemory managementRust patterns default-boxedHelper trait to help create large struct on heap directly67,143MITMemory managementNo standard library slotmapdorlp/slotmap fork where serialization cycle doesn't change observable behavior66,510ZlibCachingData structures composable-allocatorsComposable memory allocators for new allocator API.65,552MIT OR Apache-2.0Memory managementNo standard library compact_arenaA crate with some types to allow indexed arenas with small memory footprint63,623MIT OR Apache-2.0Data structuresMemory management memflow-derivederive macros for the memflow physical memory introspection framework62,948MITMemory managementOperating systems memusageSmall trait utility to keep track of the memory usage of structs60,529non-standardMemory management arc-cacheAn Adaptative Replacement Cache for Rust.52,310MIT/Apache-2.0AlgorithmsCaching bdwgc-allocimpl GlobalAlloc for bdwgc46,709MITAPI bindingsMemory management mmtkMMTk is a framework for the design and implementation of high-performance and portable memory managers.46,511MIT OR Apache-2.0Memory management memsecuritySecurely hold secrets in memory and protect them against cross-protection-boundary readout via microarchitectural, via attacks on…46,349Apache-2.0 OR MITCryptographyMemory management aligned_boxAllocate heap memory with user-specified alignment44,703MITData structuresMemory management arcshiftReplacement for std::sync::Arc<T> that supports updating the value, with some caveats.44,656MIT OR Apache-2.0Data structuresMemory management customizable-buddyA new buddy allocator that allows custom buddy finding algorithm44,244MITMemory managementNo standard library trcA faster Arc.40,020MITConcurrencyData structures quinineAtomic monotonic containers (Mono{Box,Arc})39,916Apache-2.0/MITConcurrencyData structures linera-jemalloc-ctlA safe wrapper over jemalloc's control and introspection APIs39,599MIT/Apache-2.0API bindingsDevelopment tools linera-jemallocatorA Rust allocator backed by jemalloc39,568MIT/Apache-2.0API bindingsMemory management amiUseful data structures that are not in the standard library.39,549MIT / BSL-1.0Data structuresMemory management pi_slotmapSlotmap data structure39,060MIT OR Apache-2.0CachingData structures mockallocA crate to allow testing code which uses the global allocator.38,464MIT OR Apache-2.0Development tools::TestingMemory management pi_worldecs world38,130MIT OR Apache-2.0Data structuresMemory management slabmapHashMap-like collection that automatically determines the key.37,921MIT OR Apache-2.0Data structuresMemory management hazarcA wait-free AtomicArc optimized for read-intensive use cases.37,293MIT OR Apache-2.0CachingConcurrency flatbuffers-verifierSupport library for the flatbuffers verifier generated by cfbc.36,982MITData structuresEncoding arc-atomic-refarc-atomic-ref is a small library that wraps arc-swap in Arc<T> so the atomic reference can be shared widely between many…36,723MITData structuresMemory management topoTools for incrementally computing repeated callgraphs.36,154MIT/Apache-2.0CachingData structures sodgSurging Object DiGraph (SODG)36,044non-standardData structuresMemory management dpdk-unixAn internal crate to make it easier to iterate on unix requirements35,889AGPL-3.0Command-line interfaceExternal FFI bindings process_vm_ioI/O access to virtual memory contents of processes35,853MITAPI bindingsDevelopment tools freqfsAn in-memory filesystem cache layer over tokio::fs, with LFU eviction35,828Apache-2.0CachingFilesystem bitcoinleveldb-utilLow-level utilities for bitcoin-rs/bitcoinleveldb providing C++-style non-dropping singletons and destructor control via…35,499MITData structuresDevelopment tools bbq2A SPSC, lockless, no_std, thread safe, queue, based on BipBuffers35,260MIT OR Apache-2.0Embedded developmentMemory management metrics-libHigh-performance Rust metrics library: sub-2ns counters, sub-1ns gauges, nanosecond timers, tumbling-window rate meters, async…35,151Apache-2.0Development tools::ProfilingMemory management buddy-slab-allocatorMemory allocator with Buddy and Slab allocation31,533Apache-2.0Embedded developmentMemory management smallest-uintGets the smallest unsigned integer type that can represent a given value31,391Apache-2.0Memory managementNo standard library poolsharkThread safe object pool31,386MITCachingMemory management poggersmemory lib31,032GPL-2.0Development tools::FFIMemory management rabufrandome access buffer for io30,910MIT OR Apache-2.0Data structuresMemory management coredumpForce coredump creation on panics.30,692GPL-3.0-or-laterAPI bindingsDevelopment tools::Debugging fixed_heapA fixed-size heap structure with manually provided stateful comparison function.30,590MIT OR Apache-2.0CachingData structures mimallocatorA Rust allocator backed by mimalloc30,466MIT/Apache-2.0API bindingsMemory management bump-intoa no_std bump allocator sourcing space from a user-provided slice30,344MIT OR UPL-1.0Memory managementNo standard library crumblesKeeping track of your pie's crumbles30,204MPL-2.0Data structuresMemory management dpdk-sysdpdk-sys30,091MITExternal FFI bindingsHardware support avr-progmemProgmem utilities for the AVR architectures29,586Apache-2.0Embedded developmentHardware support musli-allocatorAllocators for Müsli.29,504MIT OR Apache-2.0Memory managementNo standard library sensitiveMemory allocator for sensitive information29,075CC0-1.0Memory management moogledata structures for relational code28,894MIT OR Apache-2.0Data structuresDatabase implementations memflow-win32win32 integration of the memflow physical memory introspection framework27,750MITAPI bindingsMemory management atomptrA safe copy-on-write wrapper around `AtomicPtr` with some extra tricks27,356EUPL-1.2 OR Apache-2.0ConcurrencyMemory management scoped-arenaArena allocator with optional scopes27,192MIT OR Apache-2.0Memory managementNo standard library gpu-alloc-erupt`erupt` backend for `gpu-alloc`26,988MIT OR Apache-2.0Game developmentGraphics bitcoinleveldb-arenaLow-level bump-allocating memory arena and LCG-based test harness extracted from a Bitcoin LevelDB port, providing raw-pointer…26,767MITAlgorithmsData structures stable-arenarustc's arena, adapted for stable Rust25,820Apache-2.0 OR MITMemory managementNo standard library reffersSmart pointers: ARef, that allows even further owner erasure than OwningRef. Strong is a memory efficient Rc + RefCell in one.…25,363Apache-2.0/MITMemory managementRust patterns invocation-counterDatastructure to answer to: how many times a function has been called in the last X minutes?25,139Apache-2.0AlgorithmsConcurrency baby-mimallocMimalloc implemented in Rust (not a binding to the C library) with only basic features.24,742Apache-2.0Memory management memflow-nativeSystem call based proxy-OS for memflow24,480MITAPI bindingsMemory management contrailSimple state restoration for backtracking search algorithms using a trail.24,342MPL-2.0AlgorithmsMemory management option-cellOptionCell: OnceCell but derivable from Option24,095MIT OR Apache-2.0Memory managementRust patterns index-poolA pool which manages allocation of unique indices. Acts like a psuedo-memory allocator.24,056MITData structuresMemory management poolshark_deriveThread safe object pool23,144MITCachingMemory management maskerad_memory_allocatorscustom allocators, for memory fragmentation prevention.23,096MIT/Apache-2.0Data structuresGame engines id-vecSimplify Graphs in Rust. Introduces IdVec, which automatically creates Ids for each new object, reusing deleted Ids.22,965MITData structuresMemory management malloc-best-effortA Rust wrapper over Google's TCMalloc and Microsoft's MIMalloc memory allocators22,922MITAPI bindingsMemory management picoallocSimple, small and fast memory allocator22,816MIT/Apache-2.0Memory management local-or-heapprovides a type with a pre-specified size, regardless of the size of the T type it contains, using heap allocation if necessary22,706MIT OR Apache-2.0AlgorithmsData structures static-rcCompile-time reference counting22,563MIT OR Apache-2.0Memory managementNo standard library once_self_cellSafe-to-use proc-macro-free self-referential structs in stable Rust.22,539Apache-2.0Memory managementRust patterns alignersUtilities for alignment guarantees for data.21,985MITMemory managementRust patterns crosstalkAn extremely lightweight, topic-based, cross-thread, in-memory communication library21,979MITAerospaceAlgorithms heaparrayFlexible support for dynamically-sized types, using heap-allocated array of structs21,867MITData structuresMemory management stackvecA crate to use stack-allocated Vectors (performance and/or no-std)21,786MITMemory managementNo standard library fringLightweight, no_std, and *fast* ring buffer21,664MITEmbedded developmentMemory management omniswapswap values between possibly-overlapping references21,621MIT OR Apache-2.0Memory managementNo standard library ashpanRAII helpers for ash21,563MIT OR Apache-2.0GraphicsMemory management copyvecA contiguous growable array type, with a fixed, stack-alllocated capacity that implements Copy.21,383MIT OR Apache-2.0Data structuresMemory management evictorA library for generic caching with configurable eviction policies.21,379MIT OR Apache-2.0CachingData structures memory-cache-rsSimple local in-memory cache for Rust21,066MITMemory management haphazardDynamic memory management for lock-free data structures using hazard pointers.20,967Apache-2.0ConcurrencyMemory management zone-allocContainers for zone-based data allocation.20,723MITMemory managementNo standard library unborrowMacro for calling a &mut self method with transient &-borrows of self in the parameters20,570MITMemory managementRust patterns rb-allocatorMemorry allocator for Ruby extensions20,363MIT OR Apache-2.0Memory management memflowupsetup tool for the memflow physical memory introspection framework20,337non-standardMemory managementOperating systems memflow-ffiC bindings for the memflow physical memory introspection framework19,971MITAPI bindingsMemory management emplacableReturn unsized values from functions19,843MIT OR Apache-2.0Memory managementNo standard library qadaptThe Quick And Dirty Allocation Profiling Tool19,627Apache-2.0Development toolsDevelopment tools::Debugging onsenMemory pool19,535MIT OR Apache-2.0Memory management neocortexShared memory crate designed for simplicity, safety, and extensibility18,993MIT OR Apache-2.0Memory managementOperating systems::Unix APIs stack-arrayA maximum-sized array stored on the stack18,858MITAlgorithmsData structures ferrocA fast & lock-free memory allocator library18,855MIT OR Apache-2.0ConcurrencyMemory management kamoA library to assist in the creation of an interpreter or compiler and its associated runtime.18,809MIT OR Apache-2.0Data structuresMemory management crosstalk-macrosProcedural macros for crosstalk — An extremely lightweight, topic-based, cross-thread, in-memory communication library18,670MITAerospaceAlgorithms shared_arenaA thread-safe & efficient memory pool18,642MITConcurrencyMemory management singleton-managerA programatical singleton manager18,417MITMemory managementRust patterns scratchpadStack-like memory allocator with double-ended allocation support18,417MIT/Apache-2.0Data structuresEmbedded development fallible_vecFallible allocation functions for the Rust standard library's `Vec` type.18,144non-standardEmbedded developmentMemory management network-collectionsCollections suitable for use with networking, particularly when a fixed memory usage is required to prevent out-of-memory…17,998AGPL-3.0Data structuresMemory management emapA map with a fixed capacity and integers as keys17,846MITData structuresMemory management indexlandRust Collections with Newtype Indices17,323MITData structuresMemory management thresherExecute a callback when a memory threshold is reached17,323MIT/Apache-2.0Memory management easy-poolAn easy way to reuse your objects without reallocating memory every time.17,203MITCachingMemory management regcA garbage collector that mixes Reference counting and mark sweeping17,190MIT OR Apache-2.0Memory management stackstackA singly linked list intended to be chained along stack frames.17,136MIT OR Apache-2.0Data structuresMemory management platform-memMemory for linksplatform17,112UnlicenseMemory management allocator-suiteAllocator Suite for various allocation types16,991Apache-2.0/MITCachingMemory management splitrcThread-Safe Split Reference Counts16,923MITMemory management estExtensions for the rust Standard library and Tokio.16,880MIT/Apache-2.0AlgorithmsAsynchronous moving_gc_arenaLightweight Garbage-collectable regions using indices and explicit roots16,863MPL-2.0Data structuresMemory management indexland_deriveDerive Macros for indexland16,841MITData structuresMemory management arena_systemAn arena allocator which uses handles for accessing elements16,785MPL-2.0Memory management hardened_malloc-rshardened_malloc rust wrapper16,703Apache-2.0 OR MITAPI bindingsMemory management rattishCast between trait objects.16,541Apache-2.0Data structuresMemory management ordsearchA data structure for efficient lower-bound lookups16,512MIT/Apache-2.0Data structuresMemory management memapiA no_std-friendly memory allocation interface for raw buffers, with improved error reporting.16,487MIT OR Apache-2.0Memory managementNo standard library transvecA crate to safely transmute Vecs16,326MIT OR UnlicenseMemory management rcellA Cell which can hold either an Arc or an Weak smartpointer or be empty16,323MIT OR Apache-2.0ConcurrencyMemory management pinvecGrowable vector-like structure which never moves its contents16,190non-standardMemory management obj-poolA simple object arena16,093Apache-2.0 OR MITMemory management backdropDrop your large or complex objects in the background with Backdrop! (later, on another thread, or both! Fully customizable! Tokio…15,972MITAsynchronousData structures magic_staticGlobal singletons initialized at program start, an alternative to lazy initialization15,970MITMemory managementNo standard library cluFullTransmuteExtended, no-constraint type transmutation API, featuring safe checks and const-ready logic.15,927Apache-2.0Development toolsMemory management wrapping_coords2dTranslate between 1D indices and 2D coordinates with wrapping15,869Apache-2.0CachingData structures emballocSimple but reliable memory allocator for embedded Rust and #![no_std]15,752MIT OR Apache-2.0AlgorithmsEmbedded development shmem-ipcUntrusted IPC with maximum performance and minimum latency on Linux15,667Apache-2.0/MITMemory managementNetwork programming corundumPersistent Programming Library15,615MITDevelopment toolsHardware support object-allocAn object allocator trait for Rust.15,556Apache-2.0/MITAlgorithmsCaching lazy-stSingle-threaded lazy evaluation15,512MITMemory managementNo standard library pi_slotlock free Slotmap data structure15,376MIT OR Apache-2.0CachingData structures simple-chunk-allocatorA simple `no_std` allocator written in Rust that manages memory in fixed-size chunks/blocks. Useful for basic `no_std` binaries…15,358MITMemory managementNo standard library mem_macrosalign_of and size_of as a macro, to avoid turbofish notation15,357MIT OR Apache-2.0Memory managementNo standard library gcmoduleCyclic garbage collection inspired by CPython's gc implementation.15,321MITMemory management qadapt-macroThe Quick And Dirty Allocation Profiling Tool - Support Macros15,289Apache-2.0Development toolsDevelopment tools::Debugging fixed-bumpA bump allocator that uses fixed-size chunks to ensure non-amortized O(1) allocations15,263GPL-3.0-or-laterMemory managementNo standard library mem-rspattern scanning and abstraction for pointers in memory of running processes15,025non-standardDevelopment toolsGames pipebufEfficient byte-stream pipe buffer14,981MIT/Apache-2.0Data structuresMemory management memsafeA Secure cross-platform Rust library for securely wrapping data in memory14,939MITCryptographyMemory management growableA growable, reusable box for Rust.14,891MITData structuresMemory management winmmfA mostly safe Rust wrapper around Named Shared Memory on Windows. WIP14,687MPL-2.0FilesystemMemory management slimmer_boxA packed alternative to Box<T> whose 'fat' pointer is 'slimmer'14,656MITMemory managementNo standard library type_cellAttach values statically to a type using static get/set methods.14,576MIT OR Apache-2.0Memory managementRust patterns proc_memmanage processes, modules and read/write their memory on windows14,542MIT OR Apache-2.0AccessibilityGames larivLinked Atomic Random Insert Vector: a thread-safe, self-memory-managed vector with no guaranteed sequential insert.14,514MITConcurrencyData structures fixed-typed-arenaA typed arena that uses fixed-size chunks to ensure non-amortized O(1) allocations14,444GPL-3.0-or-laterMemory managementNo standard library memflow-qemuqemu connector for the memflow physical memory introspection framework14,395MITAPI bindingsMemory management broomAn ergonomic tracing garbage collector that supports mark 'n sweep garbage collection14,304Apache-2.0/MITAlgorithmsData structures canister-toolsTools for the canisters on the internet-computer, featuring simple upgrades and data safety state snapshot upload/download…14,204non-standardCryptography::CryptocurrenciesData structures rcu-cleanSmart pointers using RCU with Deref support.14,163Apache-2.0/MITData structuresMemory management shush-rsA Rust crate designed to manage sensitive data securely by leveraging memory protection mechanisms.13,995MIT OR Apache-2.0Memory management memaccMemory access functions.13,835MIT OR Apache-2.0Embedded developmentMemory management fixstrA simple library for fixing strings13,788MITData structuresMemory management mmap-allocA simple allocator backed by memory mappings.13,600Apache-2.0/MITMemory managementNo standard library culpert-macrosProc-macros for culpert. The crate-root re-exports the macros at `culpert::span_fn`; depend on `culpert` rather than this crate…13,565MIT OR Apache-2.0Development tools::ProfilingMemory management culpertPer-span heap allocation profiler core for Rust services.13,527MIT OR Apache-2.0Development tools::ProfilingMemory management owned-pinA wrapper that both owns and pins data in memory13,379MIT OR Apache-2.0Data structuresMemory management maskerad_stack_allocatorStack-based allocators, for contiguous allocation and memory fragmentation prevention.13,371MIT/Apache-2.0Data structuresGame engines isoallocSecurity oriented allocator13,336MITMemory management memflow-win32-defsstatic offset templates for13,270MITAPI bindingsMemory management osiris-dataA data management package.13,185MITData structuresEmulators boundWrap lock guards and other structs along with the locks or other data they are derived by shared reference from, in a struct you…13,005MITAsynchronousConcurrency sumtypeGenerate zerocost anonymous sum types that implement common traits12,989MITData structuresMemory management vec_remove_ifExtract elements from a vector based on supplied criteria12,888MITMemory managementRust patterns swamp-vm-layoutMemory layout calculation for Swamp VM types, handling size, alignment, and efficient representation of data structures12,642MITCompilersData structures thisenumAssign constant literals to enum arms.12,538MITMemory managementParsing tools