rustio rustio.net

Memory Management

76

zeroize

1.9.0 Stable

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!

556.7M downloads · 1mo ago
73

stacksafe

1.0.2 Stable

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

597.9K downloads · 1mo ago
72

arc-swap

1.9.2 Stable

Atomically swappable Arc

261.3M downloads · 25d ago
72

tor-memquota

0.44.0 Growing

Memory use tracking and quota utilities, used by Tor software

538.8K downloads · 23d ago
72

bumpalo

3.20.3 Stable

A fast bump allocation arena for Rust.

468.0M downloads · 2mo ago
71

crossbeam-epoch

0.9.20 Growing

Epoch-based garbage collection

544.2M downloads · 17d ago
71

zeroize_derive

1.5.0 Stable

Custom derive support for zeroize

204.0M downloads · 1mo ago
70

yoke

0.8.3 Growing

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

435.5M downloads · 1mo ago
70

once_cell

1.21.4 Stable

Single assignment cells and lazy values.

1.0B downloads · 4mo ago
70

bincode_derive-next

3.1.1 Growing

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

393.2K downloads · 1mo ago
70

foundations

5.7.4 Stable

A Rust service foundations library.

3.0M downloads · 23d ago
69

talc

5.0.4 Stable

A fast and flexible allocator for no_std and WebAssembly

1.0M downloads · 1mo ago
69

stacksafe-macro

1.0.2 Stable

Procedural macro implementation for the stacksafe crate.

598.2K downloads · 1mo ago
69

tikv-jemallocator

0.7.0 Growing

A Rust allocator backed by jemalloc

80.3M downloads · 1mo ago
68

cudarc

0.19.8 Growing

Safe and minimal CUDA bindings

5.9M downloads · 1mo ago
68

id-arena

2.3.0 Growing

A simple, id-based arena.

95.7M downloads · 6mo ago
68

esp-alloc

0.10.0 Growing

A heap allocator for Espressif devices

773.1K downloads · 3mo ago
68

tor-memquota-cost

0.44.0 Experimental

Low-level memory tracking traits, for use by Arti

75.0K downloads · 23d ago
68

tikv-jemalloc-ctl

0.7.0 Growing

A safe wrapper over jemalloc's control and introspection APIs

53.4M downloads · 1mo ago
68

mimalloc-safe

0.1.64 Growing

Performance and security oriented drop-in allocator

497.9K downloads · 1mo ago
67

flatbuffers

25.12.19 Growing

Official FlatBuffers Rust runtime library.

84.6M downloads · 7mo ago
67

bump-scope

2.3.3 Stable

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

253.3K downloads · 12d ago
67

calendrical_calculations

0.2.4 Growing

Calendrical calculations in Rust

9.0M downloads · 3mo ago
67

buddy-slab-allocator

0.4.6 Experimental

Memory allocator with Buddy and Slab allocation

31.2K downloads · 16d ago
67

sdd

4.8.8 Stable

Scalable lock-free delayed memory reclaimer

74.0M downloads · 21d ago
66

flexbuffers

25.12.19 Growing

Official FlexBuffers Rust runtime library.

4.0M downloads · 7mo ago
66

slabbin

1.2.0 Growing

An efficient slab allocator with stable addresses

895.4K downloads · 1y ago
66

lazy_static

1.5.0 Growing

A macro for declaring lazily evaluated statics in Rust.

843.6M downloads · 2y ago
66

planus

1.3.0 Growing

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

14.7M downloads · 5mo ago
66

jemalloc_pprof

0.9.0 Growing

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

9.8M downloads · 1mo ago
65

memory_addr

0.4.1 Growing

Wrappers and helper functions for physical and virtual addresses

164.4K downloads · 3mo ago
65

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.

516.3M downloads · 9mo ago
65

ax-memory-set

0.6.12 Experimental

Data structures and operations for managing memory mappings

2.0K downloads · 16d ago
65

kevy-madvise

3.18.0 Experimental

Pure-Rust madvise hints (MADV_HUGEPAGE) — no libc crate.

3.5K downloads · 13d ago
65

kevy-bytes

3.18.0 Experimental

24-byte small-byte-string with inline SSO. Pure Rust.

4.3K downloads · 13d ago
64

memory_set

0.4.1 Growing

Data structures and operations for managing memory mappings

85.2K downloads · 3mo ago
64

page_table_entry

0.6.1 Growing

Page table entry definition for various hardware architectures

127.2K downloads · 3mo 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.

17.5M downloads · 2y ago
64

hwlocality

1.0.0-alpha.12 Stable

Idiomatic Rust bindings for the hwloc hardware locality library

294.3K downloads · 3mo ago
64

fallible_collections

0.5.2 Growing

a crate which adds fallible allocation api to std collections

3.6M downloads · 1mo ago
64

lazy-static-include

4.0.0 Stable

This crate provides `lazy_static_include_bytes` and `lazy_static_include_str` macros to replace `include_bytes` and `include_str` macros.

352.6K downloads · 16d ago
64

ax-page-table-multiarch

0.8.13 Experimental

Generic page table structures for various hardware architectures

3.4K downloads · 22d ago
64

ax-page-table-entry

0.8.10 Experimental

Page table entry definition for various hardware architectures

3.8K downloads · 1mo ago
64

ax-memory-addr

0.6.9 Experimental

Wrappers and helper functions for physical and virtual addresses

4.1K downloads · 1mo ago
64

fmmap

0.5.0 Growing

A flexible and convenient high-level mmap for zero-copy file I/O.

309.5K downloads · 1mo ago
64

include-flate

0.3.4 Growing

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

3.3M downloads · 13d ago
63

typed-arena

2.0.2 Growing

The arena, a fast but limited type of allocator

69.3M downloads · 3y ago
63

d3d12

22.0.0 Growing

Low level D3D12 API wrapper

5.3M downloads · 2y ago
63

compact_str

0.10.0 Growing

A memory efficient string type that transparently stores strings on the stack, when possible

117.3M downloads · 11d ago
63

snmalloc-rs

0.7.4 Growing

rust bindings of snmalloc.

9.4M downloads · 4mo ago