#fixed-size

  1. fixedbitset

    bitset collection

    v0.5.7 5.3M #fixed-size #bitset #data-structures #container #bitvec #set-operations #no-std
  2. uint

    Large fixed-size integer arithmetic

    v0.10.0 829K #unsigned-integer #integer-arithmetic #big-integer #fixed-size #bit-length #performance #math
  3. bitmaps

    Fixed size boolean arrays

    v3.2.1 615K #fixed-size #bitmap #compact #boolean #arrays #primary #sized-chunks
  4. sqrid

    Square coordinates and grid-like arrays, with zero dependencies, in a single file

    v0.0.30 600 #grid #square #arrays #array #fixed-size #const-generics #single-file
  5. fixed-hash

    Macros to define custom fixed-size hash types

    v0.8.0 644K #hash #fixed-size #32-byte #256-bit #ethereum #types #macro
  6. imbl-sized-chunks

    Efficient sized chunk datatypes

    v0.1.3 23K #fixed-size #sparse-array #data-structures #immutability #performance #sized #chunk
  7. bva

    manipulating and doing arithmetics on bit vectors of fixed but arbitrary size

    v0.4.0 290 #bit-vector #bit #arithmetic #fixed-size #arithmetic-operations #unsigned-integer #integer-arithmetic
  8. sized-chunks

    Efficient sized chunk datatypes

    v0.7.0 552K #fixed-size #data-structures #sparse-array #immutability #performance #chunk #double-ended
  9. epserde

    ε-serde is an ε-copy (i.e., almost zero-copy) serialization/deserialization framework

    v0.6.1 550 #serialization #zero-copy #deserialize #mmap #data-structures #memory-region #fixed-size
  10. clocksource

    times and durations with fixed-size representations

    v0.8.1 378K #fixed-size #representation #duration #value #times #precise #operations
  11. sha2raw

    SHA-2 hash function

    v13.1.0 3.9K #fixed-size #sha-2 #hash #digest #digest-algorithm #cryptography #crypto
  12. av-bitstream

    bit writer/reader

    v0.2.1 750 #bit #byte #byte-reader #fixed-size #reader-writer #bitstream #stream
  13. truc

    Rust code generator for safe, fixed size, evolving records

    v0.2.1 #fixed-size #record #safe #generator #definition #structures #evolving
  14. fixed-capacity-vec

    Variable-length buffer backed by a fixed-size heap array

    v1.0.1 6.3K #fixed-size #heap #data-structures #compile-time #length #array #capacity
  15. fixed-vec-deque

    A fixed-size, zero-allocation circular buffer for Rust

    v0.1.11 350 #circular-buffer #fixed-size #vec-deque #ring-buffer #queue #zero-allocation #data-structures
  16. gridiron

    Rust finite field library with fixed size multi-word values

    v0.10.0 750 #finite-fields #finite #field #math #prime-field #fixed-size
  17. sparse-slot

    minimal sparse slot (sparse vector)

    v0.0.3 850 #slot #sparse #items #values #fixed-size #capacity #vector
  18. stack_dst

    A wrapper that allows storage of unsized values of up to a fixed size inline (without boxing)

    v0.8.1 650 #dynamically-sized #dst #stack #fixed-size #allocation #stack-allocated #inline
  19. fibis

    fixed range bitset

    v0.1.1 #bit-set #fixed #fixed-size #range
  20. reweb3-num

    Arbitrary precision, fixed-size signed and unsigned integer types for ethereum, this a fork of bnum crate

    v0.2.4 #unsigned-integer #signed-integer #fixed-size #primitive-integer #ethereum #precision #bnum
  21. iter_fixed

    Iterator of fixed length

    v0.4.0 170 #fixed-size #fixed-length #iterator #array #compile-time #zip #data-structures
  22. arrayy

    Stack-allocated fixed-size array with useful methods on top of Rust's [T; L] type

    v0.1.2 290 #array #data-structures #methods #stack-allocated #fixed-size #top
  23. drop_arena

    A single-type allocator which permits dropping and reclaiming of individual elements

    v0.3.0 #arena-allocator #memory #arena #fixed-size #drop #individual #elements
  24. heapbuf

    Fixed size heap buffer with optional custom alignment, ref counting and custom destructor logic

    v0.1.3 210 #fixed-size #heap #buffer #reference-counting #pointers #unaligned #pointer
  25. gridly

    managing fixed-size 2D spaces

    v0.9.1 #2d-grid #fixed-size #discrete #space
  26. emap

    A map with a fixed capacity and integers as keys

    v0.0.13 #memory-map #memory #hash-map #fixed #key #capacity #fixed-size
  27. slablit

    Literal for slab creation

    v0.3.1 #slab #literals #macro #fixed-size #literal
  28. fixed-typed-arena

    A typed arena that uses fixed-size chunks to ensure non-amortized O(1) allocations

    v0.3.3 #fixed-size #memory-management #arena-allocator #constant-time #arena #latency #memory-allocator
  29. rocstr

    An immutable fixed capacity stack based generic copy string

    v0.6.1 #string #immutability #stack #fixed-size #thread-safe #data-structures #web-server
  30. heapless_matrix

    efficient implementation of a matrix data structure in Rust. It offers functionality for creating, manipulating, and performing operations on matrices, such as transposition, summation, and multiplication.

    v0.1.5 #matrix #matrix-operations #linear-algebra #heapless #heap-allocation #fixed-size #memory-safety
  31. copstr

    COpy STRing module

    v0.1.2 #string #fixed-size #const-generics #copy #utf-8 #encoded-string #traits
  32. xyzvec

    Statically allocated fixed-size vectors for working in 2 and 3 dimensions

    v0.1.11 800 #vector #fixed-size #fixed-point #statically #allocated #dimension #floating-point
  33. sqlx-pg-uint

    SQLx compatible types to convert between Rust unsigned integers and the PostgreSQL NUMERIC/DECIMAL type seamlessly

    v0.8.0 #unsigned-integer #postgresql #sqlx #decimal #numeric #big-decimal #fixed-size
  34. tinybitset

    Generic implementation of small, fixed size, copyable bitsets

    v0.0.2 210 #bitset #fixed-size #stack #data-structures #small
  35. grid2d

    Two dimensional grid of runtime-defined, but unchangable size

    v0.6.0 #matrix #data-structures #2d-grid #array #fixed-size #two-dimensional #2d-array
  36. fixed_deque

    A fixed size VecDeque to match Python Deque

    v1.3.0 #deque #fixed-size #vec-deque #data-structures
  37. tokio_delayed_queue

    Asynchronous delayed queue for Tokio runtime

    v0.2.0 #tokio #queue #async #delayed #data-structures #run-time #fixed-size
  38. rust-clacc

    Rust implementanion of a CL universal accumulator

    v3.6.0 290 #accumulator #gmp #cryptography #fixed-size #crypto
  39. fixed_heap

    A fixed-size heap structure with manually provided stateful comparison function

    v0.3.0 #priority-queue #fixed-size #heap #priority #queue
  40. hubpack

    A predictable serialization format

    v0.1.2 13K #data-encoding #predictable #serde #compact #byte #fixed-size #values
  41. truc_runtime

    Rust code generator for safe, fixed size, evolving records - runtime

    v0.2.1 #fixed-size #record #safe #truc #generator #run-time #data
  42. intx

    Defines new integer types with non-standard but fixed sizes

    v0.1.0 3.1K #integer #fixed-size #non-standard #unaligned #misaligned #unsigned #data-structures
  43. smallobjectpool

    A small object pool for Rust

    v0.1.3 100 #object-pool #fixed-size #pointers #linked-list #data-structures #structure #blocks
  44. array_map

    Map backed array for fixed size keys with O(1) performance

    v0.4.0 1.7K #fixed-size #map #data-structures #structure #set-key #data
  45. circular-array

    A circular array that allows infinite pushes into a fixed-size array

    v0.2.2 #array #fixed-size #circular #infinite #index #capacity #indices
  46. arch-into

    safe type conversions between pointer-sized types (usize/isize) and types with fixed size

    v0.0.1-alpha.5 10K #fixed-size #convert #architecture #pointers #64-bit
  47. lru-slab

    Pre-allocated storage with constant-time LRU tracking

    v0.1.1 #lru-cache #constant-time #fixed-size #memory #preallocated #tracking #texture
  48. circ_buffer

    A bare-metal fixed-size statically allocated ring-buffer with optional serde (De)-Serialization

    v0.1.8 260 #ring-buffer #deserialize #fixed-size #bare-metal #optional #statically #allocated
  49. fixed-bump

    A bump allocator that uses fixed-size chunks to ensure non-amortized O(1) allocations

    v0.3.3 #bump-allocator #memory-management #memory-allocator #fixed-size #arena-allocator #constant-time #bump
  50. tinyvec_string

    tinyvec based string types

    v0.3.2 700 #string #array-string #data-structures #fixed-size #stack #tinyvec #backed
  51. fixed-array

    Fixed-size array

    v0.4.1 #fixed-size #array #functional-programming #sha-2 #uint #workspace #lazy-evaluation
  52. index-fixed

    convert slices into arrays using indexes ([T] -> [T;N])

    v0.3.1 2.7K #slice #fixed-size #array #index #fixed #const
  53. fixedbitset-stack

    A forked version of FixedBitSet that supports const generics

    v0.5.7 190 #const-generics #bit-set #fixed-size #bitset #data-structures #bitvec #container
  54. microstack

    The simplest and the fastest implementation of a fixed-size stack on stack

    v0.0.7 #stack #stack-memory #memory #fixed-size #performance #unsafe #fastest
  55. st_ring_buffer

    A fixed-size String implementation using a ring buffer

    v1.0.0 #ring-buffer #string #fixed-size #queue
  56. one_way_slot_map

    SlotMap with minimal restrictions on Keys and Values

    v0.4.2 #key-value #slotmap #map #fixed-size #key-storage #data-structures #lookup
  57. memory-pager

    Access memory using small fixed size buffers

    v0.9.0 100 #fixed-size #memory-buffer
  58. magic-buffer

    a virtual ring buffer implementation that magically wraps around itself

    v0.1.1 #ring-buffer #buffer #memory-buffer #network-protocol #networking #fixed-size #allocation
  59. no_std_strings

    no_std version of crate fixedstr: strings of constant maximum size that can be copied and stack allocated

    v0.1.3 #string #const-generics #stack-allocated #fixed-length #fixed-size #version #maximum
  60. option-block

    A minimal utility Rust crate for small, fixed-size blocks of optional types

    v0.3.0 340 #fixed-size #optional #data-structures #memory #block #embedded #array
  61. fmtbuf

    formatting to a fixed-size buffer

    v0.1.2 #string #string-formatting #format-string #buffer #fixed-size #format #foreign-interface
  62. petitset

    An ordered set data structure, optimized for stack-allocated storage of a tiny number of elements with a fixed cap

    v0.2.1 1.8K #fixed-size #set #map #elements #ordered #numbers #stack-allocated
  63. array-tools

    A little collection of array-related utils aiming to make life easier

    v0.3.2 #array #fixed-size #iterator #stack-allocated #chunks #collection #structure
  64. bufferring

    Ring buffers for Rust

    v0.0.2 #ring-buffer #fixed-size #queue #no-std #items #data #allocation
  65. async_logger

    Asyncronous logger allows writing arbitrary slices to a memory buffer, which then processed by a writer in it's own thread

    v0.3.3 130 #memory-buffer #logging #logger #async #data-processing #fixed-size #data-file
  66. brownstone

    building fixed-size arrays

    v3.0.0 104K #fixed-size #arrays #statically #sized #constructing #safely
  67. stuff

    Stuffing things into pointers

    v0.2.0 #pointers #provenance #bit-packing #unsafe #tagging #back-end #fixed-size
  68. multihash-derive

    Proc macro for deriving custom multihash tables

    v0.9.1 192K #multi-hash #proc-macro #table #macro-derive #ipfs #fixed-size #procedural
  69. generic-bytes

    A derivable trait for conversion to and from an array of bytes with a type-level size

    v0.2.2 120 #byte-array #byte-size #byte #byte-length #byte-slice #fixed-size #generic
  70. pulau-rs

    allocation-free union-find library for bare metal environments

    v0.2.0 #union-find #disjoint-set #dsu #fixed-size
  71. eint

    Fixed-size signed/unsigned big integers

    v1.0.0 #big-integer #fixed-size #precision #256
  72. custos

    A minimal OpenCL, WGPU, CUDA and host CPU array manipulation engine

    v0.7.0 #automatic-differentiation #cpu-gpu #array #gpu #deep-learning #arrays #fixed-size
  73. memory_storage

    memory storage comparable to a Vec where removing items doesn't shift all the items after the removed item to the left and doesn't invalidate their IDs. It allows you to remove items…

    v0.9.30 #memory #memory-map #storage #map #fixed-size #no-std
  74. fixed-slice-deque

    A fixed size deque implementation

    v0.1.0-beta2 120 #fixed-size #circular-buffer #ring-buffer #fixed #deque #buffer #circular
  75. packtool

    In memory packing made easy

    v0.3.0 #packing #fixed-size #memory #format #view
  76. read_chunk_iter

    Iterator adapters over a reader that yield fixed-size chunks at a time

    v0.2.0 #iterator-adapter #iterator #fixed-size #chunks #reader #read #yield
  77. dgrambuf

    A fixed capacity ring buffer for datagrams (byte slices)

    v0.2.0 #ring-buffer #datagram #byte-slice #fixed-size #buffer #ring #slice
  78. mightrix

    treat continous memory as a matrix

    v0.3.2 #matrix #const-generics #fixed-size #memory #stack #reftrix #array
  79. generic_slab

    Pre-allocated storage for a uniform data type

    v0.1.1 #fixed-size #slab #generic #fixed #allocator #key-storage #no-std
  80. expand_array

    Macro to convert a static array to a fixed-size array

    v0.2.0 #fixed-size #byte-array #array-string #string-literal #static #size #fixed
  81. packbytes

    Convert structures to and from packed representavises - byte arrays of fixed size that live on stack

    v0.2.0 #byte #fixed-size #packed #endian #binary #transmute #binary-data
  82. inlay

    CLI tool for encoding and decoding simple binary data structures

    v0.3.2 #codec #binary-data #binary-format #binary #data-encoding #decoding #fixed-size
  83. caja

    Adds the Caja struct which is basically Box<[T;n]>, but n can be not known at compile-time

    v0.2.1 #fixed-size #array #arrays #heap
  84. fixed_free_list

    A fixed-size free-list with optional key lifetime safety and macroless unique typing

    v0.2.0 #arena #fixed-size #reference #free-list #freelist #storage
  85. Try searching with DuckDuckGo.

  86. sized-dst

    Owned container for dynamically-sized types backed by inline memory

    v0.1.1 #traits #trait-object #heap-allocation #memory-management #memory-block #dynamic-dispatch #fixed-size
  87. stackstring

    A fixed-size string

    v0.3.1 410 #string #fixed-size #stackstring
  88. fixed-size-allocator

    A fixed-size allocator

    v0.1.1 #fixed-size #memory-allocator #memory-block #free #heap #implemented #table
  89. dynamic-array

    A dynamically-allocated array of fixed size

    v0.2.3 410 #fixed-size #array #dynamic #dynamically-allocated #freely #dereferenced
  90. fixed-buffer-tokio

    NOT MAINTAINED. This crate was replaced by the fixed-buffer crate with tokio feature.

    v0.3.4 #tokio #fixed-size #buffer #byte-buffer #network-protocol #async-read #read-write
  91. local-or-heap

    type with a pre-specified size, regardless of the size of the T type it contains, using heap allocation if necessary

    v0.1.0 #fixed-size #memory-layout #heap-allocation #struct #layout #explicit #smallbox
  92. iter-rationals

    A fixed size, linear time, no-std iterator over the rational numbers

    v0.2.1 #rational-numbers #iterator #fixed #fixed-size #linear-time #math #no-std
  93. arraytools

    A variety of helpful methods for working with fixed-size arrays

    v0.1.5 1.0K #array #no-std #methods #helpful #variety #fixed-size #tuple
  94. zk-kit-pmt

    Generic for storage Merkle Tree (sparse & fixed-size) in Rust

    v0.1.0 #merkle-tree #fixed-size #sparse #generic #storage
  95. slots

    Fixed size data structure with constant-time operations

    v0.4.0 #slot #fixed-size #data #data-structures #operations #structure #constant-time
  96. simple-chunk-allocator

    no_std allocator written in Rust that manages memory in fixed-size chunks/blocks. Useful for basic no_std binaries where you want to manage a heap of a few megabytes without complex…

    v0.1.6 130 #memory-management #memory-allocator #memory #memory-region #heap-memory #fixed-size #chunk
  97. concat-arrays

    A macro for concatenating fixed-size arrays

    v0.1.2 7.0K #array #macro #concat #fixed-size #concatenating
  98. hoop

    Fixed ring buffer that allows non-consuming iteration both ways

    v0.2.8 #circular-buffer #buffer #ring-buffer #collection #fixed-size
  99. elastic-array-plus

    Elastic vector backed by fixed size array

    v0.10.0 3.4K #no-std #fixed-size #elastic #array #backed #vector
  100. const-sub-array

    Extract a fixed size sub-array out of an array with complie-time length and offset checks

    v0.1.0 #array #fixed-size #const #slice #split #subslice
  101. priority-set

    A no_std Priority Set

    v0.1.0 #priority #no-alloc #data-structures #embedded #fixed-size #no-std
  102. dyn-future

    Convenient and fast dynamic Futures for Rust

    v3.0.4 #future #dynamic #boxed #size #fixed-size #overhead
  103. boxed_array_ringbuffer

    A ring buffer of fixed size, that uses a boxed array as storage, therefore avoiding re-allocations when converting from Vec or to VecDeque

    v0.1.1 #ring-buffer #fixed-size #const-generics #ringbuffer
  104. compact_bitset

    A type for storing fixed-size arrays of booleans densely to optimize space

    v0.1.3 #boolean #arrays #fixed-size #space #bit #optimization #container
  105. simple_ringbuf

    Ringbuf is a speedy lightweight fixed-size infinite-use collection optimized for straightforward single threaded use

    v0.1.2 #fixed-size #ringbuf #undo #log
  106. sliding_window

    A fixed size, heapless sliding window

    v0.1.2 #sliding #heapless #fixed-size #element #index #data #oldest
  107. power_map

    A map with finite key and fixed size

    v0.1.0 #map #enums #enum #fixed-size
  108. rust_array_set_range

    that allows to set range of values in Rust's fixed size arrays

    v0.3.0 #fixed-size #range #array #set-range #values
  109. mmap_buffer

    (Mostly) safe wrapper for a memory-backed buffer

    v0.1.4 #mmap #buffer #backed #file #fixed-size #memory #memory-backed
  110. matrixgraph

    A graph implementation based on dense adjacency matrices

    v0.1.0 #adjacency-matrix #graph #dense #digraph #represented #fixed-size #triangle
  111. solana-fixed-buf

    A fixed-size byte array that supports bincode serde

    v0.22.9 #solana #blockchain #bincode #fixed-size #array #byte #serde
  112. fixed_pool

    Fixed-size object pool with ownership and return semantics

    v0.1.0 #object-pool #fixed #semantics #fixed-size #return #ownership #reset
  113. bitssset

    A performance-first, fixed-size bitset implementation for specific requirements

    v0.1.0 #bitset #fixed-size #requirements #performance-first
  114. fixed-size-vector

    Fixed size vector based on arrays

    v0.2.2 #fixed-size #array #vector
  115. xint

    Fixed-size signed/unsigned big integers

    v0.1.0 #fixed-size #integers #big #big-integer
  116. array_range_copy

    that allows to set range of values in Rust's fixed size arrays

    v0.1.0 #array #copy #range #size #values #fixed #fixed-size
  117. parity-hash

    A collection of fixed-size byte array representations

    v1.2.2 #byte-array #collection #representation #fixed-size
  118. m6arr

    Fixed Size Heap Array

    v0.2.0 #heap #fixed-size #array #collection