rustio rustio.net

Memory Management

75

once_cell

1.21.4 Stable

Single assignment cells and lazy values.

782.7M downloads · 15d ago
73

arc-swap

1.9.0 Stable

Atomically swappable Arc

193.4M downloads · 6d ago
71

talc

5.0.3 Stable

A fast and flexible allocator for no_std and WebAssembly

521.6K downloads · 2d ago
71

bumpalo

3.20.2 Stable

A fast bump allocation arena for Rust.

336.1M downloads · 1mo ago
71

id-arena

2.3.0 Stable

A simple, id-based arena.

37.1M downloads · 2mo ago
70

flatbuffers

25.12.19 Stable

Official FlatBuffers Rust runtime library.

64.8M downloads · 3mo ago
70

cudarc

0.19.4 Growing

Safe and minimal CUDA bindings

3.1M downloads · 4d ago
69

flexbuffers

25.12.19 Growing

Official FlexBuffers Rust runtime library.

3.6M downloads · 3mo ago
69

snmalloc-rs

0.7.4 Growing

rust bindings of snmalloc.

9.0M downloads · 3d ago
69

stacksafe

1.0.1 Growing

Prevent stack overflow in deeply recursive functions with automatic stack management.

189.9K downloads · 1mo ago
69

tor-memquota

0.40.0 Growing

Memory use tracking and quota utilities, used by Tor software

200.8K downloads · 24d ago
69

foundations

5.5.3 Stable

A Rust service foundations library.

2.1M downloads · 16d ago
68

stable_deref_trait

1.2.1 Growing

An unsafe marker trait for types like Box and Rc that dereference to a stable address even when moved, and hence can be used with libraries such as owning_ref and rental.

346.9M downloads · 5mo ago
68

zeroize

1.8.2 Growing

Securely clear secrets from memory with a simple trait built on stable Rust primitives which guarantee memory is zeroed using an operation will not be 'optimized away' by the compiler. Uses a portable pure Rust implementation that works everywhere, even WASM!

394.3M downloads · 5mo ago
68

planus

1.3.0 Stable

Planus is an alternative compiler for flatbuffers, an efficient cross platform serialization library.

10.9M downloads · 2mo ago
67

snmalloc-sys

0.7.4 Growing

rust raw bindings of snmalloc.

9.0M downloads · 3d ago
67

page_table_entry

0.6.1 Growing

Page table entry definition for various hardware architectures

99.3K downloads · 1mo ago
67

slab

0.4.12 Growing

Pre-allocated storage for a uniform data type

550.9M downloads · 1mo ago
67

associative-cache

3.0.0 Stable

A generic N-way associative cache with fixed-size capacity and random or least recently used (LRU) replacement.

1.7M downloads · 2d ago
67

memory_addr

0.4.1 Growing

Wrappers and helper functions for physical and virtual addresses

127.3K downloads · 4mo ago
67

range-alloc

0.1.5 Growing

Generic range allocator

8.2M downloads · 28d ago
66

mimalloc-safe

0.1.56 Growing

Performance and security oriented drop-in allocator

294.9K downloads · 2mo ago
66

sdd

4.7.5 Stable

Scalable lock-free delayed memory reclaimer

53.1M downloads · 13d ago
66

slabbin

1.2.0 Growing

An efficient slab allocator with stable addresses

353.1K downloads · 1y ago
66

esp-alloc

0.9.0 Growing

A heap allocator for Espressif devices

633.9K downloads · 5mo ago
66

lazy_static

1.5.0 Growing

A macro for declaring lazily evaluated statics in Rust.

660.2M downloads · 1y ago
66

memory_set

0.4.1 Growing

Data structures and operations for managing memory mappings

72.2K downloads · 4mo ago
66

aligned

0.4.3 Growing

A newtype with alignment of at least `A` bytes

12.8M downloads · 3mo ago
65

calendrical_calculations

0.2.3 Growing

Calendrical calculations in Rust

5.1M downloads · 5mo ago
65

page_table_multiarch

0.6.1 Growing

Generic page table structures for various hardware architectures

84.2K downloads · 1mo ago
65

stacksafe-macro

1.0.1 Growing

Procedural macro implementation for the stacksafe crate.

190.0K downloads · 1mo ago
65

zeroize_derive

1.4.3 Stable

Custom derive support for zeroize

153.0M downloads · 2mo ago
65

bincode_derive-next

2.1.0 Experimental

Procedural macros for bincode-next: high-performance derive macros for Encode, Decode, ZeroCopy, and more.

54.4K downloads · 21d ago
65

bump-scope

2.2.0 Stable

A fast bump allocator that supports allocation scopes / checkpoints. Aka an arena for values of arbitrary types.

149.2K downloads · 1mo ago
64

jemalloc_pprof

0.8.2 Growing

Convert jemalloc heap profiles to pprof to understand memory usage, fix memory leaks, and fix OOM Kills.

6.3M downloads · 1mo ago
64

arcstr

1.2.0 Growing

A better reference-counted string type, with zero-cost (allocation-free) support for string literals, and reference counted substrings.

10.4M downloads · 1y ago
64

yoke

0.8.1 Growing

Abstraction allowing borrowed data to be carried along with the backing data it borrows from

259.4M downloads · 5mo ago
64

tikv-jemallocator

0.6.1 Growing

A Rust allocator backed by jemalloc

62.1M downloads · 5mo ago
64

stable-vec

0.4.2 Growing

A Vec-like collection which guarantees stable indices and features O(1) element deletion (semantically similar to `Vec<Option<T>>`). Useful for allocations in graphs or similar data structures.

466.7K downloads · 20d ago
63

typed-arena

2.0.2 Growing

The arena, a fast but limited type of allocator

54.3M downloads · 3y ago
63

archery

1.2.2 Growing

Abstract over the atomicity of reference-counting pointers

13.0M downloads · 5mo ago
63

d3d12

22.0.0 Growing

Low level D3D12 API wrapper

4.4M downloads · 1y ago
63

tikv-jemalloc-ctl

0.6.1 Growing

A safe wrapper over jemalloc's control and introspection APIs

43.5M downloads · 5mo ago
63

vm-memory

0.18.0 Growing

Safe abstractions for accessing the VM physical memory

4.3M downloads · 3mo ago
63

include-flate

0.3.2 Growing

A variant of include_bytes!/include_str! with compile-time deflation and runtime lazy inflation

2.1M downloads · 9d ago
63

phylactery

3.0.0 Growing

Safe and thin wrappers around lifetime extension to allow non-static values to cross static boundaries.

8.6K downloads · 18d ago
63

flexstr

0.11.7 Growing

A flexible, simple to use, clone-efficient string type for Rust

1.1M downloads · 27d ago
63

shm-primitives

7.3.0 Experimental

Lock-free primitives for shared memory IPC: BipBuffer, slot metadata, and OS-level doorbell/mmap

931 downloads · 4d ago
62

cluFullTransmute

1.4.2 Stable

Extended, no-constraint type transmutation API, featuring safe checks and const-ready logic.

15.7K downloads · 3d ago
62

metrics-lib

0.9.1 Experimental

The fastest metrics library for Rust. Lock-free 0.6ns gauges, 18ns counters, timers, rate meters, async timing, adaptive sampling, and system health. Cross-platform with minimal dependencies.

33.0K downloads · 3d ago