-
bitflags
A macro to generate structures which behave like bitflags
-
thiserror
derive(Error)
-
itertools
Extra iterator adaptors, iterator methods, free functions, and macros
-
anyhow
Flexible concrete Error type built on std::error::Error
-
derive_more
Adds #[derive(x)] macros for more traits
-
predicates
boolean-valued predicate functions
-
once_cell
Single assignment cells and lazy values
-
derive_builder
Rust macro to automatically implement the builder pattern for arbitrary structs
-
num
A collection of numeric types and traits for Rust, including bigint, complex, rational, range iterators, generic integers, and more!
-
lazy_static
A macro for declaring lazily evaluated statics in Rust
-
ordered-float
Wrappers for total ordering on floats
-
miette
Fancy diagnostic reporting library and protocol for us mere mortals who aren't compiler hackers
-
async-stream
Asynchronous streams using async & await notation
-
num_enum
Procedural macros to make inter-operation between primitives and enums easier
-
validator
Common validation functions (email, url, length, …) and trait - to be used with
validator_derive
-
bytes
Types and traits for working with bytes
-
darling
A proc-macro library for reading attributes into structs when implementing custom derives
-
eyre
Flexible concrete Error Reporting type built on std::error::Error with customizable Reports
-
downcast-rs
Trait object downcasting support using only safe Rust. It supports type parameters, associated types, and type constraints.
-
human-panic
Panic messages for humans
-
typed-builder
Compile-time type-checked builder derive
-
rustlings
Small exercises to get you used to reading and writing Rust code!
-
dyn-clone
Clone trait that is object-safe
-
similar-asserts
assert_eq! like macros with colorized diff output
-
approx
Approximate floating point equality comparisons and assertions
-
frunk
developers with a number of functional programming tools like HList, Coproduct, Generic, LabelledGeneric, Validated, Monoid, Semigroup and friends
-
pin-project-lite
A lightweight version of pin-project written with declarative macros
-
bon
Next-gen compile-time-checked builder generator, named function's arguments, and more!
-
enum-iterator
Tools to iterate over all values of a type (e.g. all variants of an enumeration)
-
static_assertions
Compile-time assertions to ensure that invariants are met
-
memoffset
offset_of functionality for Rust structs
-
scopeguard
RAII scope guard that will run a given closure when it goes out of scope, even if the code between panics (assuming unwinding panic). Defines the macros
defer!
, `defer_on_unwind… -
self_cell
Safe-to-use proc-macro-free self-referential structs in stable Rust
-
snafu
An ergonomic error handling library
-
smol_str
small-string optimized string type with O(1) clone
-
compiler_builtins
Compiler intrinsics used by the Rust compiler. Also available for other targets if necessary!
-
macro_rules_attribute
Use declarative macros in attribute or derive position
-
ouroboros
Easy, safe self-referential struct generation
-
cfg-if
A macro to ergonomically define an item depending on a large number of #[cfg] parameters. Structured like an if-else chain, the first matching branch is the item that gets emitted.
-
pin-project
safe and ergonomic pin-projection
-
bitfield
macros to generate bitfield-like struct
-
typenum
type-level numbers evaluated at compile time. It currently supports bits, unsigned integers, and signed integers. It also provides a type-level array of type-level numbers, but its…
-
float-cmp
Floating point approximate comparison traits
-
arrayref
Macros to take array references of slices
-
backon
Make retry like a built-in feature provided by Rust
-
more-asserts
Small library providing additional assert_* and debug_assert_* macros
-
beef
More compact Cow
-
nonempty
Correct by construction non-empty vector
-
extendr-api
Safe and user friendly bindings to the R programming language
-
error-stack
A context-aware error-handling library that supports arbitrary attached user data
-
tap
Generic extensions for tapping values in Rust
-
inventory
Typed distributed plugin registration
-
new_debug_unreachable
panic in debug, intrinsics::unreachable() in release (fork of debug_unreachable)
-
amplify
Amplifying Rust language capabilities: multiple generic trait implementations, type wrappers, derive macros
-
cmd_lib
Common rust commandline macros and utils, to write shell script like tasks easily
-
az
Casts and checked casts
-
if_chain
Macro for writing nested
if let
expressions -
castaway
Safe, zero-cost downcasting for limited compile-time specialization
-
cfg_aliases
A tiny utility to help save you a lot of effort with long winded
#[cfg()]
checks -
enum-ordinalize
enables enums to not only obtain the ordinal values of their variants but also allows for the construction of enums from an ordinal value
-
trie-db
Merkle-Patricia Trie generic over key hasher and node encoding
-
orchestra
Generate an orchestra of subsystems from a single struct
-
rustdoc-types
Types for rustdoc's json output
-
assertables
assert macros for better testing, debugging, quality assurance, and runtime reliability
-
nutype
The newtype with guarantees
-
safer-ffi
Write safer FFI code in Rust without polluting it with unsafe code
-
pact_consumer
Pact-Rust module that provides support for writing consumer pact tests
-
scoped-tls
standard library’s old
scoped_thread_local!
macro for providing scoped access to thread local storage (TLS) so any type can be stored into TLS -
flagset
Data types and a macro for generating enumeration-based bit flags
-
inlinable_string
inlinable_string
crate provides theInlinableString
type – an owned, grow-able UTF-8 string that stores small strings inline and avoids heap-allocation – and theStringExt
trait… -
polonius-the-crab
Tools to feature more lenient Polonius-based borrow-checker patterns in stable Rust
-
index_vec
Newtype-style helpers for
Vec
andusize
-
static_init
Safe mutable static and non const static initialization, and code execution at program startup/exit
-
replace_with
Temporarily take ownership of a value at a mutable location, and replace it with a new value based on the old one
-
opaque-debug
Macro for opaque Debug trait implementation
-
abi_stable
For doing Rust-to-Rust ffi,writing libraries loaded at program startup
-
sptr
Strict Provenance Polyfill
-
dlib
Helper macros for handling manually loading optional system libraries
-
constcat
concat! with support for const variables and expressions
-
konst
Const equivalents of std functions, compile-time comparison, and parsing
-
stdext
Extensions for the Rust standard library structures
-
async-once-cell
Async single assignment cells and lazy values
-
float-ord
A total ordering for floating-point numbers
-
unwinding
in Rust and for Rust
-
derive-where
Deriving with custom trait bounds
-
extism-pdk
Extism Plug-in Development Kit (PDK) for Rust
-
auto_impl
Automatically implement traits for common smart pointers and closures
-
parse-display
Procedural macro to implement Display and FromStr using common settings
-
volatile
wrapper types for raw pointers
-
ref-cast
Safely cast &T to &U where the struct U contains a single field of type T
-
async-trait
Type erasure for async trait methods
-
fallible-iterator
Fallible iterator traits
-
fixedstr
strings of constant maximum size that can be copied and stack allocated using const generics
-
byte-slice-cast
Safely cast bytes slices from/to slices of built-in fundamental numeric types
-
buffered-reader
A super-powered Reader
-
color-eyre
An error report handler for panics and eyre::Reports for colorful, consistent, and well formatted error reports for all kinds of errors
-
by_address
Wrapper for comparing and hashing pointers by address
-
thiserror-no-std
derive(Error)
-
aws-smithy-types-convert
Conversion of types from aws-smithy-types to other libraries
-
testresult
type for concise and precise test failures
-
lazy_format
lazily formatting values for later
-
writeable
A more efficient alternative to fmt::Display
-
recursion
cache-aware stack safe recursion
-
tuples
many useful tools related to tuples
-
bounded-integer
Bounded integers
-
educe
offers procedural macros designed to facilitate the swift implementation of Rust's built-in traits
-
iter-read
A Read implementation for iterators over u8 and related types
-
field-offset
Safe pointer-to-member implementation
-
retry
retrying operations that can fail
-
virtue
A sinless derive macro helper
-
rustler
Safe Rust wrappers for creating Erlang NIF functions
-
cascade
Dart-like cascade macro for Rust
-
tynm
Returns type names in shorter form
-
terrors
ergonomic and precise error handling built atop type-level set arithmetic
-
maplit
Collection “literal” macros for HashMap, HashSet, BTreeMap, and BTreeSet
-
fallible_collections
adds fallible allocation api to std collections
-
bounded-collections
Bounded types and their supporting traits
-
internal-iterator
Internal iteration equivalent of
std::iter::Iterator
-
fatality
extension to
thiserror::Error
-
inout
Custom reference types for code generic over in-place and buffer-to-buffer modes of operation
-
fix-hidden-lifetime-bug
Proc-macro to write an automatic fix for the "hidden lifetime in impl Trait" issue
-
iri-string
IRI as string types
-
error-code
Error code
-
scoped-tls-hkt
more flexible version of
scoped-tls
, allowing the following additional features: Storage of references to dynamically sized types. Storage of mutable references. Storage of… -
const-gen
generating (relatively) complex compile-time constants in rust
-
indoc
Indented document literals
-
retour
A cross-platform detour library written in Rust
-
chalk-ir
Chalk's internal representation of types, goals, and clauses
-
tryhard
Easily retry futures
-
log-once
Collection of helper macros for logging some events only once
-
psm
Portable Stack Manipulation: stack manipulation and introspection routines
-
pyo3-polars
Expression plugins and PyO3 types for polars
-
flex-error
Flexible error definitions using macros and traits
-
maybe-owned
MaybeOwned
(andMaybeOwnedMut
) type similar to std’sCow
but it implementsFrom<T>
andFrom<&'a T>
and does not requireToOwned
-
pinned-init
facilitate safe pinned initialization
-
bounded-static
Defines the ToBoundedStatic and IntoBoundedStatic traits
-
safe-transmute
A safeguarded transmute() for Rust
-
st-map
Runtime for a stack-alocated map
-
typewit
type-witness-based abstractions, mostly for emulating polymorphism in const fns
-
fragile
wrapper types for sending non-send values to other threads
-
shaku
Compile Time Dependency Injection for Rust
-
safelog
Conditionally suppress confidential information from logs
-
tuplex
Rust tuple extension
-
mirai-annotations
Macros that provide source code annotations for MIRAI
-
elain
Set a type's minimum alignment with const generics
-
send_wrapper
implements a wrapper type called SendWrapper which allows you to move around non-Send types between threads, as long as you access the contained value only from within the original thread…
-
autosurgeon
working with data in automerge documents
-
lender
A lending-iterator trait based on higher-rank trait bounds, with full std::iter::Iterator functionality
-
nshare
Conversion between n-dimensional types in different Rust crates
-
decorum
Total ordering, equivalence, hashing, and constraints for floating-point types
-
implicit-clone
Immutable types and ImplicitClone trait similar to Copy
-
rust-fsm
A framework and a DSL for building finite state machines in Rust
-
rustrict
profanity filter for Rust
-
moveit
safe, in-place construction of Rust (and C++!) objects
-
lazycell
providing a lazily filled Cell struct
-
derivative
A set of alternative
derive
attributes for Rust -
arr_macro
Initialize arrays with ease!
-
strck
Checked owned and borrowed strings
-
shopify_function
write Shopify Functions in Rust
-
refined_type
imbuing rules into types and elevating them to more robust types
-
k8-client
Core Kubernetes metadata traits
-
socketpair
Cross-platform socketpair functionality
-
rdftk_names
set of modules that contain the
IRI
s andQName
strings for commonly used vocabularies. It also provides macro support for defining new namespaces in the same style as this library. -
joinery
A small crate for generically joining iterators with a separator
-
conjure-object
Runtime support for generated Conjure objects
-
anymap3
A safe and convenient store for one value of each type
-
parsel
Zero-code parser generation by using AST node types as the grammar
-
try_match
Fallible pattern matching with a function-like syntax
-
servo_arc
A fork of std::sync::Arc with some extra functionality and without weak references
-
tstr
Type-level strings
-
display-error-chain
Formats a standard error and its sources
-
ltpp-output
An atomic output library based on Rust that supports output functionalities through functions, builders, and other methods. It allows customization of text and background colors.
-
thiserror-core
derive(Error)
-
overload
macro to simplify operator overloading
-
error_set
An error set macro that simplifies error management by providing a streamlined method for defining errors and easily converting between them. Inspired by Zig's error set type.
-
ra_ap_mbe
Handling of
macro_rules
macros for rust-analyzer -
cl-format
Use Common Lisp format in Rust
-
o2o
Object to Object mapper for Rust. Derive '(Try)From' and '(Try)Into' traits.
-
fluent-comparisons
Boost readability by writing multicomparison expressions like
if any_of!({a,b,c}>=5) {...}
while keeping the benefits of hand-written code -
aoc-parse
A little library for parsing your Advent of Code puzzle input
-
void
The uninhabited void type for use in statically impossible cases
-
with_locals
Function attribute to return references to locals by using CPS
-
mirror-mirror
Reflection library for Rust
-
calendrical_calculations
Calendrical calculations in Rust
-
reborrow
Emulate reborrowing for user types
-
as-any
provide the AsAny trait
-
documented
Derive and attribute macros for accessing your type's documentation at runtime
-
better_scoped_tls
scoped-tls, but with good error message
-
sealed
Macro for sealing traits and structures
-
extend
Create extensions for types you don't own with extension traits but without the boilerplate
-
tor-error
unified type-erased error type returned by many (esp. high-level) Tor APIs.
-
myutil
Rust Util Collections
-
bounded-vec
Non-empty rust Vec wrapper with type guarantees on lower and upper bounds for items quantity
-
wiwi
Stuff™
-
miden-miette
Fancy diagnostic reporting library and protocol for us mere mortals who aren't compiler hackers
-
libc-print
println! and eprintln! macros on libc without stdlib
-
timely_bytes
Disjoint mutable byte slices from a common allocation
-
zoet
Adds
#[zoet]
macro to reduce boilerplate when implementing common traits -
concat-with
Extend the function of the
concat!
macro instd
-
random-number
Generate random numbers quickly
-
andex
Safe, strongly typed array indexes and wrappers for rust with zero dependencies
-
i_float
This fixed float math library provides an efficient and deterministic solution for arithmetic and geometric operations
-
mitsein
Strongly typed APIs for non-empty collections, slices, and iterators
-
formatx
A macro for formatting non literal strings at runtime
-
dync
An efficient alternative to
dyn Trait
for containerized types -
rustversion
Conditional compilation according to rustc compiler version
-
cap-std-ext
Extension APIs for cap-std
-
fn_vm
A lightweight frame based virtual machine, meant as the base for rigz_vm
-
buildstructor
Macro to derive a builder from a constructor function
-
peeking_take_while
Like
Iterator::take_while
, but calls the predicate on a peeked value. This allows you to useIterator::by_ref
andIterator::take_while
together, and still get the first value… -
copyless
Ways to eliminate memcpy calls when using the standard library
-
octseq
Abstractions for types representing octet sequences
-
data-rw
io buffer write reader
-
generics
macros for parsing generics (with optional where clause) in
macro_rules!
-
doku
A framework for documenting Rust data structures
-
advent-of-code
Solutions to Advent of Code
-
condtype
Choose types at compile-time via boolean constants
-
fixed-hash
Macros to define custom fixed-size hash types
-
doc-comment
Macro to generate doc comments
-
qualifier_attr
Procedural macro attributes for adding "qualifiers" (pub, async, unsafe, const, extern "C", ...) to various items
-
culpa
error-handling syntax in Rust
-
conflate
Merge multiple values into one
-
bool_ext
defines and implements a complete set of
Option
/Result
-style Boolean functional combinators on Rust’sbool
primitive type -
version-sync
ensuring that version numbers in README files and other files are kept in sync with the crate version
-
devise
devising derives and other procedural macros
-
autofolder
Single-element folding wrapper
-
atc-router
Versatile DSL based rule matching engine used by the Kong API Gateway
-
const-field-offset
Wrapper around field-offset crate and const-field-offset-macro
-
semval
Semantic validation
-
sugars
An useful collection of macros to make tasks easier
-
fmt2io
A bridge between std::io::Write and std::fmt::Write
-
open-enum
An attribute for generating "open" fieldless enums, those that accept any integer value, by using a newtype struct and associated constants
-
easy-cast
Type conversions which are expected to succeed
-
ungrammar
A DSL for describing concrete syntax trees
-
borrow
Zero-overhead, safe implementation of partial borrows. This crate allows you to borrow selected fields from a struct and split structs into non-overlapping sets of borrowed fields.
-
raw-parts
Ergonomic wrapper around
Vec::from_raw_parts
andVec::into_raw_parts
-
bit_field
bit field trait providing get_bit, get_bits, set_bit, and set_bits methods for Rust's integral types
-
funty
Trait generalization over the primitive types
-
swipl
A high-level library for building SWI-Prolog extensions and embedding SWI-Prolog in rust applications
-
exhaust
Trait and derive macro for working with all possible values of a type (exhaustive enumeration)
-
lazy_errors
Effortlessly create, group, and nest arbitrary errors, and defer error handling ergonomically
-
macon
builder macro-based generator with its own idioms
-
unsafe-fields
unsafe to access or modify fields with safety invariants
-
rust_info
Extracts the current rust compiler information
-
resiter
Helper crate for handling iterators over result
-
trybuild-internals-api
A fork of trybuild with the internals exposed as a public API
-
entrait
Loosely coupled Rust application design made easy
-
blanket
macro to derive blanket implementations for your traits
-
copy_from_str
An extension trait to copy a string into another string
-
try-specialize
Zero-cost specialization in generic context on stable Rust
-
nunny
the definitive non-empty slice/array/vec library for Rust
-
munge
Macro for custom destructuring
-
heterob
conversion between bytes/bits and heterogeneous lists (tuples)
-
phantom-type
A
PhantomData
analog which prevents “parameter is never used” error, but does not produce any restrictions in contrast withPhantomData
-
psl-types
Common types for the public suffix implementation crates
-
ufotofu
Abstractions for lazily consuming and producing sequences
-
capnp_conv
capnp write/read traits to convert from structs to readers/builders
-
comfy-bounded-ints
Bounded-integer types focused on ergonomics and safety. (See README.md)
-
one_err
OneErr to rule them all
-
macro-attr-2018
macro_attr!
macro that enables the use of custom, macro-based attributes and derivations -
wmlua
-
TSPL
The Simplest Parser Library
-
more-di
support for dependency injection (DI)
-
endian-writer
[no_std] Methods for efficient reading and writing of structures to raw pointers in a stream-like fashion
-
radiation
Convert Rust type into raw bytes and vice versa
-
k8s-openapi-codegen-common
Common code for the k8s-openapi code generator and k8s-openapi-derive
-
lending-iterator
Fully general lending iterators in stable rust: windows_mut!
-
defer
excecution of code, inspired by go's defer statement
-
macro-asm-builder
macro-assemblers
-
vitasdk-sys
Raw bindings to vitasdk
-
globals
Painless global variables in Rust
-
aerosol
dependency injection for Rust
-
scaffolding-core
A software development kit that provides the scaffolding for building applications and services using OOP
-
validify
struct validation and modification functionality through the use of derive macros
-
allow
Alias/label lints (to disable) with your intentions. Reexported from allow_prefixed, grouped under rustc::, clippy:: and rustdoc:: modules.
-
metastruct
Abstractions for iterating and mapping over struct fields
-
enum-display
A macro to derive Display for enums
-
fallible-streaming-iterator
Fallible streaming iteration
-
nar_dev_utils
用于NARS相关项目开发的实用工具包
-
expect-exit
Result.expected(): display an error message and exit without a panic
-
event-driven-library
Event Driven Message Handling
-
fmt-cmp
Traits and utilities for lexicographically comparing values in their
Display
representations -
fauxgen
write your own generators in stable rust
-
funcmap
Derivable functorial mappings for Rust
-
generativity
Generation of unique invariant lifetimes
-
hermit-sync
Synchronization primitives for kernels
-
scale-typegen
Type Generation for SCALE encoded Rust Types
-
downcast
Trait for downcasting trait objects back to their original types
-
soa-rs
A Vec-like structure-of-arrays container
-
indicator
Abstractions for stream aggregation, we call them
Indicator
s -
tinyvec_macros
Some macros for tiny containers
-
string_more
Extension traits for
String
and&str
types -
a1
A package for converting to and from A1 spreadsheet notation
-
collate
Traits and a data structure to support collation and bisection
-
cexpr
A C expression parser and evaluator
-
cowstr
Copy-on-Write shared strings
-
enum-ptr
Ergonomic tagged pointer
-
rudi
out-of-the-box dependency injection framework for Rust
-
vtable
Helper crate to generate ffi-friendly virtual tables
-
auto_enums
allow multiple return types by automatically generated enum
-
kind
Costless typed identifiers backed by UUID, with kind readable in serialized versions
-
smarterr
Smart error handling library
-
lazy-static-include
lazy_static_include_bytes
andlazy_static_include_str
macros to replaceinclude_bytes
andinclude_str
macros -
ranged_integers
An integer restricted to a compile-time defined bounds driven by const generics
-
drcp-format
Parse and write DRCP and literal definition files
-
iced_anim
creating animations in Iced
-
sosecrets-rs
Secret
wrapper type that reveals the secret at mostMEC: typenum::Unsigned
times with compile time guarantees -
checked-rs
encoding validation semantics into the type system
-
fomat-macros
Alternative syntax for print/write/format-like macros with a small templating language
-
enum-assoc
Procedural macro to associate constants with enum variants
-
tevec
provide quantitative analysis functions for vec | ndarray | polars backend
-
byondapi
Idiomatic Rust bindings for BYONDAPI
-
const-type-layout
Derivable const trait to view and compare the layout of a struct, union, or enum
-
jni-toolbox
tools to make writing JNI native functions less tiresome
-
hlist2
Compile-time heterogeneous list implementation
-
direction
Representations of directions
-
synonym
Customizable derive macro to create newtypes. It peeks into the underlying type to choose which traits should be implemented.
-
fieldx
Procedural macro for constructing structs with lazily initialized fields, builder pattern, and serde support with a focus on declarative syntax
-
anyinput
A macro for easier writing of functions that accept any string-, path-, iterator-, array-, or ndarray-like input
-
jnix
High-level extensions to help with the usage of JNI in Rust code
-
cortex-ai
An asynchronous flow-based processing framework for building flexible data pipelines with conditional branching and error handling
-
deptypes
Dependent types
-
swift-rs-hatter-fork
Call Swift from Rust with ease!
-
conv2
number of conversion traits with more specific semantics than those provided by 'as' or 'From'/'Into'
-
custom_error
Define custom errors without boilerplate using the custom_error! macro
-
crustal
generating C/C++ code
-
mownstr
Maybe Owned String
-
tisel
Effective type-based pseudodynamic dispatch to impls, enums and typeid
-
is_empty
Easily check if the struct is empty
-
orx-closure
An explicit closure with absolute seperation of the captured data from the function
-
proc-bitfield
expressively declare bitfield-like structs
-
ownable
Derive macro for structs/enums with Cow, which can convert Type<'a> to Type<'static> and more
-
xx
A collection of useful Rust macros and small functions
-
windows-targets
Import libs for Windows
-
self-rust-tokenize
Turns instances of Rust structures into a token stream that creates the instance
-
ice_code
A macro to mark code paths as cold, allowing the common case to be inlined
-
columnation
Unsafe columnar containers for native Rust types
-
text-block-macros
Create a multiline string literal
-
components-arena
creating complex domain-specific self-referential data structures
-
deno_error
Error representation to JavaScript for deno
-
dylint_linting
writing Dylint libraries
-
io-streams
Unbuffered and unlocked I/O streams
-
certain-map
A typed map which can make sure item exist
-
heart
Hypermedia-based web development of the 1990 future!
-
ghost
Define your own PhantomData
-
oxrdf
providing basic data structures related to RDF
-
tor-basic-utils
General helpers used by Tor
-
tupletools
functions for tuples
-
indices
macros and methods for safely retrieving multiple mutable elements from a mutable slice, addressing scenarios where slice elements would typically require
RefCell
orCell
(interior mutability approach) -
model-mapper
Derive macro to map between different types
-
intern-arc
An interner that deallocates unused values
-
light_ranged_integers
Ranged integers for stable Rust compiler, zero-dependencies and no unsafe code
-
fmt-interspersed
write an iterator's items, interspersed with a separator, to a destination
-
cbor-data
using CBOR as in-memory representation for working with dynamically shaped data
-
bilge
Use bitsized types as if they were a feature of rust
-
ffi_helpers
help make working with FFI easier
-
drop_bomb
A runtime guard for implementing linear types
-
tokenlock
cell types that decouple permissions from data
-
strong-type
Procedural macros for naming and strong-typing pritimives and strings
-
static-keys
Reimplement Linux kernel static keys for Rust userland applications
-
derive_destructure2
Destructure structs that implement Drop
-
assert_approx_eq
assert approximately equal
-
portaldi
An ergonomic lightweight compile-time depencency injection library
-
bool_vec
A crates that exposes a vector called BoolVec which allows you to store a boolean in a single bit
-
leptos-mview
A concise view macro for Leptos
-
result-like
Option/Result-like monad interface for your own enum
-
logkit
Super fast, structured, scalable logging library for Rust
-
fn-traits
function traits like the standard library ones, but can be used in stable Rust
-
auto_ops
Macros for easy operator overloading
-
borrowme
The missing compound borrowing for Rust
-
slice-diff-patch
providing utility functions for diff and patch of slices
-
aliri_braid
Improve and strengthen your strings by making them strongly-typed with less boilerplate
-
openapi_type
OpenAPI type information for Rust structs and enums
-
fp_rust
Implement fp features for Rust
-
wrap-match
A procedural macro to wrap a function in match statement to make error logging super easy
-
redb_model
Redb model derive macro and DTO type conversion
-
cfg-iif
A macro for defining
#[cfg]
if-else
functions -
dogma
Dogma.rs
-
linked_list_r4l
Linked lists that supports arbitrary removal in constant time
-
mapper
Mapping macro to help to reduce mapping boilerplate
-
clamp_to
Clamp integer and float values to the values that fit within both the original number type and the receiving type
-
small_len
A small library for storing the length in the smallest internal type
-
nonany
Integer types with customizable niche values
-
stack_dst
A wrapper that allows storage of unsized values of up to a fixed size inline (without boxing)
-
nameof
macro to determine the string name of a binding, type, const, or function
-
ext-trait
Annotation to easily define ad-hoc / one-shot extension traits
-
reweb3-num
Arbitrary precision, fixed-size signed and unsigned integer types for ethereum, this a fork of bnum crate
-
yerevan
Small Rust crate that brings computation expressions idea from F# for help you to work easier with functors and monads
-
twinsies
Smart pointer providing 2-way joint ownership of an object
-
functor_derive
A derive macro to derive a functor for a type
-
rxml_validation
Plumbing crate for rxml and rxml_proc crates
-
devela
A development foundation
-
vtid
generating volatile type IDs
-
numtest
Unit testing for numerical methods
-
teleparse
-
conv
number of conversion traits with more specific semantics than those provided by 'as' or 'From'/'Into'
-
selfie
Experimental, macro-free and allocation-free self-referential structs
-
sitrep
Frontend-agnostic progress reporting
-
gen_ops
Macros for operator overloading for generic types
-
untrusted_value
aim to provide a type-safe way to handle and sanitize potentially untrusted values like user input
-
padder
Highly efficient data and string formatting library for Rust
-
corlib
A various ideas library
-
sod
Service Oriented Design
-
rust-quiz
Medium to hard Rust questions with complete explanations
-
alternating-iter
Provide an iterator adaptor which alternate between two iterators
-
core_extensions
Extensions for core/std library types, and other miscelaneous features
-
pgde
A macro library for consuming PostgreSQL row data into structs
-
impls
Determine if a type implements a logical trait expression
-
iterstats
Statistics for rust iterators
-
evcxr_repl
A REPL for Rust
-
bellframe
Fast and idiomatic primitives for Change Ringing
-
sigmut
a state management framework designed to be used as a foundation for UI frameworks
-
nu-std
The standard library of Nushell
-
hax-lib
Hax-specific helpers for Rust programs
-
kinded
Generate enums with same variants, but without data
-
ctrlgen
Generate enums for message-passing services
-
surrealdb-extras
additional functionality for working with SurrealDB
-
panicking
std::thread::panicking
analog available in theno_std
context -
oxc-miette
Fancy diagnostic reporting library and protocol for us mere mortals who aren't compiler hackers
-
iter-comprehensions
iterator comprehensions
-
linear_type
Linear types for rust
-
inline-c
Write and execute C code inside Rust
-
fastn-type
fastn: Full-stack Web Development Made Easy
-
async-iterator
An async version of iterator
-
rustdoc-stripper
manipulate rustdoc comments
-
abcgen
A procedural macro to generate boilerplate code for objects implementing the 'Actor' pattern
-
static_file_util
generating and managing static files in Rust applications
-
match_cfg
A convenience macro to ergonomically define an item depending on a large number of
#[cfg]
parameters. Structured like match statement, the first matching branch is the item that gets emitted. -
pike
A macro collection to pipe |> your functions calls, like in functional languages such as F#, Elixir and OCamel
-
loupe
Profiling tool for Rust
-
nolife
open a scope and then freeze it in time for future access
-
coi
Dependency Injection library
-
dialogue-macro
An extension to dialoguer that simplifies command-line interaction interfaces
-
termite-dmg
Termite Data Model Generator is a crate meant to generate boiler plate code for data models
-
merg
Merge multiple values into one
-
vector-traits
Rust traits for 2D and 3D vector types
-
prange2
Parse numeric ranges for indexing
-
supply-chain-trust-example-crate-000055
Flexible concrete Error type built on std::error::Error
-
supply
Provider API for arbitrary number of lifetimes
-
structz
Anonymous struct implementation in rust
-
dynamodel
derive macro to implement conversions between your object and
HashMap<String, AttributeValue>
-
mutually_exclusive_features
Macros to check that only none or one of a set of features is enabled at a time, as known as mutually exclusive features
-
one_two_eight
typed 128-bit identifiers
-
rngstr
A cli tool for generating random strings of characters with customization options and a small domain specific language
-
ssi-di-sd-primitives
Selective Disclosure primitive for Data-Integrity suites
-
iter_num_tools
Create simple iterators over non integer ranges. itertools + num = iter_num_tools
-
argp
Derive-based argument parser optimized for code size
-
hex_lit
Hex macro literals without use of hex macros
-
indexed_valued_enums
Create enums resolving into values, and get their variants back through their values or their discriminant, inspired by Java
-
opentalk-kustos-prefix
Derive macro for defining kustos prefix
-
enum_cycling
Small macro for working with enums
-
safe_math
Math without overflow, creates an enum and a macro to help mitigate any overflow while multiplying and adding
-
dprint-swc-ext
Functionality to make swc easier to work with
-
rs_envflag
An easy way to define flags by environment variables
-
maybe-single
A singleton. Maybe.
-
const-default
A const Default trait
-
unwind-context
Macro to add colored panic context to your functions
-
ex_em_ell
Provide macros for serializing and deserializing XML
-
ecksport-core
Defs for frame types, traits, topics, error codes, etc
-
unarray
working with uninitialized arrays
-
random_variant
To be used with all variant, contains the derive macro
-
value-box
Allows developers to pass Rust-allocated structures over ffi
-
univec
A vector that can hold elements of any single type
-
uniplate
boilerplate-free operations on tree-shaped data types
-
egui_struct
EguiStruct is a rust derive macro that creates egui UI's from arbitrary structs and enums
-
procmeta
integration procmeta-core and procmeta-proc
-
ra_ap_hir_expand
Macro expansion for rust-analyzer
-
phnt
Rust bindings to the System Informer’s (formerly known as Process Hacker)
phnt
native Windows headers -
tighterror
A minimalistic error representation framework
-
fromsuper
Macro helpers to derive new sub-structs from existing super-structs, potentially unpacking Options
-
rp-postgrest-error
strongly typed errors for PostgREST
-
safecast
Traits to define safe casting between types
-
wallee
Flexible concrete Error type built on std::error::Error with caller location tracking
-
structx
Simulating anonymous struct and named arguments in Rust
-
hzrd
Shared mutability containers based on hazard pointers
-
simple-logging
logger for the log facade
-
simple-error
error type backed by a string
-
fn_macro
函数宏
-
nanokit
A collection of tiny, reusable utility methods that reduce code size and improve performance
-
oco_ref
A smart pointer for storing immutable values with relatively-cheap cloning. (Like a
Cow
meets anRc
!) -
miden-thiserror
derive(Error) with no-std support
-
never
A stable version of the unstable never type (!)
-
visibility
Attribute to override the visibility of items (useful in conjunction with cfg_attr)
-
merge
multiple values into one
-
convert_traits
Define your own conversion traits to solve the problem of converting two external types without using new types
-
command-macros
Macros for creating std::process::Command with shell-like syntax
-
game_inventory
An inventory system independant of item data
-
anybytes
A small library abstracting over bytes owning types in an extensible way
-
lexi-matic
A Lexer Library
-
shorter-bounds
Write shorter bounds with a trait alias macro
-
iter-identify_first_last
A helper iterator, flagging first and last elements
-
guard
Macro implementation of RFC 1303: a guard-let-else statement a la Swift
-
tri_ton
A Macro for Handling Exceptions
-
re_tuid
128-bit Time-based Unique Identifier
-
vcell
Cell
with volatile read / write operations -
db
ergonomic and precise error handling built atop type-level set arithmetic
-
applying
Apply functions in method-position
-
quoth
scannerless (no-lexing), developer-friendly parsing library for implementing DSLs and syntax parsers in Rust
-
cove
Casts Of Varying Elegance (COVE): extension traits for casting numerical types
-
derive-ctor
Adds
#[derive(ctor)]
which allows for the auto-generation of struct, enum, and union constructors -
glam-traits
Traits for the vectors in glam
-
nade
Adding named and default arguments to Rust functions
-
size-of-trait
determine the size of a future or trait impl at compile time
-
defer-heavy
A versatile and easy to use defer statement for Rust. Similar to Go's or Zig's defer.
-
bio-types
A collection of common biomedical types for use in rust-bio and rust-htslib
-
ref_wrapper
Wrapper of dynamically borrowed data
-
crevice_notan
Create GLSL-compatible versions of structs with explicitly-initialized padding
-
elicit
SmartPointer-like structure for polymorphism
-
binf
that adds utilities for dealing with binary flags
-
deep_safe_drop
Safe dropping of deep trees that otherwise could cause stack overflow
-
implementation
The implementation crate
-
tagged-id
A zero-cost wrapper adding type-safety to resource identifiers
-
with_drop
Nostd wrapper for using a closure as a custom drop function
-
crony
cron runner that spawns another thread to run your cron jobs
-
code-spells
Aliases some common (and less common) code snippets to macros named after thematically appropriate spells from Harry Potter, so that instead of calling drop(x), you can cast obliviate!(x)
-
eventastic
opinionated fork of Eventually-rs. It enforces the use of transactions and handles idempotency.
-
oxidd-rules-bdd
Binary decision diagrams (BDDs) for OxiDD
-
traitsequence
Traits to abstract over sequences
-
soa_derive
Automatic Struct of Array generation
-
compare_version
comparing semantic versioning strings and checking version compatibility
-
test_help-rs
Test helpers for Rust
-
ferrunix
A lightweight run-time dependency injection framework for Rust
-
cast
Ergonomic, checked cast functions for primitive types
-
confi
confidence intervals and significance levels for statistical computation
-
focusable
A trait for types that can be focused
-
awint_macro_internals
Internal macro utilities for the
awint
system of crates -
procc-ll
processor of tokens for rust
-
outref
Out reference
-
libabort
A abort function that doesn't require the standard library
-
rc-box
Known unique versions of Rc and Arc
-
not-found-error
Convert Option to Result using convenient functions
-
processmanager
manage process lifecycles, graceful shutdown and process faults
-
binread
helping read structs from binary data using ✨macro magic✨
-
error_mapper
standardized Results and Errors handling accross all your projects
-
swift-bridge-build
Parse Rust files for swift-bridge modules and generate the corresponding Swift and C code for them
-
sodium
FRP (Functional Reactive Programming)
-
enum_handler
A macro to generate a handler trait for enums variants
-
log_limit
A rate limiting logging crate
-
benri
Convenient macros wrapping the standard library
-
bon-sandbox
Not a real crate! It’s just a showcase of examples used by
bon
’s documentation to demonstrate the rustdoc output for code generated by builder macros. Don’t use this crate, it… -
map
map!
macro andmap_insert!
macro, to create a HashMap collection and insert key-value pairs. Inspired by thevec!
macro. -
soapy
Structure-of-arrays derive macro
-
copstr
COpy STRing module
-
enumerable
helping you to enumerate all possible values of a type
-
native_api_1c
Main library for Native API 1C
-
pipe-trait
possible to chain regular functions
-
unwrap-ord
Wrapper type to easily convert Ord to PartialOrd. inspired by std::cmp::Reverse
-
fiberplane-pdk
Fiberplane Provider Development Kit
-
hs-bindgen
Handy macro to generate C-FFI bindings to Rust for Haskell
-
panic-analyzer
an audit tool to scan your crate or workspace searching for potential panic points in your codebase
-
backtrace-error
wrap errors with automatic backtrace capture and print-on-result-unwrap
-
type_cell
Attach values statically to a type using static get/set methods
-
inline-python
Inline Python code directly in your Rust code
-
capture-it
Modern c++-ish capture syntax for rust
-
scout-parser
A web crawling programming language
-
io-enum
#[derive(Read, Write, Seek, BufRead)] for enums
-
as-is
An abstraction over ownership
-
code-path
A code path macro
-
dyn_std
Dynamic (object-safe) version of std traits
-
rempl
creating html components directly in your source
-
stack_box
store unsize struct on stack with static check
-
separator
Formats numbers into strings with thousands separators for readability
-
lazy_link
proc macro for dynamic runtime lookup of external functions, supporting custom resolvers, caching and no_std environments
-
default-constructor
Macros for creating pseudo-dsls that constructs structs through default construction and field conversion
-
uints
Unsigned Integer Properties
-
packetize
encode and decode your packet with stream channel
-
cubob
Structured output helpers for display mode
-
iterator-sorted
Stable functions for checking iterator sorting
-
agb_fixnum
abstracting over fixed precision numbers. Designed for use with the agb library for the Game Boy Advance
-
quick-error
A macro which makes error types pleasant to write
-
cplex-rs
Binding of IBM Cplex library
-
case_insensitive_string
A case insensitive string struct
-
ointers
What do you call a pointer we stole the high bits off? An ointer
-
plain_hasher
Hasher for 32-byte keys
-
assert_matches2
A version of the assert_matches! macro that brings variables from the pattern into scope
-
custom_derive
(Note: superseded by
macro-attr
) This crate provides a macro that enables the use of custom derive attributes -
cprint
Cargo-like print
-
plectrum
An easy way to represent lookup tables in a db as rust enums
-
deltoid
calculate and apply deltas to structs and enums
-
assert-eq-float
assert_eq_float!
macros that support floats -
io-arrays
Random-access I/O
-
traitreg
Create a registry of implementations of a trait
-
take-until
A take_until extension for iterators
-
install-dirs
handling gnu install directories in rust
-
precomputed-hash
intending to be a base dependency to expose a precomputed hash
-
overloaded_literals
Overloaded Literals to construct your datatypes without boilerplate and with compile-time validation
-
rawpointer
Extra methods for raw pointers and
NonNull<T>
. For example.post_inc()
and.pre_dec()
(c.f.ptr++
and--ptr
),offset
andadd
forNonNull<T>
, and the functionptrdistance
. -
ty_map_gen
A type projecting map generator
-
copyvec
A contiguous growable array type, with a fixed, stack-alllocated capacity that implements Copy
-
stupid_utils
that provides some simple and maybe stupid or useful tools
-
deno-bindgen2
An FFI bindings generator for Deno
-
snowflaked
creating and working with snowflake ids
-
structural-convert
Derive conversion traits (From, Into, TryFrom, TryInto) when fields are structurally similar in enums or structs
-
class_list
A reactive helper that ensures normalized class list strings in frontend frameworks like Leptos
-
transitive
derive macros for Rust
-
safe-discriminant
A minimalistic,
no_std
compatible trait and procedural macro for extracting discriminants from enums at zero cost -
simple_parse
A declarative converter for Rust type to and from binary
-
cloudformatious
Extension traits for rusoto_cloudformation
-
panic-message
Get a panic message from a panic payload
-
c8str
String types that are both utf-8 and null terminated
-
mode
A behavioral state machine library written in Rust
-
primitive-from-enum
macros for get primitive enum from complex
-
prima_bridge
implement the bridge pattern
-
roxygen
Seamlessly document function parameters with rustdoc
-
thiserror-ext
Useful extension utilities for
thiserror
-
tuple_utils
A set of utilities to enable higher level operations over tuples
-
enum_ext
procedural macro that enhances enums with additional methods and conversions
-
rustdoc-prettier
Format
//!
and///
comments with prettier -
set_derive
Using Macros to Implement List comprehension Similar to Python Language
-
flatty-portable
Flatty portable trait and primitives
-
token-ref-cell
Interior mutability cell using an external token to synchronize accesses
-
pin-macros
primarly used to simplify the proccess of working with self-referencial structures
-
transient
Reimplementation of
std::any::Any
with support for non-'static
types -
cast_checks
A procedural macro to check for invalid casts
-
sqler
way for writing SQL queries using some of Rust syntax
-
hax-bounded-integers
Newtypes for working with bounded integers with hax
-
surreal_devl
Contains core logic of surreal derive
-
iter_fixed
Iterator of fixed length
-
safe_cache
A key-value cache library in Rust featuring dynamic typing with support for multiple data types, automatic expiration, and thread-safe operations using Arc and RwLock
-
egui-probe
Trait and derive macro for exposing value editing in egui
-
ux2
Non-standard integer types like
u7
,u9
,u10
,u63
,i7
,i9
etc -
steepen
Create multiple iterators from a single iterator by separating elements
-
rustrix
Supports macro and basic operations for matrix
-
pyo3-error
Unified error causality chains across Rust and Python
-
chainerror
Make chaining errors easy
-
more-itertools
python more-itertools
-
airbag
handling errors and panics using 3rd party services
-
aquamarine-demo-crate
A demo crate for aquamarine -- the mermaid.js integration for rustdoc
-
nonzero_ext
Extensions and additional traits for non-zero integer types
-
sbpf-asm-macros
Ergonomic macros for low-level sBPF ASM functionality
-
smol_buf
small-string optimized string / buffer type with O(1) clone
-
sparkles
Capture execution flow of your Rust application with CPU cycle precision!
-
easy_errors
simplify and enhance error handling in Rust
-
advancedresearch-path_iter
A cocategory enumeration library based on path semantics
-
test_eq
assert_eq!-like macros that return a Result instead
-
iced_af
The iced application framework project
-
gazebo
A collection of well-tested utilities
-
anyrust
any rust
-
static_assertions_next
Compile-time assertions to ensure that invariants are met
-
heap-array
variable length array, with its main benefit over
Vec
is taking up less space -
sddl
parse and analyse SDDL Strings
-
ref-ops
An escape hatch for implementing
ops
traits for references to newtypes -
intfloat
Fast and simple hashable float alternative using ints
-
combin-iterator
Some usefull facilities for combining iterators
-
rtoolbox
functions for other crates, no backwards compatibility guarantees
-
cve-rs
Blazingly fast memory vulnerabilities, written in 100% safe Rust
-
sod-actix-web
Service Oriented Design - Actix Web
-
portrait
Fills an
impl
with the associated items required by the trait -
dynarg
mechanism for dynamic robust argument handling
-
okapi-response-mac
A macro for creating response code based on responses structs rather than typing and implementing OkapiRocketResponseInner manually
-
anyerror
A type of any error for transport
-
suitest
quality of life test suites
-
chasa
A parser combinator with
many
taking iterator, conditional branching, and method chain -
dddk_core
Tactical DDD framework based on command_bus, event_bus and query_bus. It offers annex feature such as authorization, logging ...
-
micro_errors
deal with errors without taking the derive macro approach
-
slippery-iter
Easy to use abstinential (slippery), N-peekable and rewindable wrapper over an iterator. (Nightly Rust)
-
table_enum
A convenient rust macro to create enums with associated constant data (note: this is different from normal rust enums which are really tagged unions)
-
checked-float
making invariant-enforcing floating point wrappers
-
bash-builtins
implement loadable builtins for bash
-
monadic
macros to define Haskell style monadic action blocks for IntoIterators, Reader, Writer, State, and macros for the transformers ReaderT and WriterT over Vec, LinkedList and VecDeque
-
width_counters
Atomic counters with variable bit widths and customizable atomic ordering
-
nanotweaks
moved to https://crates.io/crates/spread_macros
-
tacit
macro to make newtypes easier to create
-
superstruct
Versioned data types with minimal boilerplate
-
concat-in-place
Efficient macros for concatenation of strings and vectors
-
named-tup
Create named tuples using the tup!() macro
-
opaque_typedef
Supports defining opaque typedefs
-
tracked
A stringly-typed Error that includes
#[track_caller]
information -
macro-bits
performing macro-based bit manipulation
-
captur
Macro to capture whole structs from disjoint fields in a closure
-
intertrait
Allow for inter-trait casting
-
inline_dyn
A container type for storing dynamically-sized types inline
-
genmesh
A package for generating 3D meshes
-
hexchat-plugin
Lets you write HexChat plugins in Rust
-
lazyinit
Initialize a static value lazily
-
stackstack
A singly linked list intended to be chained along stack frames
-
goof
A reusable, composable, aggregate and
no_std
-friendly error library -
ruut-functions
parse math functions from string (1D,2D,3D,ND) and perform symbolic derivation, gradient, hessian
-
loop-let
An immutable loop structure that can be used as an expression
-
declarative_enum_dispatch
Declarative macro generating boilerplate for enum dispatch
-
ez_jni
Macros and functions that make using Java in rust feel natural
-
char-device
Character Device I/O
-
ubits
Bit fields and masks
-
gravitron_macro_utils
Gravitron's Macro Utils
-
htmlm
html macro with no dependencies
-
shelter
ROP-based sleep obfuscation to evade memory scanners
-
methods-enum
Two macros for easy implementation of 'state' design pattern and other dynamic polymorphism using enum instead of dyn Trait
-
strck_ident
Checked owned and borrowed Unicode-based identifiers
-
cooked-waker
A safe interface for creating async Wakers
-
hello-world-in-rust
Hello World!
-
flexi_func_declarative
exposes the fb! macro to create a function with a flexible signature
-
cond
Rust macro to use a match-like syntax as an elegant alternative to nesting if-else statements
-
mvutils
made from commonly used functions in my projects
-
accursed-unutterable-type-id
A worse version of std::any::TypeId
-
hax-frontend-exporter-options
The options the
hax-frontend-exporter
crate is sensible to -
vebex
that provides procedural macros for creating regular expressions in a verbose and readable way
-
iderive
Drop-in replacement for derive that doesn't directly depend on generic bounds
-
oberst
A type-safe command parser and dispatcher inspired by Brigadier and written in Rust
-
labview-interop
Types and wrappers for interperating with LabVIEW when called as a library
-
bogdan_hello_macro
adds the method hello_macro that generates a greeting based on the name of the struct
-
typed-sql
A strongly typed sql serialization/deserialization framework
-
envsubst
Variables substitution
-
home-prelude
Prelude library to support home applications
-
fu
Just an Error
-
sapp-jsutils
Helper functions for working with js objects in miniquad based apps
-
rt-format
Fully-runtime equivalent of the format! macro
-
digitize
Traits for accessing digits of primitive integers & floats
-
custom-format
Custom formatting for Rust
-
restructed
Quickly derive subsets of your structs
-
mini-macro-magic
Export tokens to other modules and crates. Now with 100% less proc macros!
-
typeful
A collection of helper derive macros for type patterns
-
genrc
refcounted pointer type that allows subobject pointers
-
dilib
A dependency injection library for Rust
-
maelstrom-worker-child
Helper library for maelstrom-worker
-
enum_downcast
Safe downcasting for enums
-
trowel
Tools for writing HTML in Rust
-
enum-primitive-derive
enum_primitive implementation using procedural macros to have a custom derive
-
human-errors
An error library focused on providing your users with relevant advice for any problem
-
destructure_traitobject
Unsafe helpers for working with raw trait objects. (Forked from traitobject)
-
const_fn
A lightweight attribute for easy generation of const functions with conditional compilations
-
interning
Thread-Lcoal and Global Interning Library
-
bty
Streamlined definition and usage of branded types in Rust
-
tc-error
TinyChain's generic error struct
-
type-toppings
Opinionated extensions to standard types
-
mac
A collection of great and ubiqutitous macros
-
scratchstack-aws-principal
Principal types for AWS/AWS-like services
-
argcall
Enables enums and structs to be callable by associating functions with their variants or fields
-
dims_macro
Macros for Generating Systems of Units
-
caret
Macros for declaring non-exhaustive C-style enumerations, with named members
-
delegate-attr
Attribute proc-macro to delegate method to a field
-
shadow_counted
An iterator that counts every iteration and commits the count to an optional parent iterator
-
scoped_thread_local
Highly flexible Scoped thread local with HKT builtin
-
aranya-trouble
A wrapper to implement the Error trait
-
mongo_indexed
derive macro to declaratively index mongo collections
-
failed-result
A small crate for converting various failed value to result with corresponding error type
-
iter_peek_end
current element the last one of a peekable iterator ? (
is_last()
andis_not_last()
) -
carboxyl
functional reactive programming
-
pyo3_special_method_derive
Automatically derive Python dunder methods for your Rust code
-
zerror_full
macro for implementing helpful errors
-
variadiz
Variadic function support for rust
-
ownit
Easily turn borrowed type into owned values
-
sumtype
Generate zerocost sumtype of iterators or closures
-
git-ref-format
Everything you never knew you wanted for handling git ref names
-
wherr
Enhance Rust errors with file and line details using the
#[wherr]
macro for clearer debugging -
apply
A tiny library for chaining free functions into method call chains
-
dispose
wrapper for values that must be consumed on drop
-
prepeek
Peekable iterators without mutation
-
std-next
Opinionated utilities and polyfills
-
easy-error
error utilities
-
tuppipe
pipe operator-like implementation using tuples in Rust
-
nil
Noxmore's Ixperimental Lutilities
-
syllogism
allow for some specialization using stable Rust
-
namewise
Derived trivial name-wise conversions for Rust types
-
fallback-if
Fall back to an alternative given some predicate
-
from_variants
Rust macro to automatically generate conversions for newtype enums
-
gobble
A Combinator based parser for strings that gets out of the way, and leaves your code looking like a grammer
-
noco
no code, no problem
-
srb-std
test description 02
-
non-empty-string
type for non empty Strings, similar to NonZeroUsize and friends
-
supply-chain-trust-example-crate-000053
A lightweight version of pin-project written with declarative macros
-
objective-rust
Seamlessly bind Rust and Objective-C code
-
degeneric-macros
Hides struct generics into trait associated types
-
doc-search-dsl
procedural macro for creating complex regex patterns using a Domain-Specific Language (DSL)
-
tcp-struct
Share structs over tcp
-
ergokv
Easily store and retrieve data from TiKV with a derive
-
bit_roles
Granular role management based on bit flags
-
nz
Collection of 100% safe macros for creating non-zero integers more easily
-
netherite
A tokio implementation of the Minecraft Protocol with derive macros
-
devgen-splitter
Devgen Splitter is a Rust library that breaks down source code into contextual chunks
-
anthill-di
Rust di containers system
-
enumcapsulate
Safe casting for newtype enums and their variants
-
typeables
type aliases. By SixArm.com.
-
non_structural_derive
nonstructural derives for auto traits
-
cifg
A macro for defining #[cfg] if/else blocks; alternate to cfg-if
-
ctor-lite
Run code at program startup or shutdown
-
objid
Generate a random object identifier
-
thin_delegate
Auto implementation of trivial delegation to inner types
-
peeking-iter
An iterator adapter that allows infinitely-deep peeking
-
newstr
macros for declaring String-base new types
-
duplicate_macrotest
Fork of the macrotest crate specifically to test the duplicate crate
-
isclose
A collection of trait and macros for comparing approximate equality
-
lichen
Scripting DSL (for Dialogue Graphs, et al)
-
rco_utils
Shared functions for "Remote Code Execution"'s (RCO's) binaries
-
quote-data
A tokenization Library for Rust
-
tiny-ordered-float
Tiny version of OrderedFloat
-
python-packaging
Python packaging primitives implemented in Rust
-
typestate
A proc macro DSL for typestates
-
impl-opaque
Macro for declaring complex struct and initializer
-
jkcenum
Rust enum library
-
pathogen
Typed references and deep mutation into Rust types
-
teo-teon
Object notation for Teo
-
string_from
A three-letter macro for String::from
-
summum-types
A sum-type macro crate with all the conversions, accessors, and support for abstract methods across variants, and interoperability between sum-types
-
rust-witness
Build a circom witness in Rust
-
reductor
Generic abstractions for combining and nesting reduction patterns for iterables
-
err-rs
Error level management
-
errore
error handling and tracing
-
materially
A macro for material implication
-
relrc
Reference counted pointers, with relationships to other pointers
-
cmdstruct
A lightweight macro for implementing commands with a struct
-
sudo_plugin
Macros to easily write custom sudo plugins
-
next_tuple
A trait to build and extend tuples
-
refl
refl
encoding which you can use to provide a proof witness that one type is equivalent (identical) to another type. You can use this to encode a subset of what GADTs allow you to in Haskell -
re_error
Helpers for handling errors
-
dbg_unreachable
Switch between unreachable! and unreachable_unchecked with a single macro
-
closure
A macro for capturing variables on a per variable basis
-
clap-doc
Create markdown descriptions for
clap::Command
s -
carykh-macro-rust
macro for finding strings that contain self-referential numbers. Inspired by carykh. This description contains twenty-seven words, fifty-four vowels, and ninety-nine consonants.
-
binmarshal
Pack and unpack structs and enums into and out of binary data streams
-
unsafe_cell_slice
A microlibrary for creating multiple mutable references to a slice
-
air-macros
Macros for the TNJ Assembly Intermediate Representation (AIR)
-
tear
Typed early returns and loop control + Syntax sugar for try!-like error handling
-
sod-crossbeam
Service Oriented Design - Crossbeam
-
tany
Type-erased container with inline storage for small values
-
marker_trait
Implement a blanket implementation for a marker trait
-
string_error_wrap
providing a macro for an error type wrapping a String
-
ifc_rs
IFC standard
-
consumable
Consume the value by replacing it with the default value and returning the previous value
-
accountable-refcell
A RefCell wrapper that provides actionable information for dynamic borrow failures
-
inherent
Make trait methods callable without the trait in scope
-
scan-rules
some macros for quickly parsing values out of text. Roughly speaking, it does the inverse of the print!/format! macros; or, in other words, a similar job to scanf from C.
-
rancor
Scalable and efficient error handling without type composition
-
parenv
Environment variable parser with a clap style derive macro and elm style error reporting
-
simple_detailed_error
Stack and specify errors explainations saying what happened, why, how, where, how to solve it and its causes
-
docsplay
A derive macro for implementing the display Trait via a doc comment and string interpolation. Fork of displaydoc
-
num_bound
Add bounds fn to anything implementing
Ord
that bounds a number to a range -
strunemix
allows to build a struct with a form of its fields, by deriving enums of them
-
aoko
extension library
-
gerber-types
Types and code generation for Gerber files (RS-274X)
-
tiny-input
Tiny input macros
-
esync
This package contains some useful synchronization primitives
-
drop_guard
enables you to implement the Drop trait on any type. So you can run a closure on any value running out of scope
-
s-string
s!() macro for quick String::from()
-
taskchampion-lib
Personal task-tracking
-
maelstrom-test
Test macros for Maelstrom
-
snapup
Abstractions for handling snapshots with streams of subsequent updates
-
oneline-eyre
A fork of
simple-eyre
which outputs errors on a single line -
reffers
Smart pointers: ARef, that allows even further owner erasure than OwningRef. Strong is a memory efficient Rc + RefCell in one. And more!
-
enum-variants-strings
Derive macro for converting instances of enums to and from strs using variant names
-
proto-mapper
A Macro library for easier mapping between custom models and proto generated code
-
partial_application
partial function application via the partial! macro
-
lebe
Tiny, dead simple, high performance endianness conversions with a generic API
-
tlns-google-oauth2-traits
A bunch of traits for
tlns-google-oauth2-traits
-
asm_block
Translate tokens to string for Rust inline assembly
-
str_crypter
A macro library for XOR encryption and decryption of strings at compile time, meaning no cleartext strings will be in your release binary (when using the macro). The encrypted strings will be decoded at runtime.
-
tartan-bitfield
Define structures with accessors for particular bits or bit ranges
-
retrying
General-purpose retrying library for Rust with macros and functions
-
docify_clone
Docify allows you to live-embed at compile time pieces of code from throughout your project as rust doc examples
-
cstr-argument
A trait for converting function arguments to null terminated strings
-
commonware-utils
Leverage common functionality across multiple primitives
-
trot
Trait library
-
terra-items
enum contatining terraria items and prefixes
-
vector3d
3D vector type
-
os-thread-local
OS-backed thread-local storage. This crate provides a
ThreadLocal
type as an alternative tostd::thread_local!
that allows per-object thread-local storage, while providing a similar API… -
mudra
Currencies as distinct structs
-
borrow-or-share
Traits for either borrowing or sharing data
-
thiserror_string_context
Adds context string to error enums generated with thiserror
-
sexpr-out
Tools for writing S-Expressions from Rust data
-
relax
Derive Partial<T>
-
aws-lib
Helper functions and types for AWS operations
-
fmt-derive
A more robust and versatile derive macro for Debug and Display
-
valued-enums
Macros collection and specify trait for creating valued or python-like enums
-
forward_ref
Rust's forward_ref_* macros for easier implementation of operator overloading
-
quickbits
Fast bit manipulation routines for Rust's native integer types
-
first-err
Find the first Err in Iterator<Item = Result<T, E>> and allow iterating continuously
-
messages
Runtime-agnostic actor library
-
hotswap
Easy code swapping in running executables
-
tupl
Perform generic operations on tuples
-
syrette
The convenient dependency injection framework
-
unwrap_or
Four easy unwrap Result and Option macros that allow for any inline-scoped code for things like return, continue, and break
-
dirk_framework
Dependency Injection for Rust
-
core_io
copy of libstd::io with all the parts that don't work in core removed. Most importantly, it provides the Read and Write traits. This crate is (mostly) automatically generated from the rust git source…
-
macroex
An extractor based low level macro parsing crate that provides high level parsing support through derive macros
-
seqgen
Sequence generation library
-
type_description
Machine-readable type descriptions
-
circomspect-parser
Support crate for the Circomspect static analyzer
-
elor
Base generic implementation of an Either type
-
as_num
Checked conversions between Rust's numeric types
-
nvptx-std
stdlib for nvptx64-nvidia-cuda
-
lmml-parser
LMML parser
-
cew
Personal Rust utility library
-
kommons_macros
a set of macros with utils
-
peggen
Generate recursive-descent & precedence climbing parsers
-
symbolism
Unique symbols made from human readable tags
-
shared_singleton
trait provides singleton pattern state management with shared container
-
tca-rs
The Composable Architecture (TCA, for short) is a library for building applications in a consistent and understandable way, with composition, testing, and ergonomics in mind
-
outcome-46f94afc-026f-5511-9d7e-7d1fd495fb5c
Augmentations for error propagation
-
quick-error2
A macro which makes error types pleasant to write
-
tentacli-traits
Traits and types for tentacli and related projects
-
thiserror-context
A wrapper around thiserror, giving you the ability to add context
-
some_crate
If you just need a crate that's guaranteed(*) to do practically nothing
-
decurse
Macro to make recursive function run on the heap (i.e. no stack overflow).
-
gilder
Golden testing library
-
fastn-resolved
fastn: Full-stack Web Development Made Easy
-
assume
Macro for stating unsafe assumptions in Rust
-
totally-safe
that allows you to bypass Rust's safety guarantees with totally safe patterns, featuring arbitrary lifetimes, aliasing, and more!
-
erasable
Type-erased thin pointers
-
lachs
automatically creating a lexer based on a given enum
-
ffd
Fast Function Dispatch: Improving the performance of Rust's dynamic function calls
-
version
A very simple library who's job is to return the version of your crate if you're building with Cargo
-
exec-rs
that provides utility traits for task execution and, if the sync feature is enabled, the ability to synchronise tasks based on the value of a key
-
subplotlib
functions and types for
subplot codegen
generated Rust based test suites. Relies onsubplotlib-derive
for associated macros. -
strser
A struct serializer for rust empowered with a macro
-
ptrplus
Additional funtionality for pointer types
-
conerror
macro that automatically adds context to errors
-
thin_cstr
An experimental crate which provides a truly thin std::ffi::CStr
-
round
your floats with precision from 1 to 10
-
softfloat-sys
Rust bindings for Berkeley SoftFloat 3
-
isr-macros
Macros for ISR
-
gull
type generation
-
scope-functions
Kotlin-inspired scope functions for use in almost any situation
-
cfgenius
Conditional compilation with macro support in Rust
-
io-close
An extension trait for safely dropping I/O writers such as File and BufWriter
-
bint
Bounded Integer in Rust
-
nanvm-lib
NaNVM library
-
field33_rdftk_names_temporary_fork
set of modules that contain the
IRI
s andQName
strings for commonly used vocabularies. It also provides macro support for defining new namespaces in the same style as this library. -
arch-into
safe type conversions between pointer-sized types (usize/isize) and types with fixed size
-
unwrap-overflow-ops
arithmetic operations that always panic on overflow
-
option-ext
Extends
Option
with additional operations -
struct-metadata
Macros for attaching metadata to structs
-
grouping_by
allows the user to group an iterator by various ways
-
qm-utils
functions and macros
-
element-ptr
A macro to make accessing elements through raw pointers easier
-
case_iterable
A procedural macro to iterate over enum variants, ala Swift's CaseIterable
-
diffuser-edit
Edit diffuser models without GPU and Python
-
derive-prom-metrics
Build Prometheus metrics declaratively as structs
-
pinned-aliasable
Pin-based stopgap for unboxed aliasable values in self-referential data structures
-
mopa
My Own Personal Any: get your own Any with additional functionality
-
holder
getter setter auto gen with holder trait
-
eventmill
Event sourcing and CQRS for Rust applications
-
hictor
declarative macro for __attribute__((constructor))/__attribute__((destructor))
-
dyn-iter
Wrapper around
Box<dyn Iterator<Item = V> + 'iter>
to simplify your code -
tea-map
Map functions for tevec
-
typederror
A wrapper around anyhow that allows for a primary error type
-
algar
Algebraic structures, higher-kinded types and other category theory bad ideas
-
str-macro
The str!() macro, similar to vec![] but for strings
-
ez_log
logging library for Rust
-
branch_hints
that provides likely and unlikely branch hint functions in stable Rust
-
progress-streams
Progress callbacks for types which implement Read/Write
-
stackbox
&own
ing references in stable Rust - no_std-friendly Box -
tuple_list
macro-free variadic tuple metaprogramming
-
libipld-macro
ipld macro
-
gur
A undo-redo framework
-
coded
concrete error type with an
ErrorKind
enum matching Google’s “canonical error codes” -
trig
Complete set of trigonometric and hyperbolic functions in Rust
-
rustc-ap-rustc_expand
Automatically published version of the package
rustc_expand
in the rust-lang/rust repository from commit 9a27044f42ace9eb652781b53f598e25d4e7e918 The publishing script for this crate lives at: https://github… -
effing-mad
The hottest algebraic effects library in Rust
-
defer-lite
A lightweight high-performance implementation of Go's defer statement
-
sendable
Rc and Option equivalents that facilitate sending data between threads
-
xmlparser-derive
A proc macro to generate functions for writing to and parsing from xml string, based on xmlparser
-
prev-iter
Iterator which allows you to view the previous element
-
bittorrent-primitives
collections of basic types for BitTorrent projects
-
standalone-syn
Fork of syn that turns of the proc-macro feature in proc-macro2 and standalone-quote so as to remove the rustc dylib dependency
-
autoproto
Replacement derive macros for
prost::Message
, and supporting traits and types to make implementing this trait easier -
tao-of-rust
《Rust编程之道》随书源码
-
reax
A reactivity system for Rust that infers dependencies between functions
-
leetcode_prelude
Some useful macros and definition for exercising in leetcode
-
ointer
Steal the high bits of a pointer to store an extra value
-
zip_clone
Zip an iterator to a repeately cloned object
-
dddk_security
Security module of dddk_core. Impl features regarding command_bus pattern and security
-
lemurs-8080
An emulator for the Intel 8080 microprocessor
-
error_mancer
Quickly define custom error enums for a function
-
windows-helpers
Helpers for the windows crate
-
fixnum
Fixed-point numbers with explicit rounding
-
runestr
User-perceived characters related types and data structures
-
builder-pattern
A derivable macro for declaring a builder pattern
-
lazy-init
Lazy initialization
-
derive_variants
derives an additional enum from a nested enum that contains only variants and no nested fields
-
should
Postfix assertion library for Rust
-
advent_of_code_traits
Minimal, flexible framework for implementing solutions to Advent of Code in Rusts
-
lazy_bastard
A helpfull macro because writeing a seperate Default function is too much effort
-
lib-tan-core
The core library
-
yugen
Writing rust like python
-
sql-table-macros
Helper macros to generate SQL table definitions
-
entrance
A command line argument parser library which provides type assisted tools
-
tor-async-utils
Async/futures helpers for use with Tor
-
xwt-error
A suite of reusable error types that naturally emerge from the xwt API. Use when you don't want/need your own more precise types
-
rtml
(r)ust macros for h(tml) expansion => rtml. (r)ust type safe (css) => rcss
-
timed
Macros to time function execution
-
rust-corosync
Rust bindings for corosync libraries
-
cheap-clone
A trait which indicates that such type can be cloned cheaply
-
service-layer-rs
alternative to the tower service layer, implemented using async trait, making the code more concise and easier to use
-
market
Infrastructure for producers and consumers
-
wrappr
A libary for some useful wrapping traits
-
std-traits
Traits for types in the standard library
-
eventually
using Event Sourcing in Rust applications
-
deadlocker
Bringing builder pattern to defeat deadlocks
-
piglog
beautiful way to print out log messages in the terminal
-
named-block
Macro implementing early-exit-from-any-block
-
uwuizer
Rust Macro to UwUize your text. UwU.
-
wutil
A lightweight library that contains useful functions, wrappers, and macros
-
despatma
Design Pattern Macro like Loki
-
rvs
defining and evaluating random variables using a simple DSL
-
typenum-consts
Procedural macros that take a literal integer (or the result of an evaluation of simple mathematical expressions or an environment variable whose value is a literal integer) and convert…
-
pit-rust-externref
Portal Interface Types
-
bossy
Opinionated convenience wrappers for
std::process::Command
and friends -
roopert
object-oriented toolkit for Rust
-
wtflip
A language in a Rust macro... or something.
-
buf-read-ext
Trait extending anything that implements BufRead with stream_until_token()
-
closure_example
A short description of my package
-
structify
A procedural macro to transform functions into structs with state and execution dependencies
-
iterpipes
Compositional, pipes-style stream processing
-
sapling-hgtime
Parse time from strings
-
coi-rocket
integration support between coi and rocket
-
overloadf
unlock function overloading for rust
-
possibly_uninit
Traits and types helping with using uninitialized memory safely
-
kusprint
A set of macros for printing objects to stdout without having to specify a template literal
-
scanmut
Insert/remove multiple items from Vecs in O(n) time
-
stackerror
A pragmatic error handling library for Rust that provides helpful strings for debugging, and structured data for runtime error handling
-
impl_ops
Macros for easy operator overloading
-
dioxus-shareables
Hooks for sharing structures between components
-
bitty_write_macro
A drop-in
write!
replacement that optimizes non-formatting writes for code size -
control-flow
A hack to control control-flow outside closures
-
iter-n
functions returning impl Iterator to return one of several distinct types
-
beaver
setting up Rust objects inspired by factory_bot
-
vmprotect
Unofficial VMProtect SDK for Rust
-
lawn-constants
error and logging types, traits, and codes for Lawn
-
bigerror
handle big errors ¯\_(ツ)_/¯
-
cisness
Runtime 'live witness' of two types being the same
-
vsprintf
Rust bindings to the libc vsprintf function
-
lset
Data types describing linear sets
-
cloned_trait
Cloned Trait
-
singleton-manager
A programatical singleton manager
-
permeable
A permission-demand trait. Decouples the permission-demander from the permission / auth provider.
-
json-query
Run jq programs to extract data from json strings
-
humane_commands
Allows you to write more shell-like Commands
-
poison-guard
maintaining sane state in the presence of panics and failures
-
unwrap-infallible
Unwrapping Result values with compile-time guarantee of infallibility
-
scopefn
Scope functions for Rust
-
tuple-traits
Additional tuple traits to enable ergonomic types
-
sod-mpsc
Service Oriented Design - Multi Producer Single Consumer
-
kurtbuilds_regex
Wraps the regex library to also provide macros
-
konst_macro_rules
detail of the konst crate
-
rvstruct
A helper macros implementation for Value Classes in Rust
-
haskell_bits
Rust implementations of various Haskell typeclasses and functions
-
adhesion
A set of macros for design by contact in Rust. The design of this library was inspired by D's contract programming facilities.
-
plain_enum
Mimicing Java's enum::values() and EnumMap
-
io-adapters
Adapters to convert between different writable APIs
-
supply-chain-trust-example-crate-000028
A macro for declaring lazily evaluated statics in Rust
-
kittycad-execution-plan-traits
Types for KittyCAD execution plans
-
jget
Rust tools
-
orfail
Error handling library for portable unrecoverable errors
-
byte-strings
Rust byte strings manipulation, for a better and safer C FFI
-
cadeau-sys
FFI bindings to Cadeau library, performance primitives and media foundation functions
-
have_len
container empty ? (
is_empty()
andis_not_empty()
) -
mathelogos
as a functional programming language
-
tailwag_macro_inline
The logic for A collection of macros to support the tailwag crate
-
filterable-enum
generating filterable enums (Combining bitflags and discriminated unions)
-
enumx
Ad-hoc enum extension
-
rnet
Easily call into Rust from C# or other .net langauges
-
exhaustive
The trait for generating all values of a type, and a property-based test macro
-
multer-derive
derive for constructign type from multer Multipart
-
concat-string
macros for concatenating string slices into owned strings
-
ieee-apsqrt
Square root functions for IEEE floats using rustc_apfloat
-
smallnum
Compile-time size optimization for numeric primitives
-
liftor
Functors for Rust lifetimes
-
lyneate
beautiful code underlining and error reporting
-
strdeser
A struct serializer for rust empowered with a macro
-
physical-quantity
dimension and unit system for general physical physical quantities
-
derive-merge-struct
A derive macro to partially update a named struct
-
pooled-writer
using N threads to write to M compressed files/writers
-
apparat
A lightweight event-driven behavioral state machine
-
singleton-attr
singleton procedural attribute and derive macro
-
extended-primitives
providing primitive-like types for use
-
stecs
Experimental static compiler-checked ECS library
-
consclr
console text colorful
-
piston-float
Traits for generic floats in game development
-
greattraits
My own collection for traits extending standard library types
-
projecture
Easy arbitrary type projections without proc macros
-
rsor
Reusable slice of references
-
defer-rs
Deferred execution Rust utilities
-
supply-chain-trust-example-crate-000046
RAII scope guard that will run a given closure when it goes out of scope, even if the code between panics (assuming unwinding panic). Defines the macros
defer!
, `defer_on_unwind… -
macroquest
Write MacroQuest plugins in Rust
-
irox-structs
Traits for Struct Types - linearly serialized big/little endian bytes
-
fnichol-cime
A demonstration of a Rust CI build/test/release workflow supporting multi-platform testing, binary builds, Docker image building, and Crates.io publishing
-
ord_subset
Tools for working with the Ord subset of certain PartialOrd types, like floats
-
tor-units
macros for types which are constrained within a range, ensuring invalid values are unrepresentable
-
advancedresearch-higher_order_core
Core structs and traits for programming with higher order structures in Rust
-
nightly-quirks
A basic set of utilities that mimic nightly behaviour in stable Rust, with the possibility of using nightly implementation with the nightly feature
-
pi_null
define trait is named Null. u8,u32,u64,Option...is implements Null
-
chassis
Compile-time dependency injection framework
-
fmu_from_struct
A derive macro for automatically setting up FMU models in Rust
-
dbus-strings
Rust native implementation of different D-Bus string types
-
sign-bound
Layout-optimized positive and negative integers
-
singleton-cell
A more powerful Ghost Cell allowing the use of any singleton as the key
-
box-dyn
Macro to derive the implementation of Trait for Box<T: Trait>
-
state-shift
Macros for implementing Type-State-Pattern on your structs and methods
-
aranya-buggy
A less panicky replacement for unreachable!() and unwrap
-
proc-easy
Macros to make writing proc-macro crates easy
-
type_utilities
Implementing more methods to rust type primitives
-
hrbf
Hermite Radial Basis Functions with higher order derivatives
-
ambient-authority
Ambient Authority
-
rs-std-ext
An extension for the standard library
-
cronjob
scheduling your methods
-
data_type_checker
A lightweight Rust library for validating and converting data types from strings
-
imstr
Cheaply clonable and slicable immutable strings
-
defmac
A macro to define lambda-like macros inline
-
mstr
2-word, immutable Cow<str>
-
typemap-meta
compile-time macro to create type-to-value maps
-
nan-tag
NaN-tagged pointers in Rust, storing an f64 in the same space as a pointer
-
cast_trait_object
Cast between trait objects using only safe Rust
-
simple-eyre
One of the simplest error reporters one can build ontop of eyre, defining only an error report
-
supply-chain-trust-example-crate-000032
Extra iterator adaptors, iterator methods, free functions, and macros
-
squote
A clone of the quote crate that uses a String as its backing store
-
nonicle
Tools for type-safe, canonical data representations
-
partial-borrow
Partially borrow a struct
-
bitmask
generator for enum scoped bit flags
-
let_clone
Declarative macro to clone multiple values at once
-
river-layout-toolkit
Write River layouts in Rust with ease
-
instancebuilder
Convenient way of managing dependency injection
-
const_sort_rs
Sort slices in const items
-
iter-scanb
Extend Iterator::scan, but use B, instead of Option<B>
-
handle_errors
just a macro to get the thiserror with colors and the error place
-
funkjon
One of the worst macros this world has ever been (dis)graced with
-
overflower
A compiler plugin to easily select overflow behavior for all integer operations of an item
-
thread-object
Abstraction over thread-local storage allowing dynamic creation of TLS variables
-
peekable-fwd-bwd
Iterator Peekable with multi-forward-peek and multi-backward-peek
-
simplicio
Gets rid of the boilerplate in rust
-
malachite-bigint
A drop-in num-bigint replacement based on malachite
-
deno-bindgen2-common
Common library used by the deno-bindgen2 project. Contains mainly implmenentations for parsing and transforming Rust source code.
-
easyerr
easier creation and transformation of error types
-
hxdmp
A small utility to create hexdump output from byte slices
-
min-max
max! and min! macros
-
descriptive_toml_derive
Procedural derive macro for serializing a struct into a TOML template with field descriptions that is easily edited and deserialized
-
frayed
Unfused and unashamed iterators
-
generic-bytes
A derivable trait for conversion to and from an array of bytes with a type-level size
-
timely_container
Container abstractions for Timely
-
brug
enum command generation for implementation blocks
-
supply-chain-trust-example-crate-000008
A macro to ergonomically define an item depending on a large number of #[cfg] parameters. Structured like an if-else chain, the first matching branch is the item that gets emitted.
-
steel-gen
Code generation crates for use within steel
-
add_macro
more additional macros to help you write code faster!
-
murrelet_livecode_macros
livecode macros for murrelet, a livecode framework
-
qbdi-sys
QBDI library rust binding (use rust bindgen)
-
io-window
Seekable I/O adapter that limits operations to a byte range
-
std_nightly_to_stable_3db085279c83
-
unwrap_todo
Option::todo and Result::todo methods
-
enum-rotate
Rotate and iterate your enums
-
koute/nes
emulator written in Rust
-
rs_transducers
transducers for Rust
-
enum-derive-2018
macros for deriving additional functionality for enums
-
filters
Build filters/predicates with the builder pattern
-
quasi_iter
that contains supplementary iterator objects and methods
-
cgp-async
Async-generic primitives to support both sync/async in context-generic programming
-
type-sets
Sets implemented in the rust type-system
-
probe
Static instrumentation probes
-
arc-interner
An interner that deallocates unused values
-
display_with
Return opaque impl Display and/or impl Debug types via display_with and debug_with
-
raw-cstr
Keep raw-cstrings in thread local storage for reuse
-
jmespath_community
JMESPath is a query and transformation language for JSON
-
illicit
An implicit thread-local environment which is indexed by type
-
flexible-io
Wraps values such that dyn-safe IO traits need not appear as static bounds
-
fallible_map
fallible mapping over
Option
and iterators using functions that can returnResult
s -
thisctx
Easily create error with contexts
-
dare
daring flexible data representation
-
oxydized-money-macros
Companion library to oxydized-gains providing convenience macros
-
extension-traits
Annotation to easily define ad-hoc / one-shot extension traits
-
try-guard
A guard! macro inspired by the guard Alternative function from Haskell
-
medi-rs
mediator library for Rust
-
once_cell_serde
Single assignment cells and lazy values
-
procedural-masquerade
macro_rules for making proc_macro_derive pretending to be proc_macro
-
access-json
Use serde to query large nested structures in Rust. For low-effort, read-only FFI.
-
to_snake_case
that transforms strings to snake_case
-
kstring
Key String: optimized for map keys
-
hado
Monadic do notation using a macro
-
flip-flop
implements the flip-flop operator from Perl and Ruby as a Rust macro
-
any_cmp
Support dynamic type comparisons
-
htmxpress
Procedural macros for generating htmx strings
-
negative
impls in stable Rust
-
ownedbytes
Expose data as static slice
-
flaky_test
atttribute macro for running a flaky test multiple times
-
doxed
making Rust doc strings available at runtime
-
range_checker
derive-macro crate aimed to provide declarative bounds checking and filtering for structure
-
turbostate
Finite State Machine
-
fruit-salad
Compare apples and oranges (and more). Trait object reference casting and trait object comparisons.
-
imgref-iter
A small crate for iterating over the rows or columns of
imgref
buffers -
rdcl_aoc_helpers
Helpers for Advent of Code
-
replace_err
Adds a
replace_err
method toResult
which throws away the current error and replaces it -
rama-error
error types and utilities for rama
-
perhaps
Maybe monad implementation with a more intuitive name. Using Certain and Dubious instead of Just and Nothing
-
async_fn_traits
Trait synonyms for “Fn[…]”-trait bounds returning futures
-
enum_index
Trait and macros for extracting Enum variant index
-
assert_unordered
A direct replacement for
assert_eq
for unordered collections -
matr
A metaprogramming library for Rust
-
jsona-openapi
A openapi dsl in jsona
-
dyn-dyn
Flexible trait object downcasting using ptr_metadata
-
scope-lock
Safely extend lifetimes
-
boolean-enums
Generate enums with Yes and No variants. Supports no_std and serde.
-
rombok
boilerplate generation macros like lombok
-
scientisto
A light-weight Rust implementation of the github/scientist library used for careful refactoring of critical code paths
-
const-assert
Assert struct for const generics
-
ftkit
A small set of utilities for newcomers learning Rust
-
word_iter
Iterator over all words in a string
-
deferred-box
Defer the value set after the struct has been initialized
-
tupperware
Storage traits for your types
-
peak-result
trait that extends the standard Result enum to allow you to run some code in case of error or success
-
trait_cast_rs
Get your own Any with support for casting to trait objects
-
cgp-error
Context-generic programming error components
-
standback
New standard library, old compiler
-
objectionable
storage of unsized types inline inside allocated objects
-
problem
Error handling for command line applications or prototypes
-
partially
Partial trait, and an optional macro to mirror a struct, wrapping each field in an Option
-
stub-macro
stub!() is a better version of todo!() that can be assigned to a variable
-
flatty-base
Flatty traits and primitives
-
ident-mash
Mash idents together inside macro_rules!
-
hash256-std-hasher
Standard library hasher for 256-bit prehashed keys
-
once-fn
cache the result of a function, make it runs only once
-
forangex
Range maker for foreward/backward and step may be larger than 1 (or less than -1), plus index support
-
tiptoe
An easy-to-support intrusively reference-counting smart pointer
-
error-iter
Error::sources on stable Rust
-
sod-bus
Service Oriented Design - Single Producer Multi Consumer
-
maflow
Flow macros: basically unwrap for return, continue and break
-
rbtag
A procedural macro to add build DateTime and git commit information at compile time
-
read_lines_into
Read lines (from a Path, File, etc.) into a struct (a String, a Vec<String>), and with various ways to handle line endings and whitespace
-
swapbytes
swapping the endianess of structures
-
regex_with
providing procedural macros for regex-based parsing and validation of custom data types
-
bon-cli
Dev tool for working with the
bon
crate -
utility-macros
emulate Utility Types and Unions from TypeScript
-
delegare
delegate struct easy
-
kube-core
Kube shared types, traits and client-less behavior
-
slice-utils
A collection of slice utils, like itertools
-
posix-errors
Posix error codes and handy functions for using them
-
rust_bridge
The rust_bridge
-
lithium
Lightweight exceptions
-
derive_builder_fork_arti
Rust macro to automatically implement the builder pattern for arbitrary structs
-
enum_derive
macros for deriving additional functionality for enums
-
simple_scan
Iterator extensions for simple scan operation
-
fixed-macro-types
Macro aliases used in the
fixed-macro
crate -
zngur
A Rust/C++ interoperability tool
-
fungi-lang
Fungi: A typed, functional language for programs that name their cached dependency graphs
-
bounded-vector
Vec wrapper that guarantees upper and lower bounds on type level
-
notzero
macro for constructing
std::num::NonZero*
from constants -
const_struct
macro that allows const structures to be passed as const generics
-
burrtype
A framework for exporting types to other languages
-
maybe-uninit
MaybeUninit for friends of backwards compatibility
-
pusherator
Push-based version of Rust iterators
-
rustpython-literal
Common literal handling utilities mostly useful for unparse and repr
-
tch-tensor-like
Derive convenient methods for struct or enum of tch tensors
-
redhook
Dynamic function call interposition / hooking (LD_PRELOAD) for Rust
-
bidir_iter
Bidirectional iterators
-
aspect
Toolkit for Rust
-
woah
A Result type that differentiates between local errors (which can be handled) and fatal errors (which cannot)
-
whiskers-widgets
Dynamic UI sub-system for whiskers
-
function_overloading
that adds function overloading
-
enum-repr
Derive enum repr conversions compatible with type aliases
-
eeric-interpreter
A front-end abstraction layer over eeric
-
cantor
A general toolkit for working with types that have a small number of values
-
checked_sum
safely summing up iterators
-
tuplemagic
manipulating tuples through various operations like mapping, filtering, nesting, and reducing
-
hb_error
Useful macros and traits for creating and handling errors
-
merge2
Merge structs into single by values
-
type_reflect
Extensible runtime reflection through a Derive macro
-
partial_derive2
makes all the properties of a struct type an optional property
-
debugless-unwrap
Unwrap Result<!Debug, !Debug> and Option<!Debug>
-
dyn_struct
Construct dynamically sized types safely
-
extent
replacement for std::ops::{Range,RangeInclusive}
-
rmin
A minimal Rust lib for writting R extensions
-
osu-file-parser
parse an osu! beatmap file
-
ehttpd-range
comfortably handle HTTP range requests within
ehttpd
-based applications -
xconstants
Adds preliminary support for enum const generics
-
zerror
error interface for context-aware error-reporting
-
runtime-contracts
Structured, understandable runtime contracts
-
verbex
Vebex is a Rust library that provides procedural macros for creating regular expressions in a verbose and readable way
-
ffizz-passby
FFI helpers for implementing pass-by-value and pass-by-pointer
-
irox-types
Enums and structs to describe Rust's basic type system
-
oop
Object-Oriented Inheritence in Rust
-
readonly
Struct fields that are made read-only accessible to other modules
-
dev_bestia_url_utf8
url utf8 encode/decode
-
squeak
providing types allowing execution of callbacks in response to values being broadcast or mutated
-
pad-adapter
that provides pad adapter
-
ghost-lite
custom PhantomData types
-
nanoval
A nan-tagged value for representing f64, i32, u32, booleans, null and arbitrary pointers
-
dyncast
Downcasting made easy
-
cudd-sys
Bindings for CU Decision Diagram library (CUDD)
-
casual
parsing user input
-
opentalk-types-signaling-recording
Signaling types the OpenTalk recording module
-
curerr
easy error handling
-
brain_flak_macro
Brain-Flak macro
-
chalk-macros
Macros for Chalk
-
shadow-clone
A macro to clone variables into the current scope shadowing old ones
-
lurk-ipld-macro
lurk-ipld macro
-
thread-scoped-ref
that is similar to a thread local storage but allows to store references / dyn Trait within a scope
-
lup
A custom indexed loop macro library for Rust
-
type-uuid
Safe, stable IDs for Rust types
-
builder_option
A macro to generate builder class for a struct
-
greedy_enum
derive macro of FromStr for enum
-
iterator_item
a generator syntax experiment
-
enum_macro
Useful macro for enum
-
tryvial
Small crate for ok-wrapping and try blocks
-
uni_tmp_jni
It's temporary fork for https://crates.io/crates/jni. Don't use!
-
mod
project that provides two simple and useful utility functions for converting between Option and Result types
-
stupiderators
Iterators for Indeedee, mostly
-
tournaments
running tournaments
-
ddi
Dynamic dependency injection library for rust
-
perforate
A macro to generate variants of a struct to allow splitting fields for extended periods of time
-
spans
Split an iterator into contiguous spans
-
aidanhs-tmp-parse-generics-shim
A stable shim for the proposed RFC #1583; provides macros for parsing generics and where clauses
-
rangecutter
working with adjacent ranges
-
fed
A sketch implementation of anonymous, tagged unions in stable Rust
-
set_slice
A macro for assigning values to slices
-
code-docs-rs
reading field names, types and comments