#const-generics

  1. serde-big-array

    Big array helper for serde

    v0.5.1 2.2M #big-array #deserialize #serde #const-generics #serialization #arr
  2. hybrid-array

    Hybrid typenum-based and const generic array types designed to provide the flexibility of typenum-based expressions while also allowing interoperability and a transition path to const generics

    v0.4.12 6.8M #const-generics #hybrid #typenum #transition #path
  3. fixedstr

    strings of constant maximum size that can be copied and stack allocated using const generics

    v0.5.10 402K #const-generics #stack-allocated #string #no-std
  4. datasize

    A simplified heap memory size estimator

    v0.2.15 29K #heap-memory #heap-size #memory-size #size-estimation #performance-optimization #const-generics
  5. serde_arrays

    module to support serializing and deserializing const generic or arbitrarily-large arrays

    v0.2.0 272K #const-generics #serialize #serde #serialization
  6. easyfft

    providing an easy FFT API for arrays and slices

    v0.4.2 22K #fft #const-generics #dft #multimedia-encoding #discrete
  7. heatshrink-bin

    A minimal library implementing the heatshrink compression algorithm for no_std environments

    v1.0.0 #compression #embedded #heatshrink #embedded-io #decompression #lzss #const-generics
  8. vectrix

    A stack-allocated matrix type implemented with const generics

    v0.4.1 #const-generics #vector-matrix #math #vector
  9. heatshrink-lib

    A minimal library implementing the heatshrink compression algorithm for no_std environments

    v1.0.0 #compression #embedded #decompression #embedded-io #heatshrink #const-generics #search-index #lzss #lookahead
  10. la-stack

    Fast, stack-allocated linear algebra for fixed dimensions

    v0.4.1 #const-generics #exact-arithmetic #geometry #robust-predicates #linear-algebra
  11. axb

    A lightweight, zero-dependency linear algebra library with compile-time dimension checking

    v1.0.1 #matrix #const-generics #math #numerical #matrix-math
  12. const_struct

    macro that allows const structures to be passed as const generics

    v0.6.6 240 #const-generics #macro-derive #no-std
  13. yangon

    A high-performance, stack-allocated string type for Rust with fixed capacity and zero heap allocations

    v1.1.28 #heap-allocator #fixed-capacity #zero-heap #stack-allocated #string-like #const-generics
  14. hybrid-array-arcium-fork

    Hybrid typenum-based and const generic array types designed to provide the flexibility of typenum-based expressions while also allowing interoperability and a transition path to const generics

    v0.4.7 1.5K #const-generics #typenum #hybrid #generic-array
  15. ranch

    Ranged integer types and math

    v0.6.0 #integer #const-generics #ranged #int
  16. elain

    Set a type's minimum alignment with const generics

    v0.3.1 12K #const-generics #alignment #layout
  17. reify-reflect

    Unified reification and reflection ecosystem for Rust

    v0.1.1 #const-generics #reflection #type-level #reify #meta-programming
  18. rtree_rs

    R-tree for Rust

    v0.1.4 6.3K #nearest-neighbors-search #cities #nearby #const-generics #coordinates #static-data
  19. vecmat

    Low-dimensional vector algebra with min_const_generics support

    v0.7.8 100 #vector-matrix #vector-math #const-generics #min-const-generics #algebra #matrix-math
  20. generic-upper-bound

    Stable workaround for internal uses of generic-const-exprs

    v3.1.2 #generic-const-exprs #const-generics #upper-bound #const
  21. combined_str

    Zero-copy, const-generic string combinator for no_std environments

    v0.4.3 #combinator #no-std #zero-copy #const-generics #environment #heap-allocator
  22. array-plus-extra

    An array type that holds N+EXTRA elements with const generic parameters, providing safe slice access to contiguous memory

    v0.3.0 #const-generics #slice #no-std
  23. typewit_gce

    for coercing between equal types with generic const arguments

    v0.1.1 #const-generics #gce #algebra #type-equality
  24. auto-concat-array

    Concatenate fixed-size arrays on stable Rust with automatic array length inference

    v0.1.0 #array-concat #const-generics #no-std
  25. concise_vec

    A concise, highly optimized vector implementation leveraging const generics in Rust

    v0.2.0 #const-generics #vec #data-structures
  26. kemkem

    Unverified, unoptimized, and downright dirty implementation of the ML-KEM

    v1.0.3 210 #ml-kem #generic-parameters #shared-key #const-generics #serialization #key-encapsulation #encryption #ml-kem768 #dirty #unverified
  27. optimath

    Linear Algebra using const generics for no_std and specialization to enable SIMD

    v0.3.1 #simd #const-generics #specialization #linear-algebra #no-std #blas
  28. ordes

    treating arrays and tuples a little bit more like vectors

    v0.4.1 700 #bit-vector #tuple #treating #little #const-generics #byte-stream #flat-map #l3
  29. binvec

    binary vector type developed in Rust to use memory efficiently. It is characterized by using the minimum memory space to store an array of bool values.

    v0.1.1 #bit-vector #binary #value #store #byte-array #bit-length #byte-length #const-generics #heap-allocator
  30. bitarray

    A const generics driven bit array specialized for hamming distance

    v0.10.0 500 #const-generics #bit #generics #array
  31. const-lru

    no_std, non-hashing, constant-capacity, constant-memory-usage LRU cache

    v1.0.0 #lru-cache #const-generics #cache #lru
  32. const-arithmetic

    Exploits Rust's type generic system to perform integer arithmetics at compile time

    v1.0.4 #integer-arithmetic #compile-time #const-generics #generics
  33. const-zero

    a const mem::zeroed

    v0.1.1 22K #zeroed #mem #const-generics
  34. Xorfilter

    No alloc membership approximation

    v0.2.2 #xorfilter #approximation #membership #no-alloc #generic #const-generics #set-membership
  35. array-fusion

    Array merging and splitting facilities

    v0.2.0 290 #split #array #facilities #fusion #typenum #const-generics #inferred #building-block
  36. copstr

    COpy STRing module

    v0.1.2 #const-generics #string #copy
  37. const_typed_builder

    Compile-time type-checked builder derive using const generics

    v0.3.0 #derive-builder #const-generics #compile-time
  38. const_unit_poc

    Proof of Concept: Physical units through const generics

    v1.1.3 #const-generics #physical-units #poc #si-units #concepts #error-message #kg #cm #mol
  39. minsize

    Collections with a statically known minimum size (using const generics)

    v0.1.2 #const-generics #non-empty #minimum-size #vec
  40. checks

    Adds several compile time checks for const generics

    v1.0.6 110 #const-generics #checking #utility
  41. array-bin-ops

    Efficient array binary operations

    v0.1.6 10K #const-generics #array-operations #math
  42. const-chunks

    Extension trait to chunk iterators into const-length arrays

    v0.3.0 290 #const-generics #chunks #iterator #adaptor #no-alloc
  43. ruint

    Unsigned integer type with const-generic bit length

    v1.18.0 1.5M #unsigned-integer #bit-length #const-generics #64-bit #human-readable-format #limbs #serialization #endianness #byte-array #try-from
  44. const-reify

    Safe runtime-to-const-generic dispatch via match tables

    v0.1.1 #const-generics #reify #type-level #reflection #dispatch
  45. urlquerystring

    A high-performance, zero-allocation URL query string parser

    v0.1.1 #query-string #parse-url #query-parser #zero-allocation #const-generics #heap-allocator #stack-based #performance-critical #byte-string #utf-8
  46. diman_lib

    Commonly used types for internal use in diman

    v0.5.1 100 #compile-time #diman #unit-system #physical-quantities #time-unit #const-generics #exponent #si-units #num-traits #gate
  47. sharded-offset-map

    A map from u64 to T that can be written from multiple threads

    v0.2.0 35K #hash-map #u64 #block #block-size #shard #concurrency-map #12 #const-generics #uniform-distribution #key-space
  48. slist

    Algebraic lists with statically determined size that live on stack

    v0.1.2 #const-generics #list #static
  49. fast_collections

    noheap zero copy collections

    v0.64.0 4.4K #zero-copy #vec #collection #allocation #const-generics
  50. const-assert

    Assert struct for const generics

    v1.0.1 950 #const-generics #assert #generic-const-exprs #buffer #impl #is-true #is-false
  51. sized_matrix

    Sized matrices using const generics for better type checking and performance

    v0.3.0 #const-generics #sized #vector-matrix #matrix
  52. Try searching with DuckDuckGo.

  53. e-write-buffer

    A no_std, const-generic, core::fmt::Writeable buffer

    v0.6.1 #write-buffer #const-generics #embedded #buffer
  54. matrix-rs

    using matrices in rust. Uses const generics to ensure compile-time matrix safety.

    v1.0.1 #const-generics #compile-time
  55. const_power_of_two

    working with constant generics that are powers of two

    v1.0.0 #const-generics #generics #traits #no-std
  56. const-generic-alignment

    Const-generic-aligned ZST

    v0.3.0 550 #const-generics #alignment #zst #zero-sized
  57. const_guards

    An attribute macro for compile time constraints on const generics

    v0.1.3 #const-generics #generics #const
  58. bit-bounds

    Helper traits for const generic bitwise bounds

    v1.0.0 #const-generics #helper-traits #bit-manipulation #bounds
  59. mat-rs

    no_std implementation of mathematical matrix types

    v0.1.0 #matrix #math #d-mat #no-std #std-math #const-generics #dynamically-sized
  60. chunk_iter

    Chunked iterator generic over any iterator

    v0.1.5 #iterator #chunks #chunked #traits #const-generics
  61. dntk-matrix

    Statically sized matrix using a definition with const generics (only for nightly)

    v0.1.2 #const-generics #matrix #define
  62. bool_const

    generic const boolean expressions

    v1.0.0 #const-generics #generic-const-exprs
  63. frankencell

    An alternative to qcell and ghost-cell that instead uses const generics

    v0.2.0 #const-generics #ghost-cell #qcell #usize #creation #interior-mutability
  64. picostring

    A stack allocated string that requires no extra space to store length

    v0.3.1 #stack-allocated #string #store #byte #length #increase #const-generics
  65. const-buffer

    A fixed-capacity memory buffer allocated on the stack using const generics

    v0.1.2 #const-generics #stack #array #no-std
  66. boxed-slice

    An easy abstraction around boxed slices sized by a const generic

    v0.1.1 #const-generics #serde #array #slice #box
  67. choose-from

    dependency-free crate for enforcing a selection from set values

    v0.1.1 #value #choose #set #const-generics #enforcing #compile-time #dependency-free
  68. const-either

    Option and Either types with variants known at compile time

    v0.1.1 #const-generics #compile-time #variant
  69. const-generic-wrap

    wrapper for const generics

    v0.3.0 #const-generics #no-std
  70. const-currying

    A procedural macro for speeding up your function using currying

    v0.0.5 6.6K #proc-macro #currying #const #const-generics #speeding #improve-performance #help-improve #caller
  71. mtrx

    type-safe matrix operations using const generics

    v0.1.0 #const-generics #matrix
  72. unroll-fn

    A generic unrollling function

    v0.1.1 #const-generics #meta-programming
  73. constduck

    Compile-time ducktyping and reflection using const generics

    v0.1.0 #duck-typing #const-generics #struct #reflection #compile-time
  74. ct_ratio

    Compile-time rational arithmetic for use in generics

    v1.2.0 #const-generics #rational-numbers #compile-time #math #generic-const-exprs #measurement-units
  75. typestring

    String constants lifted into types. This is a stopgap until const generics support strings.

    v0.1.0 #const-generics #lifted #string #constant #stopgap
  76. tamp

    Bindings to the tamp compression library

    v0.1.0 #compression #heap-less #embedded #bindings #streaming #decompression #const-generics
  77. partial_const

    way to handle constant and non-constant values in a unified way

    v0.2.1 #const-generics
  78. e-ring

    A no_std append only ring buffer, when full new element replace oldest one

    v0.3.0 #ring-buffer #const-generics #embedded #buffer
  79. cvec

    a const-generics / adt-const-param compatible Vec alternative

    v0.1.1 #const-generics #vec #adt-const-param #compatible
  80. array-append

    a small family of functions for working with const-generic array types

    v0.1.0 #const-generics #array
  81. constfft

    providing an FFT API for arrays

    v0.2.4 #fft #dft #const-generics #discrete #encoding
  82. generic-predicates

    A taste of what const generics could enable in the future

    v0.1.0 #const-generics #future #predicate #taste #generic-const-exprs
  83. newtype_array

    A macro to help implementing the standard derived traits on newtype arrays

    v0.1.6 #const-generics #array #generics #arrays
  84. rbf

    Super simple const generics based ring buffer implementation for no_std

    v0.2.0 #ring-buffer #const-generics #buffer-for-no-std #super #data-structures
  85. typewit_gce_proc_macros

    detail of typewit_gce

    v0.1.0 #const-generics #typewit-gce #macro #arguments #expression #coercing #generic-const-exprs #generic-parameters
  86. tiny-uom

    performs type-safe and zero-cost dimensional analysis. Like uom but much smaller.

    v0.1.0 #dimensional-analysis #system-units #uom #type-safe #zero-cost #const-generics #smol
  87. chunks-exacter

    Extension traits on slices to allow for const-generics chunks_exact

    v0.1.1 #const-generics #slice #extension-traits #chunks-exact
  88. vectrix-macro

    A macro for composing matrices

    v0.4.1 #const-generics #vectrix #constant-size #stack-allocated #macro #composing #macro-for-composing #row-column #debugging
  89. const-slice

    working with slices in compile-time constants

    v0.1.0 #constant #compile-time #array #compile-time-constants #slice #fixed-capacity #time-slice #dynamically-allocated #const-generics
  90. xconstants

    Adds preliminary support for enum const generics

    v0.2.1 #const-generics #enums #preliminary