#const

  1. const-str

    compile-time string operations

    v0.7.1 1.0M #compile-time-string #proc-macro #string #const
  2. const_panic

    const panic with formatting

    v0.2.15 645K #panic #const #format
  3. constcat

    concat! with support for const variables and expressions

    v0.6.1 429K #concat #const
  4. fugit

    Time library for embedded targets with ease-of-use and performance first

    v0.3.9 150K #compile-time #time-instant #const #instant #duration
  5. databake

    Trait that lets structs represent themselves as (const) Rust expressions

    v0.2.0 7.3K #serialization #zero-copy #const #proc
  6. const_soft_float

    Const Soft Float Point

    v0.1.4 208K #soft-float #float-point #const
  7. machine-prime

    ne plus ultra primality testing for machine-sized integers

    v1.5.5 #prime #number-theory #const #no-std
  8. constgebra

    Const Linear Algebra

    v0.1.4 205K #vector-math #const #math #linear #vector #vector-matrix
  9. asn1_len

    convert back and forth between unsigned int and ASN.1 Length

    v2.0.0 140 #asn-1 #const #big #asn1 #int #big-integer
  10. constptr

    NonNull without mutability

    v0.3.1 11K #non-null #const #pointers
  11. fastnum2

    fork of Fast decimal numbers library

    v0.3.6 430 #fixed-point #numeric #const #decimal
  12. jaarg

    It can parse your arguments you should use it it's called jaarg

    v0.2.2 #arguments-parser #no-std #const #dependency-free #called
  13. dtmf_tones

    A zero-heap, no_std, const-first DTMF keypad frequency table with runtime tolerance helpers

    v1.0.2 #telephony #audio #const #dtmf
  14. small_type_id

    generation constant 32 bit nonzero unique identifiers for types

    v0.1.1 240 #type-id #constant #const
  15. p3-miden-goldilocks

    Miden variant of Goldilocks field with public const constructors

    v0.4.0 #miden #goldilocks #constructor #variant #const #plonky3
  16. const-init

    trait for things that are const initializable

    v1.0.0 2.1K #const #traits #init #value #got #tired #initializable
  17. dirty_static

    container for an immutable value that allows sneaky reloading in debug mode (via UnsafeCell) while keeping the data safe and constant in release mode. This allows you to tweak data while testing an application…

    v0.1.2 #debug-mode #const #release
  18. generic-upper-bound

    Stable workaround for internal uses of generic-const-exprs

    v3.1.1 340 #generic-const-exprs #const-generics #upper-bound #const
  19. trig-const

    Const trig functions in Rust

    v0.3.0 #trig #const #no-std
  20. cfg_block

    allow using #[cfg(...)] and other macros on blocks

    v0.2.0 76K #proc-macro #block #cfg #const
  21. optionally_const

    Optional constness on stable Rust

    v0.8.0 430 #const #optional #maybe
  22. lhash

    Minimal hashing library

    v1.1.0 4.6K #sha-256 #sha-1 #md5 #sha-512 #const #no-alloc
  23. rustc-version-const

    rustc version as a const function at runtime (detected at build-time)

    v1.1.0 1.2K #rustc-version #build-time #run-time #const #fn
  24. const-macros

    Various macros for const contexts

    v0.3.1 140 #const #macro
  25. const-type-layout

    Derivable const trait to view and compare the layout of a struct, union, or enum

    v0.3.2 290 #type-layout #const #type
  26. pkg-version

    Macros expanding to the package version

    v1.0.0 5.6K #constant #macro #const
  27. unroll-lite

    Unroll loops in const contexts, declarative macro version

    v0.1.0 #const-context #unroll #const
  28. machine-factor

    constant factorisation for machine-size integers

    v0.2.4 500 #factorization #number-theory #const
  29. nz

    Collection of 100% safe macros for creating non-zero integers more easily

    v0.4.1 1.4K #non-zero #integer #const
  30. const-siphasher

    SipHash-2-4, SipHash-1-3 and 128-bit variants in pure Rust

    v1.0.2 650 #sip-hash #hash #const
  31. thisenum

    Assign constant literals to enum arms

    v0.2.2 #enums #parser #macro-parser #macro #const
  32. sigmah

    Create and scan binary signature in Rust efficiently

    v0.6.1 600 #signature #simd #scanning #binary #const #no-alloc
  33. const-util

    Stable implementations for some missing const functions

    v2.2.0 180 #const #byte-slice
  34. softfloat

    Pure software floating-point implementation, with const and no_std support

    v1.0.0 2.0K #const #float-point #soft
  35. const_sizes

    提供友好可读的常量大小

    v0.1.6 500 #常量大小 #提供友好可读 #const
  36. const-crc32

    A const fn implementation of crc32 checksum algorithm

    v1.3.0 3.4K #crc32 #checksum #crc #const
  37. analog_literals

    Multi-Dimensional Analog Literals in Rust

    v1.0.0 #const #joke #mistakes #literals #graphics #no-std
  38. const-crc32-nostd

    A const fn implementation of crc32 checksum algorithm

    v1.3.1 29K #crc32 #checksum #crc #const #no-std
  39. c0nst

    proc-macro for sharing code between const and non-const traits

    v0.2.1 120 #traits #proc-macro #nightly #const #compatibility
  40. typus_fugit

    typenum powered time library for the embedded ecosystem

    v0.1.3 150 #embedded #time-instant #instant #duration #const
  41. punch-card

    Punched cards in Rust

    v1.2.0 280 #joke #const #literals #no-alloc
  42. fugit-timer

    A Count Down Timer abstaction that uses fugit time primitives

    v0.1.3 11K #const #instant #time-instant
  43. tuple_split

    An extension for the tupleops crate which adds a trait for splitting tuples

    v0.2.4 220 #split #tuple #tupleops #utility #const #no-alloc
  44. sort-const

    Sort arrays and slices in const contexts

    v1.0.1 1.6K #sorting #const-sort #const #no-alloc
  45. const-builder

    Derive macro for const-compatible compile-time checked builders

    v0.1.5 #builder #no-std #const
  46. const-map-array

    Map arrays in a const context

    v0.1.0 #const-context #map #array #const
  47. duh

    macro utilities

    v0.1.1 #macro-utilities #shadow #fns #const #inline #must-use
  48. index-fixed

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

    v0.3.1 4.3K #slice #const #array
  49. const-vec

    Vec-like data structure with immutable push method

    v1.1.1 #vec #array #vector-array #const
  50. concat_const

    const &[u8] and &str concatenation

    v0.2.0 240 #concatenation #const #concatenate
  51. wstr-literal

    Proc macros for building UTF-16 null-terminated arrays at compile time

    v0.1.1 #utf-16 #const #static #wchar
  52. maybe_path

    Zero overhead static initializer for Path

    v0.1.3 1.5K #static-initialization #const #path #cow
  53. owned_str

    Provide a stack allocated String for no-std or const environement

    v0.1.2 220 #stack-allocated #string #stack-string #no-std #const #compile-time-string #s-push #buff #to-string
  54. phosphor-svgs

    Autogenerated Phosphor Icons SVGs as const &strs

    v0.3.0 #phosphor #svg-icons #auto-generated #const #string
  55. const-config-size

    read a const usize from an array length, map key count, or integer literal in a .json file

    v0.2.4 #config-json #config-file #array-length #const #json-array #file-config #map-key
  56. arrav

    Sentinel-based heapless vector

    v0.2.0 #vec #heap-less #vector-array #const #array
  57. mutability_marker

    Marker types describing mutability

    v0.1.2 160 #marker #mutability #immutability #program-state #const
  58. netlit

    Express literal IP addresses and socket addresses directly in code

    v0.1.2 #ip-address #net #const #no-alloc
  59. def_oid

    Define OID into ASN1 bytes format at compile time by using OID arcs literal string

    v1.0.0 #compile #byte #const #oid #asn1
  60. astr

    A const lenght stack str

    v0.3.1 #array-string #stack-string #const #slice #macro #lenght
  61. optargs

    Easily create macros for functions with optional arguments

    v0.1.2 650 #arguments #function #const #macro #optional
  62. type_eval

    Type level evaluation and proof-carrying

    v0.0.1-alpha #type-evaluation #const #proof-carrying-code
  63. serde-constant

    Const values for serde

    v0.1.0 2.6K #serde #untagged #no-alloc #const
  64. Try searching with DuckDuckGo.

  65. light_bitmap

    A minimal, fixed-size bitmap library written in pure Rust

    v0.1.0 #bit-set #bitmap #const
  66. const-trig

    providing const trig functions

    v0.0.2 #trigonometry #trig #const #sin-cos #cos
  67. sqlstate-inline

    Memory efficient const-friendly types for SQLSTATE codes

    v0.1.2 #const #sqlstate #sql #error
  68. cstr-literal

    A const-friendly macro for C string literals

    v0.1.0 1.7K #string-macro #c-str #literals #macro-literals #const #literals-string
  69. constdefault

    A const Default trait

    v1.0.1 #traits #macro-derive #context #const #evaluation
  70. cliff

    Find the load at which a benchmark falls over

    v0.3.2 #binary-search #benchmark #const #array #vector-array
  71. const_guards

    An attribute macro for compile time constraints on const generics

    v0.1.3 #const-generics #generics #const
  72. const-currying

    A procedural macro for speeding up your function using currying

    v0.0.5 6.5K #proc-macro #currying #const #const-generics #speeding #improve-performance #help-improve #caller
  73. atomic_cell

    Lock-free thread-safe mutable memory locations

    v0.2.0 #lock-free #memory-location #atomic-storage #thread-safe #const #caller #shared-data #repr #data-store
  74. const_num_bigint

    const bigint

    v0.2.1 5.6K #const #bignum #big-uint
  75. timelane

    Convert between nanoseconds, seconds, days, years... in const.

    v0.1.1 #seconds #date-time #const #date #time
  76. cartesian_array_product

    Arrays of the cartesian product of a set of items

    v1.1.1 #cartesian #macro #const #array
  77. const_fixedp

    A const type for fixed point arithmetic

    v0.1.1 #math #fixed-point #numeric #const
  78. const-dispatch

    Static dispatch of small runtime enums into the const/type reälm, to reduce runtime branching

    v0.1.0 #const #fast #static-dispatch #monomorphization #static
  79. const-exhaustive

    Enumerate all values of a type at compile time

    v0.1.1 #compile-time #const #exhaustive
  80. symbolism

    Unique symbols made from human readable tags

    v0.1.0 #symbols #string #const #no-alloc #symbol
  81. include-repo

    implements the 'include_repo!' macro for easy AGPL compliance! Include a tarball as a const in your code!

    v1.0.0 #tarball #macro #repo #const #agpl #git
  82. enum_const

    enum const trait

    v0.1.1 700 #enums #const #traits #debugging #partial-eq
  83. matdesign-color

    Material Design Color Palettes for Rust

    v0.1.2 #color-palette #material-design #const #palette #color #graphics
  84. lazy_id

    A thread-safe lazily-initialized ID

    v0.1.0 #lazy-evaluation #counter #static #id #const
  85. const-sub-array

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

    v0.1.0 #const #slice #split #subslice #array
  86. constvec

    no heap vec in const expr

    v0.1.14 600 #expr #vec #const #heap
  87. stack-stack

    stack-allocated stack

    v0.1.0 #vec #stack #static #array #const #stack-vec
  88. const_env_impl--value

    Configure const and static items by environment variables

    v0.1.2 260 #env-vars #const #static #item #constant #compile-time #today #const-fn
  89. zombiezen-const-cstr

    Create static C-compatible strings from Rust string literals

    v1.0.0 #string-literal #c-compatible #literals #const
  90. auto-const-array

    Define a const array without specify length

    v0.2.2 41K #array #auto #const
  91. enumeraties

    Static properties on enum variants

    v0.1.0 #enums #lazy-evaluation #const #macro #static
  92. pure_cell

    Alternative to GhostCell that provides safe interior mutability via const expressions

    v0.2.0 #interior-mutability #mutability #pure #const #cell
  93. sha3-const

    const fn implementation of the SHA-3 family of hash and extendable-output functions

    v0.1.1 #sha-3 #keccak #const
  94. const_std_vec

    const std vec

    v0.2.0 5.6K #std-vec #const #const-vec
  95. const_json

    way to embed and access const JSON in Rust code

    v0.1.0 #json #embed #access #const #macro-rules #declaration
  96. const-serialize-macro

    A macro to derive const serialize

    v0.7.2 47K #dioxus #react #const #serialization
  97. array_builder

    example for the ArrayBuilder RFC

    v0.1.4 #rfc #github #impl #const #builder #maybe-uninit
  98. const_type

    define enum-like const-types, but with aliases for variants

    v0.1.3 #variant #alias #const #define #enum-like
  99. blk_count_macro

    macro for counting a number of comma-separated tokens at compile time

    v0.1.1 #macro #blk-count #const
  100. proc_strarray

    Create const u8 array from str or byte str literal

    v1.7.0 600 #proc-macro #const #string
  101. constuneval

    serializer to embed structs/tables as const Rust code using Debug trait

    v0.1.0 #debugging #serialization #traits #const #table #concat #out-dir
  102. wstr-literal_impl

    Proc macros for building UTF-16 null-terminated arrays at compile time

    v0.1.1 #utf-16 #static #const #wchar
  103. static_locks

    The parking_lot locks but usable in statics and const fn

    v0.1.0 #rw-lock #const #static #mutex #reentrant #reentrant-mutex
  104. const-str-proc-macro

    compile-time string operations

    v0.7.1 156K #proc-macro #string #const
  105. static_format

    Format strings with no runtime overhead

    v0.0.3 #const-format #const #no-std #format
  106. macro_const

    A macro for creating corresponding macro definitions for constants which evaluate to the same values

    v0.1.0 750 #constant #macro #const
  107. actix-web-codegen-const-routes

    Routing and runtime macros for Actix Web with support for const routes

    v0.2.0 #actix-web #routing #const #run-time #macro #macro-for-actix-web
  108. instance_code

    Turn instances into source code

    v0.1.4 230 #const #static-deserialize #proc
  109. amap

    define [Option<T>; N] easily

    v0.1.4 #define #array #const #32 #initialization
  110. crange

    types and functions to access a constant number of elements from a slice

    v0.1.0 #constant #range #const
  111. scs-sdk-rs

    Bindings for SCS Software SDK

    v0.2.2 #sdk-bindings #scs #proc-macro #parameters #const #no-mangle
  112. const-utils

    functions for doing simple things in a const function

    v0.1.1 850 #const #cond
  113. const_strcmp

    String compare as a const function

    v0.1.0 #compare #const #strcmp