crates.io "const" keyword
const_struct 0.6.2
macro that allows const structures to be passed as const generics16 versions - Latest release: 7 months ago - 13.6 thousand downloads total - 1 stars on GitHub - 1 maintainer
vec-const removed
I consent to the transfer of this crate/name to the first person who asks help@crates.io for it.10 versions - Latest release: about 1 year ago - 8.18 thousand downloads total - 1 maintainer
unconst_trait_impl 0.1.5
Function-like macro that "unconsts" trait implementations6 versions - Latest release: over 3 years ago - 2 dependent packages - 9.37 thousand downloads total - 0 stars on GitHub - 1 maintainer
constgebra 0.1.4
Const Linear Algebra5 versions - Latest release: almost 2 years ago - 1 dependent package - 78 dependent repositories - 3.62 million downloads total - 8 stars on GitHub - 1 maintainer
qed 1.6.1
Compile-time assertions10 versions - Latest release: almost 3 years ago - 1 dependent repositories - 67.6 thousand downloads total - 5 stars on GitHub - 1 maintainer
small_type_id 0.1.1
Crate for generation constant 32 bit nonzero unique identifiers for types.4 versions - Latest release: 7 months ago - 1.7 thousand downloads total - 5 stars on GitHub - 1 maintainer
const-str-proc-macro 1.1.0 💰
compile-time string operations26 versions - Latest release: about 1 month ago - 1 dependent package - 179 dependent repositories - 2.46 million downloads total - 117 stars on GitHub - 1 maintainer
Top 7.7% on crates.io
31 versions - Latest release: about 1 month ago - 56 dependent packages - 565 dependent repositories - 13.3 million downloads total - 117 stars on GitHub - 1 maintainer
const-str 1.1.0 💰
compile-time string operations31 versions - Latest release: about 1 month ago - 56 dependent packages - 565 dependent repositories - 13.3 million downloads total - 117 stars on GitHub - 1 maintainer
const-exhaustive 0.1.1
Enumerate all values of a type at compile time2 versions - Latest release: over 1 year ago - 1.81 thousand downloads total - 1 stars on GitHub - 1 maintainer
enum-assoc 1.3.0
Procedural macro to associate constants with enum variants.26 versions - Latest release: 2 months ago - 5 dependent packages - 1 dependent repositories - 1.25 million downloads total - 27 stars on GitHub - 1 maintainer
fastnum 0.7.4
Fast decimal numbers library57 versions - Latest release: 3 months ago - 426 thousand downloads total - 237 stars on GitHub - 1 maintainer
const_power_of_two 1.0.0
A crate for working with constant generics that are powers of two.3 versions - Latest release: over 1 year ago - 3.91 thousand downloads total - 1 stars on GitHub - 1 maintainer
keccak-const 0.2.0
const fn implementation of the SHA-3 family of hash and extendable-output functions1 version - Latest release: over 2 years ago - 2 dependent packages - 17 dependent repositories - 1.13 million downloads total - 6 stars on GitHub - 1 maintainer
tuple_split 0.2.4
An extension for the tupleops crate which adds a trait for splitting tuples.7 versions - Latest release: about 1 year ago - 1 dependent package - 7.13 thousand downloads total - 0 stars on GitHub - 1 maintainer
cinter 0.1.0
const usable bigints1 version - Latest release: 5 days ago - 0 downloads total - 1 maintainer
optionally_const_macros 0.8.0
Proc-macro crate for optionally_const.9 versions - Latest release: 11 months ago - 5.28 thousand downloads total - 0 stars on GitHub - 1 maintainer
const-units 0.1.3
A library that lets you check the dimensions of your quantities at compile time and run time4 versions - Latest release: about 2 years ago - 5.19 thousand downloads total - 2 stars on gitlab.com - 1 maintainer
const_guards_attribute 0.1.3
An attribute macro for compile time constraints on const generics4 versions - Latest release: over 3 years ago - 1 dependent package - 7.42 thousand downloads total - 13 stars on GitHub - 1 maintainer
subslice-to-array 0.1.2
Extract fixed-range subslices as arrays, with compile-time checks3 versions - Latest release: 10 months ago - 1.59 thousand downloads total - 0 stars on GitHub - 1 maintainer
const-siphasher 1.0.2
SipHash-2-4, SipHash-1-3 and 128-bit variants in pure Rust2 versions - Latest release: about 1 year ago - 4.63 thousand downloads total - 0 stars on GitHub - 1 maintainer
const-if 0.1.3
This crate adds if-else expression into your constant functions4 versions - Latest release: over 6 years ago - 6.18 thousand downloads total - 2 stars on GitHub - 1 maintainer
lazy_id 0.1.0
A thread-safe lazily-initialized ID1 version - Latest release: over 5 years ago - 4.44 thousand downloads total - 0 stars on GitHub - 1 maintainer
const-identify 0.1.1
Generates unique ids that can be used at compile time.2 versions - Latest release: over 2 years ago - 2.94 thousand downloads total - 0 stars on GitHub - 1 maintainer
wstr-literal 0.1.1
Proc macros for building UTF-16 null-terminated arrays at compile time.2 versions - Latest release: 7 months ago - 697 downloads total - 0 stars on GitHub - 1 maintainer
const-map-array 0.1.0
Map arrays in a const context.1 version - Latest release: 5 months ago - 278 downloads total - 0 stars on GitHub - 1 maintainer
trait_eval 0.1.3 💰
We all know Rust's trait system is Turing complete, so tell me, why aren't we exploiting this???4 versions - Latest release: almost 6 years ago - 1 dependent package - 1 dependent repositories - 6.99 thousand downloads total - 372 stars on GitHub - 1 maintainer
small_type_id_proc_macro 0.1.0
Crate for generation constant 32 bit nonzero unique identifiers for types.3 versions - Latest release: 8 months ago - 1.53 thousand downloads total - 5 stars on GitHub - 1 maintainer
url-static 0.1.4
Simple macro for compile-time URL validation5 versions - Latest release: 8 days ago - 44 downloads total - 1 maintainer
const-crc32-nostd 1.3.1
A `const fn` implementation of crc32 checksum algorithm1 version - Latest release: about 2 years ago - 313 thousand downloads total - 1 maintainer
const-destructure 0.1.3
Destructuring in const contexts on stable Rust.4 versions - Latest release: 5 months ago - 1.26 thousand downloads total - 0 stars on GitHub - 1 maintainer
weight_matchers 0.6.0
Efficiently find items by matching weight. You can build the lookup structure at compile time.7 versions - Latest release: 10 months ago - 4.43 thousand downloads total - 1 maintainer
const-pkg-version 0.1.1 💰
constant expressions for your package version (no-std/no-alloc compatible)2 versions - Latest release: 10 months ago - 2.4 thousand downloads total - 0 stars on GitHub - 1 maintainer
cartesian_array_product 1.1.1
Arrays of the cartesian product of a set of items.4 versions - Latest release: over 2 years ago - 1 dependent package - 5.76 thousand downloads total - 0 stars on GitHub - 1 maintainer
static_format 0.0.3
Format strings with no runtime overhead.3 versions - Latest release: about 2 years ago - 3.98 thousand downloads total - 1 stars on GitHub - 1 maintainer
const_hashmap_macros 0.1.0
Procedural macros for const_hashmap (const_hashmap! and derives)1 version - Latest release: 10 months ago - 859 downloads total - 0 stars on GitHub - 1 maintainer
thisenum-impl 0.2.2
General implementation of `thisenum`.4 versions - Latest release: about 1 year ago - 4.83 thousand downloads total - 1 stars on GitHub - 1 maintainer
const-util 2.2.0
Stable implementations for some missing const functions5 versions - Latest release: 9 months ago - 2.25 thousand downloads total - 1 stars on GitHub - 1 maintainer
stack-stack 0.1.0
A simple crate for a stack-allocated stack1 version - Latest release: about 3 years ago - 1.74 thousand downloads total - 1 stars on GitHub - 1 maintainer
const-exhaustive-derive 0.1.1
Derive macro for `const-exhaustive`2 versions - Latest release: over 1 year ago - 1.98 thousand downloads total - 1 stars on GitHub - 1 maintainer
const-tools 0.1.1
Utilities to help write safe const fns such as destructuring and array operations.2 versions - Latest release: 4 months ago - 292 downloads total - 0 stars on GitHub - 1 maintainer
table_enum 0.3.0
A convenient rust macro to create enums with associated constant data (note: this is different fr...5 versions - Latest release: over 1 year ago - 7.98 thousand downloads total - 1 stars on GitHub - 1 maintainer
arrav 0.2.0 💰
Sentinel-based heapless vector6 versions - Latest release: almost 6 years ago - 9.37 thousand downloads total - 69 stars on GitHub - 1 maintainer
constify 0.0.1
A procedural macro for basic static specialization.1 version - Latest release: about 2 months ago - 147 downloads total - 1 maintainer
compile-fmt 0.1.0
Compile-time formatting and derived functionality (e.g., panics / assertions)1 version - Latest release: about 2 years ago - 706 thousand downloads total - 1 stars on GitHub - 1 maintainer
dtmf_table 1.1.2
A zero-heap, no_std, const-first DTMF keypad frequency table with runtime tolerance helpers. Also...4 versions - Latest release: about 1 month ago - 54 downloads total - 1 maintainer
sort-const 1.0.1
Sort arrays and slices in const contexts.2 versions - Latest release: about 1 year ago - 10.6 thousand downloads total - 3 stars on GitHub - 1 maintainer
typus_fugit 0.1.3
`typenum` powered time library for the embedded ecosystem.4 versions - Latest release: about 1 year ago - 3.2 thousand downloads total - 0 stars on GitHub - 1 maintainer
macro_const 0.1.0
A macro for creating corresponding macro definitions for constants which evaluate to the same val...1 version - Latest release: over 5 years ago - 1 dependent package - 4 dependent repositories - 61.9 thousand downloads total - 0 stars on GitHub - 1 maintainer
constcat 0.6.1
concat! with support for const variables and expressions11 versions - Latest release: 10 months ago - 8 dependent packages - 10 dependent repositories - 8.56 million downloads total - 42 stars on GitHub - 1 maintainer
integral_constant 0.1.0
Type-level wrappers around constant values1 version - Latest release: over 2 years ago - 1 dependent package - 102 thousand downloads total - 0 stars on GitHub - 1 maintainer
const-vec 1.1.1
Vec-like data structure with immutable push method.5 versions - Latest release: almost 3 years ago - 7.58 thousand downloads total - 2 stars on GitHub - 1 maintainer
instance_code_derive 0.1.1
Derive macro for instance_code2 versions - Latest release: over 1 year ago - 4.14 thousand downloads total - 1 stars on GitHub - 1 maintainer
Top 6.6% on crates.io
4 versions - Latest release: about 2 years ago - 14 dependent packages - 332 dependent repositories - 9.37 million downloads total - 87 stars on GitHub - 1 maintainer
const-sha1 0.3.0
A sha1 implementation for use in const contexts4 versions - Latest release: about 2 years ago - 14 dependent packages - 332 dependent repositories - 9.37 million downloads total - 87 stars on GitHub - 1 maintainer
varing 0.10.0 💰
Protobuf's varint encoding/decoding for LEB128 friendly types with full const context operations ...12 versions - Latest release: 7 months ago - 12.9 thousand downloads total - 3 stars on GitHub - 1 maintainer
const-type-layout 0.3.2
Derivable const trait to view and compare the layout of a struct, union, or enum.6 versions - Latest release: over 1 year ago - 9.59 thousand downloads total - 3 stars on GitHub - 1 maintainer
unroll-lite 0.1.0
Unroll loops in const contexts, declarative macro version.1 version - Latest release: 3 months ago - 590 downloads total - 1 maintainer
enum_const_value 0.4.3
Providing const values for enums. Unit and enums with associated types are supported. Each varian...7 versions - Latest release: over 2 years ago - 15.7 thousand downloads total - 2 stars on GitHub - 1 maintainer
const-serialize-macro 0.7.2 💰
A macro to derive const serialize17 versions - Latest release: 3 months ago - 546 thousand downloads total - 32,198 stars on GitHub - 1 maintainer
polymorphic-constant 0.2.0
A macro to define a numerical constant in multiple types at once8 versions - Latest release: almost 5 years ago - 9.95 thousand downloads total - 5 stars on GitHub - 1 maintainer
serde-constant 0.1.0
Const values for serde1 version - Latest release: over 2 years ago - 26.4 thousand downloads total - 0 stars on GitHub - 1 maintainer
typewit 1.14.2
type-witness-based abstractions, mostly for emulating polymorphism in const fns21 versions - Latest release: 6 months ago - 6 dependent packages - 2 dependent repositories - 8.59 million downloads total - 11 stars on GitHub - 1 maintainer
lhash 1.1.0 💰
Minimal hashing library6 versions - Latest release: about 2 years ago - 3 dependent packages - 1 dependent repositories - 131 thousand downloads total - 2 stars on GitHub - 1 maintainer
const-serialize 0.7.2 💰
A serialization framework that works in const contexts17 versions - Latest release: 3 months ago - 542 thousand downloads total - 31,318 stars on GitHub - 1 maintainer
index-fixed 0.3.1 💰
convert slices into arrays using indexes ([T] -> [T;N])7 versions - Latest release: over 5 years ago - 4 dependent packages - 59 dependent repositories - 294 thousand downloads total - 0 stars on GitHub - 1 maintainer
proc_strarray 1.7.0
Create const u8 array from str or byte str literal11 versions - Latest release: 9 months ago - 8.61 thousand downloads total - 0 stars on gitlab.com - 1 maintainer
const-macros 0.3.1 💰
Various macros for const contexts.5 versions - Latest release: 10 months ago - 6.85 thousand downloads total - 1 stars on GitHub - 1 maintainer
constantine 0.0.0 💰
[WIP] Constant evaluation magic1 version - Latest release: about 6 years ago - 1.7 thousand downloads total - 0 stars on GitHub - 1 maintainer
machine-prime 1.5.6
ne plus ultra primality testing for machine-sized integers16 versions - Latest release: about 2 months ago - 1 dependent package - 25.7 thousand downloads total - 5 stars on GitHub - 1 maintainer
analog_literals 1.0.0
Multi-Dimensional Analog Literals in Rust1 version - Latest release: almost 5 years ago - 1.97 thousand downloads total - 15 stars on GitHub - 1 maintainer
compile_time_sort 1.2.2
Sort arrays and slices of primitives in const contexts.31 versions - Latest release: about 1 month ago - 19.5 thousand downloads total - 3 stars on GitHub - 1 maintainer
Top 7.9% on crates.io
96 versions - Latest release: over 3 years ago - 9 dependent packages - 11 dependent repositories - 237 thousand downloads total - 266 stars on GitHub - 1 maintainer
staticvec 0.11.9
Implements a fixed-capacity stack-allocated Vec alternative backed by an array, using const gener...96 versions - Latest release: over 3 years ago - 9 dependent packages - 11 dependent repositories - 237 thousand downloads total - 266 stars on GitHub - 1 maintainer
generic-upper-bound 3.1.1
Stable workaround for internal uses of generic-const-exprs10 versions - Latest release: 9 months ago - 4.34 thousand downloads total - 3 stars on GitHub - 1 maintainer
guilt-by-association 0.5.0
Macro for declaring/implementing traits with fake associated consts (in stable Rust)9 versions - Latest release: almost 8 years ago - 1 dependent repositories - 37.8 thousand downloads total - 0 stars on GitHub - 1 maintainer
bitarray 0.10.0
A const generics driven bit array specialized for hamming distance23 versions - Latest release: over 4 years ago - 7 dependent packages - 14 dependent repositories - 66 thousand downloads total - 12 stars on GitHub - 1 maintainer
newtype_array 0.1.6
A macro to help implementing the standard derived traits on newtype arrays7 versions - Latest release: over 7 years ago - 2 dependent packages - 13.1 thousand downloads total - 0 stars on GitHub - 1 maintainer
const-gen-derive 1.1.7
A derive macro for the const-gen crate.16 versions - Latest release: 20 days ago - 1 dependent package - 4 dependent repositories - 249 thousand downloads total - 1 stars on GitHub - 1 maintainer
const-gen 1.6.9
A crate for generating (relatively) complex compile-time constants in rust.45 versions - Latest release: 20 days ago - 3 dependent packages - 3 dependent repositories - 286 thousand downloads total - 32 stars on GitHub - 1 maintainer
type_eval 0.0.1-alpha
Type level evaluation and proof-carrying1 version - Latest release: about 1 year ago - 864 downloads total - 1 stars on GitHub - 1 maintainer
const-secret 0.1.0
A `no_std` crate for compile-time encrypted secrets.1 version - Latest release: 21 days ago - 0 downloads total - 1 maintainer
Top 5.5% on crates.io
10 versions - Latest release: over 1 year ago - 30 dependent packages - 17 dependent repositories - 209 thousand downloads total - 1,639 stars on GitHub - 2 maintainers
databake 0.2.0 💰
Trait that lets structs represent themselves as (const) Rust expressions10 versions - Latest release: over 1 year ago - 30 dependent packages - 17 dependent repositories - 209 thousand downloads total - 1,639 stars on GitHub - 2 maintainers
pkg-version 1.0.0
Macros expanding to the package version4 versions - Latest release: over 6 years ago - 17 dependent packages - 23 dependent repositories - 307 thousand downloads total - 8 stars on GitHub - 1 maintainer
const_fn_assert 0.1.3+deprecated
Assertions for const functions.5 versions - Latest release: almost 3 years ago - 8 dependent packages - 98 dependent repositories - 457 thousand downloads total - 3 stars on GitHub - 1 maintainer
const_soft_float 0.1.4
Const Soft Float Point5 versions - Latest release: over 2 years ago - 4 dependent packages - 108 dependent repositories - 3.01 million downloads total - 26 stars on GitHub - 2 maintainers
build_const 0.2.2
library for creating importable constants from build.rs or a script5 versions - Latest release: almost 5 years ago - 3 dependent packages - 3,511 dependent repositories - 17.4 million downloads total - 3 stars on GitHub - 1 maintainer
crabbake 💰
Trait that lets structs represent themselves as (const) Rust expressions2 versions - Latest release: 2 months ago - 3 dependent packages - 2 dependent repositories - 4.03 thousand downloads total - 1,639 stars on GitHub - 1 maintainer
const-utf16 0.2.1
Utf8 to utf16 conversion functions for use in const contexts5 versions - Latest release: almost 5 years ago - 3 dependent packages - 1 dependent repositories - 10.8 thousand downloads total - 15 stars on GitHub - 1 maintainer
const-tweaker 0.3.1
Tweak constant variables live from a web GUI11 versions - Latest release: almost 6 years ago - 2 dependent packages - 5 dependent repositories - 22.5 thousand downloads total - 76 stars on GitHub - 1 maintainer
const_for 0.1.5
For loop in const implemented with a macro.6 versions - Latest release: over 1 year ago - 2 dependent packages - 1 dependent repositories - 363 thousand downloads total - 8 stars on GitHub - 1 maintainer
devault 0.2.0
A more flexible alternative to deriving Default.2 versions - Latest release: over 2 years ago - 2 dependent packages - 1 dependent repositories - 103 thousand downloads total - 8 stars on GitHub - 1 maintainer
const_trait_impl 0.1.3
Moved to unconst_trait_impl due to collision between manually added dependency and implicit assoc...4 versions - Latest release: about 4 years ago - 1 dependent package - 5.37 thousand downloads total - 0 stars on GitHub - 1 maintainer
const_guards 0.1.3
An attribute macro for compile time constraints on const generics3 versions - Latest release: over 3 years ago - 1 dependent package - 5.45 thousand downloads total - 13 stars on GitHub - 1 maintainer
auto-const-array 0.2.2 💰
Define a const array without specify length.5 versions - Latest release: 11 months ago - 1 dependent package - 4 dependent repositories - 352 thousand downloads total - 10 stars on GitHub - 1 maintainer
const-crc32 1.3.0
A `const fn` implementation of crc32 checksum algorithm6 versions - Latest release: over 2 years ago - 1 dependent package - 3 dependent repositories - 138 thousand downloads total - 1 maintainer
optargs 0.1.2
Easily create macros for functions with optional arguments3 versions - Latest release: almost 5 years ago - 1 dependent package - 28.3 thousand downloads total - 1 maintainer
fugit-timer 0.1.3
A Count Down Timer abstaction that uses fugit time primitives4 versions - Latest release: about 4 years ago - 11 dependent packages - 102 dependent repositories - 612 thousand downloads total - 0 stars on GitHub - 1 maintainer
const_closure
Helpers for creating const callable closures.8 versions - Latest release: 22 days ago - 1 dependent package - 1 dependent repositories - 10.3 thousand downloads total - 0 stars on GitHub - 2 maintainers
sha3-const 0.1.1
const fn implementation of the SHA-3 family of hash and extendable-output functions2 versions - Latest release: over 3 years ago - 1 dependent package - 1 dependent repositories - 31.8 thousand downloads total - 4 stars on GitHub - 1 maintainer
nz 0.4.1
Collection of 100% safe macros for creating non-zero integers more easily.20 versions - Latest release: over 1 year ago - 1 dependent package - 26.8 thousand downloads total - 1 stars on GitHub - 1 maintainer
derived 0.4.2 💰
Derive macros for automating the boring stuff9 versions - Latest release: over 4 years ago - 1 dependent package - 12.5 thousand downloads total - 13 stars on GitHub - 1 maintainer
const-tweaker-attribute 0.5.0
Tweak constant variables live from a web GUI7 versions - Latest release: almost 6 years ago - 1 dependent package - 5 dependent repositories - 17.5 thousand downloads total - 76 stars on GitHub - 1 maintainer
Related Keywords
rust
35
macro
24
no_std
21
array
20
compile-time
16
static
15
no-std
13
generics
11
constant
10
enum
9
proc-macro
8
const-generics
6
literals
6
crypto
5
constants
5
string
5
hash
5
rust-crate
5
vector
5
proc
5
slice
4
internationalization
4
localization
4
sorting
4
macros
4
sort
4
build
4
traits
4
derive
4
type
4
time
4
trait
4
vec
4
nightly
4
numeric
4
crate
3
instant
3
generic
3
serialization
3
zerocopy
3
cldr
3
format
3
icu
3
map
3
crates
3
hashmap
3
const-evaluation
3
rust-lang
3
fixed-point
3
rust-library
3
init
3
int
3
math
3
unicode
3
optional
3
function
3
tuple
3
literal
3
soft
2
nonzero
2
html
2
desktop
2
initialize
2
css
2
android
2
float
2
serialize
2
value
2
concat
2
layout
2
asn1
2
sha1
2
static-deserialize
2
trig
2
types
2
pointer
2
duration
2
float-point
2
embedded
2
overloading
2
encryption
2
integer
2
gamedev
2
gui
2
runtime-config
2
web-gui
2
syntactic-sugar
2
bit
2
joke
2
number-theory
2
fixed
2
web
2
wasm
2
virtualdom
2
ui
2
ssr
2
react
2
native
2
ios
2
parsing
2