-
bitflags
A macro to generate structures which behave like bitflags
-
thiserror
derive(Error)
-
miette
Fancy diagnostic reporting library and protocol for us mere mortals who aren't compiler hackers
-
itertools
Extra iterator adaptors, iterator methods, free functions, and macros
-
once_cell
Single assignment cells and lazy values
-
eyre
Flexible concrete Error Reporting type built on std::error::Error with customizable Reports
-
ordered-float
Wrappers for total ordering on floats
-
bytes
Types and traits for working with bytes
-
glib
Rust bindings for the GLib library
-
predicates
boolean-valued predicate functions
-
pin-project-lite
A lightweight version of pin-project written with declarative macros
-
anyhow
Flexible concrete Error type built on std::error::Error
-
memoffset
offset_of functionality for Rust structs
-
derive_builder
Rust macro to automatically implement the builder pattern for arbitrary structs
-
async-stream
Asynchronous streams using async & await notation
-
num_enum
Procedural macros to make inter-operation between primitives and enums easier
-
lazy_static
A macro for declaring lazily evaluated statics in Rust
-
validator
Common validation functions (email, url, length, …) and trait - to be used with
validator_derive
-
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
-
darling
A proc-macro library for reading attributes into structs when implementing custom derives
-
typed-builder
Compile-time type-checked builder derive
-
libloading
Bindings around the platform's dynamic library loading primitives with greatly improved memory safety
-
snafu
An ergonomic error handling library
-
enumflags2
Enum-based bit flags
-
approx
Approximate floating point equality comparisons and assertions
-
zerocopy
zero-copy parsing and serialization
-
tap
Generic extensions for tapping values in Rust
-
smol_str
small-string optimized string type with O(1) clone
-
ref-cast
Safely cast &T to &U where the struct U contains a single field of type T
-
ouroboros
Easy, safe self-referential struct generation
-
dyn-clone
Clone trait that is object-safe
-
enum-iterator
Tools to iterate over all values of a type (e.g. all variants of an enumeration)
-
shellexpand
Shell-like expansions in strings
-
arrayref
Macros to take array references of slices
-
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… -
similar-asserts
assert_eq! like macros with colorized diff output
-
beef
More compact Cow
-
rustlings
Small exercises to get you used to reading and writing Rust code!
-
macro_rules_attribute
Use declarative macros in attribute or derive position
-
pin-project
safe and ergonomic pin-projection
-
self_cell
Safe-to-use proc-macro-free self-referential structs in stable Rust
-
static_assertions
Compile-time assertions to ensure that invariants are met
-
trie-db
Merkle-Patricia Trie generic over key hasher and node encoding
-
error-stack
A context-aware error-handling library that supports arbitrary attached user data
-
az
Casts and checked casts
-
bitfield
macros to generate bitfield-like struct
-
more-asserts
Small library providing additional assert_* and debug_assert_* macros
-
compiler_builtins
Compiler intrinsics used by the Rust compiler. Also available for other targets if necessary!
-
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…
-
static_init
Safe mutable static and non const static initialization, and code execution at program startup/exit
-
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.
-
cmd_lib
Common rust commandline macros and utils, to write shell script like tasks easily
-
assertables
macros
assert…!
for better testing, quality assurance, and runtime reliability -
nonempty
Correct by construction non-empty vector
-
new_debug_unreachable
panic in debug, intrinsics::unreachable() in release (fork of debug_unreachable)
-
cfg_aliases
A tiny utility to help save you a lot of effort with long winded
#[cfg()]
checks -
amplify
Amplifying Rust language capabilities: multiple generic trait implementations, type wrappers, derive macros
-
retry
retrying operations that can fail
-
color-eyre
An error report handler for panics and eyre::Reports for colorful, consistent, and well formatted error reports for all kinds of errors
-
valico
JSON Schema validator and JSON coercer
-
if_chain
Macro for writing nested
if let
expressions -
orchestra
Generate an orchestra of subsystems from a single struct
-
maplit
Collection “literal” macros for HashMap, HashSet, BTreeMap, and BTreeSet
-
flagset
Data types and a macro for generating enumeration-based bit flags
-
extendr-api
Safe and user friendly bindings to the R programming language
-
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… -
bounded-collections
Bounded types and their supporting traits
-
safer-ffi
Write safer FFI code in Rust without polluting it with unsafe code
-
backon
Retry with backoff without effort
-
cascade
Dart-like cascade macro for Rust
-
konst
Const equivalents of std functions, compile-time comparison, and parsing
-
la-arena
index-based arena without deletion
-
inventory
Typed distributed plugin registration
-
fixedstr
strings of constant maximum size that can be copied and stack allocated using const generics
-
educe
offers procedural macros designed to facilitate the swift implementation of Rust's built-in traits
-
writeable
A more efficient alternative to fmt::Display
-
swift-rs
Call Swift from Rust with ease!
-
thiserror-no-std
derive(Error)
-
iri-string
IRI as string types
-
environmental
Set scope-limited values can can be accessed statically
-
polonius-the-crab
Tools to feature more lenient Polonius-based borrow-checker patterns in stable Rust
-
nutype
The newtype with guarantees
-
fallible_collections
adds fallible allocation api to std collections
-
volatile
wrapper types for raw pointers
-
float-ord
A total ordering for floating-point numbers
-
buffered-reader
A super-powered Reader
-
auto_impl
Automatically implement traits for common smart pointers and closures
-
async-recursion
Recursion for async functions
-
opaque-debug
Macro for opaque Debug trait implementation
-
byte-slice-cast
Safely cast bytes slices from/to slices of built-in fundamental numeric types
-
sptr
Strict Provenance Polyfill
-
abi_stable
For doing Rust-to-Rust ffi,writing libraries loaded at program startup
-
tlua
Zero-cost high-level wrapper for Tarantool-LuaJIT
-
stdext
Extensions for the Rust standard library structures
-
virtue
A sinless derive macro helper
-
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
-
extism-pdk
Extism Plug-in Development Kit (PDK) for Rust
-
k9
rust testing library
-
lazy_format
lazily formatting values for later
-
derive-where
Deriving with custom trait bounds
-
recursion
cache-aware stack safe recursion
-
rustler
Safe Rust wrappers for creating Erlang NIF functions
-
crossterm_winapi
WinAPI wrapper that provides some basic simple abstractions around common WinAPI calls
-
moveit
safe, in-place construction of Rust (and C++!) objects
-
replace_with
Temporarily take ownership of a value at a mutable location, and replace it with a new value based on the old one
-
async-once-cell
Async single assignment cells and lazy values
-
bounded-integer
Bounded integers
-
field-offset
Safe pointer-to-member implementation
-
conjure-object
Runtime support for generated Conjure objects
-
castaway
Safe, zero-cost downcasting for limited compile-time specialization
-
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…
-
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 -
aws-smithy-types-convert
Conversion of types from aws-smithy-types to other libraries
-
fragile
wrapper types for sending non-send values to other threads
-
constcat
concat! with support for const variables and expressions
-
testresult
type for concise and precise test failures
-
nonmax
Numeric types that cannot hold maximum values
-
aide
A code-first API documentation library
-
maybe-owned
MaybeOwned
(andMaybeOwnedMut
) type similar to std’sCow
but it implementsFrom<T>
andFrom<&'a T>
and does not requireToOwned
-
async-trait
Type erasure for async trait methods
-
rustrict
profanity filter for Rust
-
mem_dbg
Traits and associated procedural macros to display recursively the layout and memory usage of a value
-
const-gen
generating (relatively) complex compile-time constants in rust
-
error-code
Error code
-
flex-error
Flexible error definitions using macros and traits
-
joinery
A small crate for generically joining iterators with a separator
-
dlib
Helper macros for handling manually loading optional system libraries
-
doc-comment
Macro to generate doc comments
-
crevice
Create GLSL-compatible versions of structs with explicitly-initialized padding
-
static_cell
Statically allocated, initialized at runtime cell
-
inout
Custom reference types for code generic over in-place and buffer-to-buffer modes of operation
-
validify
struct validation and modification functionality through the use of derive macros
-
indoc
Indented document literals
-
pyo3-polars
Expression plugins and PyO3 types for polars
-
derivative
A set of alternative
derive
attributes for Rust -
retour
A cross-platform detour library written in Rust
-
float-cmp
Floating point approximate comparison traits
-
tynm
Returns type names in shorter form
-
fix-hidden-lifetime-bug
Proc-macro to write an automatic fix for the "hidden lifetime in impl Trait" issue
-
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… -
rustdoc-types
Types for rustdoc's json output
-
iter-read
A Read implementation for iterators over u8 and related types
-
fallible-streaming-iterator
Fallible streaming iteration
-
as-any
provide the AsAny trait
-
safelog
Conditionally suppress confidential information from logs
-
bevy_reflect
Dynamically interact with rust types
-
internal-iterator
Internal iteration equivalent of
std::iter::Iterator
-
gumdrop
Option parser with custom derive support
-
bit_field
bit field trait providing get_bit, get_bits, set_bit, and set_bits methods for Rust's integral types
-
speculoos
Fluent test assertions
-
arrow2_convert
Convert between nested rust types and Arrow with arrow2
-
lazy-static-include
lazy_static_include_bytes
andlazy_static_include_str
macros to replaceinclude_bytes
andinclude_str
macros -
tuples
many useful tools related to tuples
-
thiserror-core
derive(Error)
-
doku
A framework for documenting Rust data structures
-
core_extensions
Extensions for core/std library types, and other miscelaneous features
-
fixed-hash
Macros to define custom fixed-size hash types
-
implicit-clone
Immutable types and ImplicitClone trait similar to Copy
-
terrors
ergonomic and precise error handling built atop type-level set arithmetic
-
lender
A lending-iterator trait based on higher-rank trait bounds, with full std::iter::Iterator functionality
-
decorum
Total ordering, equivalence, hashing, and constraints for floating-point types
-
libc-print
println! and eprintln! macros on libc without stdlib
-
by_address
Wrapper for comparing and hashing pointers by address
-
async-fn-stream
Lightweight implementation of
async-stream
without macros -
st-map
Runtime for a stack-alocated map
-
tiny-fn
Type erased closures on stack
-
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… -
parsel
Zero-code parser generation by using AST node types as the grammar
-
arrow-array
Array abstractions for Apache Arrow
-
mirai-annotations
Macros that provide source code annotations for MIRAI
-
sugar_path
Sugar functions for manipulating paths
-
assert_approx_eq
assert approximately equal
-
pin-utils
pinning
-
parse-display
Procedural macro to implement Display and FromStr using common settings
-
octseq
Abstractions for types representing octet sequences
-
metered
Fast, ergonomic metrics for Rust!
-
vtable
Helper crate to generate ffi-friendly virtual tables
-
userfaultfd
Rust bindings for the Linux userfaultfd functionality
-
const-random
compile time random number generation
-
generativity
Generation of unique invariant lifetimes
-
snowflaked
creating and working with snowflake ids
-
lending-iterator
Fully general lending iterators in stable rust: windows_mut!
-
psm
Portable Stack Manipulation: stack manipulation and introspection routines
-
typewit
type-witness-based abstractions, mostly for emulating polymorphism in const fns
-
cel-interpreter
An interpreter for the Common Expression Language (CEL)
-
arrow_convert
Convert between nested rust types and Arrow with arrow
-
aoc-parse
A little library for parsing your Advent of Code puzzle input
-
autosurgeon
working with data in automerge documents
-
result-like
Option/Result-like monad interface for your own enum
-
one_err
OneErr to rule them all
-
semval
Semantic validation
-
formatx
A macro for formatting non literal strings at runtime
-
bounded-static
Defines the ToBoundedStatic and IntoBoundedStatic traits
-
tor-error
unified type-erased error type returned by many (esp. high-level) Tor APIs.
-
shopify_function
write Shopify Functions in Rust
-
k8-client
Core Kubernetes metadata traits
-
pinned-init
facilitate safe pinned initialization
-
hooks
Compile-time, async hooks
-
gazebo
A collection of well-tested utilities
-
extend
Create extensions for types you don't own with extension traits but without the boilerplate
-
with_locals
Function attribute to return references to locals by using CPS
-
aliri_braid
Improve and strengthen your strings by making them strongly-typed with less boilerplate
-
ra_ap_stdx
TBD
-
arr_macro
Initialize arrays with ease!
-
buildstructor
Macro to derive a builder from a constructor function
-
dync
An efficient alternative to
dyn Trait
for containerized types -
concat-with
Extend the function of the
concat!
macro instd
-
rutie
The tie between Ruby and Rust
-
try_match
An expression macro to match a pattern and return the bound variables in
Result
-
cl-format
Use Common Lisp format in Rust
-
socketpair
Cross-platform socketpair functionality
-
entrait
Loosely coupled Rust application design made easy
-
sugars
An useful collection of macros to make tasks easier
-
funty
Trait generalization over the primitive types
-
unwinding
in Rust and for Rust
-
kind
Costless typed identifiers backed by UUID, with kind readable in serialized versions
-
data-rw
io buffer write reader
-
windows-targets
Import libs for Windows
-
anyerror
A type of any error for transport
-
tryhard
Easily retry futures
-
cowstr
Copy-on-Write shared strings
-
expunge
redact and transform struct fields declaratively
-
version-sync
ensuring that version numbers in README files and other files are kept in sync with the crate version
-
refined_type
imbuing rules into types and elevating them to more robust types
-
copyless
Ways to eliminate memcpy calls when using the standard library
-
more-di
support for dependency injection (DI)
-
simple-mermaid
Mermaid diagrams RustDoc integration
-
fatality
extension to
thiserror::Error
-
naan
A fast, easy, and tasty functional programming prelude
-
deptypes
Dependent types
-
reborrow
Emulate reborrowing for user types
-
atom
A safe abstraction around AtomicPtr
-
sosecrets-rs
Secret
wrapper type that reveals the secret at mostMEC: typenum::Unsigned
times with compile time guarantees -
dioxus-html
HTML Element pack for Dioxus - a concurrent renderer-agnostic Virtual DOM for interactive user experiences
-
proc-bitfield
expressively declare bitfield-like structs
-
enum-display
A macro to derive Display for enums
-
fp_rust
Implement fp features for Rust
-
open-enum
An attribute for generating "open" fieldless enums, those that accept any integer value, by using a newtype struct and associated constants
-
zoet
Adds
#[zoet]
macro to reduce boilerplate when implementing common traits -
swipl
A high-level library for building SWI-Prolog extensions and embedding SWI-Prolog in rust applications
-
generics
macros for parsing generics (with optional where clause) in
macro_rules!
-
bool_ext
defines and implements a complete set of
Option
/Result
-style Boolean functional combinators on Rust’sbool
primitive type -
ruva
Event Driven Message Handling
-
simple-error
error type backed by a string
-
tokenlock
cell types that decouple permissions from data
-
jnix
High-level extensions to help with the usage of JNI in Rust code
-
o2o
Object to Object mapper for Rust. Derive 'From' and 'Into' traits.
-
servo_arc
A fork of std::sync::Arc with some extra functionality and without weak references
-
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
-
from_variants
Rust macro to automatically generate conversions for newtype enums
-
iter-chunks
Extend Iterator with chunks
-
defer
excecution of code, inspired by go's defer statement
-
bellframe
Fast and idiomatic primitives for Change Ringing
-
rudi
out-of-the-box dependency injection framework for Rust
-
easy-cast
Type conversions which are expected to succeed
-
vitasdk-sys
Raw bindings to vitasdk
-
pared
Projected reference counted pointers
-
rust-fsm
A framework for building finite state machines in Rust
-
smarterr
Smart error handling library
-
indicator
Abstractions for stream aggregation, we call them
Indicator
s -
carboxyl
functional reactive programming
-
ropr
A blazing fast multithreaded ROP Gadget finder. ropper / ropgadget alternative
-
wipe-on-fork
A replacement to OnceCell, LazyCell, Once, OnceLock, LazyLock that wipes itself when being forked in Unix
-
orx-closure
An explicit closure with absolute seperation of the captured data from the function
-
stack_dst
A wrapper that allows storage of unsized values of up to a fixed size inline (without boxing)
-
dolby_vision
Dolby Vision metadata parsing and writing
-
twitch_types
common types for Twitch
-
self-rust-tokenize
Turns instances of Rust structures into a token stream that creates the instance
-
crony
cron runner that spawns another thread to run your cron jobs
-
overload
macro to simplify operator overloading
-
rustversion
Conditional compilation according to rustc compiler version
-
intern-arc
An interner that deallocates unused values
-
qualifier_attr
Procedural macro attributes for adding "qualifiers" (pub, async, unsafe, const, extern "C", ...) to various items
-
exponential-backoff
A small and flexible backoff function
-
null-kane
currency crate with the option to add your own currency localization logic
-
tuplex
Rust tuple extension
-
struct-field-names-as-array
generating the field names of named structs as constants
-
olis_string
Small-string optimization for Rust, aims to replace std::string::String
-
bilge
Use bitsized types as if they were a feature of rust
-
display-error-chain
Formats a standard error and its sources
-
wrap-match
A procedural macro to wrap a function in match statement to make error logging super easy
-
k8s-openapi-codegen-common
Common code for the k8s-openapi code generator and k8s-openapi-derive
-
capture-it
Modern c++-ish capture syntax for rust
-
globals
Painless global variables in Rust
-
bash-builtins
implement loadable builtins for bash
-
custom_error
Define custom errors without boilerplate using the custom_error! macro
-
awint_macro_internals
Internal macro utilities for the
awint
system of crates -
dylint_linting
writing Dylint libraries
-
selfie
Experimental, macro-free and allocation-free self-referential structs
-
mapper
Mapping macro to help to reduce mapping boilerplate
-
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
-
functor_derive
A derive macro to derive a functor for a type
-
condtype
Choose types at compile-time via boolean constants
-
indexed_valued_enums
Create enums resolving into values, and get their variants back through their values or their discriminant, inspired by Java
-
auto_enums
allow multiple return types by automatically generated enum
-
copy_from_str
An extension trait to copy a string into another string
-
components-arena
creating complex domain-specific self-referential data structures
-
chainerror
Make chaining errors easy
-
devise
devising derives and other procedural macros
-
mydi
MyDI. Dependency Injection library
-
syrette
The convenient dependency injection framework
-
tinyvec_macros
Some macros for tiny containers
-
assert_matches2
A version of the assert_matches! macro that brings variables from the pattern into scope
-
yup-hyper-mock
testing clients using hyper
-
aerosol
dependency injection for Rust
-
blanket
macro to derive blanket implementations for your traits
-
corlib
A various ideas library
-
leptos-mview
A concise view macro for Leptos
-
mut_set
A safe implementation for HashSet with iter_mut and get_mut
-
io-streams
Unbuffered and unlocked I/O streams
-
dilib
A dependency injection library for Rust
-
gat-lending-iterator
iterators who's items can [mutably] reference the iterator
-
quick-error
A macro which makes error types pleasant to write
-
better_scoped_tls
scoped-tls, but with good error message
-
comfy-bounded-ints
Bounded-integer types focused on ergonomics and safety. (See README.md)
-
box_raw_ptr
providing safe wrappers for working with raw pointer. These raw pointers are
*const T
and*mut T
. These wrappers ensure memory safety by encapsulating the raw pointers in safe abstractions… -
macon
builder macro-based generator with its own idioms
-
soapy
Structure-of-arrays derive macro
-
coi
Dependency Injection library
-
oco_ref
A smart pointer for storing immutable values with relatively-cheap cloning. (Like a
Cow
meets anRc
!) -
void
The uninhabited void type for use in statically impossible cases
-
tupletools
functions for tuples
-
culpa
error-handling syntax in Rust
-
radiation
Convert Rust type into raw bytes and vice versa
-
crustal
generating C/C++ code
-
enum-primitive-derive
enum_primitive implementation using procedural macros to have a custom derive
-
collate
Traits and a data structure to support collation and bisection
-
structz
Anonymous struct implementation in rust
-
sealed
Macro for sealing traits and structures
-
cexpr
A C expression parser and evaluator
-
ownable
Derive macro for structs/enums with Cow, which can convert Type<'a> to Type<'static> and more
-
downcast
Trait for downcasting trait objects back to their original types
-
soa_derive
Automatic Struct of Array generation
-
funcmap
Derivable functorial mappings for Rust
-
docsplay
A derive macro for implementing the display Trait via a doc comment and string interpolation. Fork of displaydoc
-
timelang
A DSL (Domain Specific Language) and grammar for parsing and rendering human-readable date/time and duration values
-
drop_bomb
A runtime guard for implementing linear types
-
value-box
Allows developers to pass Rust-allocated structures over ffi
-
ra_ap_hir_expand
TBD
-
rust2fun
functional programming in Rust
-
unwind-context
Macro to add colored panic context to your functions
-
pi_null
define trait is named Null. u8,u32,u64,Option...is implements Null
-
auto_ops
Macros for easy operator overloading
-
custom-format
Custom formatting for Rust
-
retry-error
An error type for an operation that can fail more than once
-
ghost
Define your own PhantomData
-
documented
Traits and derive macros for accessing your type's documentation at runtime
-
iterator-sorted
Stable functions for checking iterator sorting
-
indices
Zero allocation macros and methods for retrieving multiple mutable indices from a mutable slice safely
-
strong-type
Procedural macros for naming and strong-typing pritimives and strings
-
steel-core
Core compiler and VM implementation for steel
-
derive_destructure2
Destructure structs that implement Drop
-
lava
Rust wrapper to manipulate Vulkan more conveniently than with bindings
-
nolife
open a scope and then freeze it in time for future access
-
cfgenius
Conditional compilation with macro support in Rust
-
ungrammar
A DSL for describing concrete syntax trees
-
aws-sdk-elasticloadbalancing
AWS SDK for Elastic Load Balancing
-
caret
Macros for declaring non-exhaustive C-style enumerations, with named members
-
ice_code
A macro to mark code paths as cold, allowing the common case to be inlined
-
nunny
the definitive non-empty slice/array/vec library for Rust
-
overloaded_literals
Overloaded Literals to construct your datatypes without boilerplate and with compile-time validation
-
format-bytes
A macro to format bytestrings
-
kittycad-execution-plan
A DSL for composing KittyCAD API queries
-
scale-typegen
Type Generation for SCALE encoded Rust Types
-
shared_singleton
trait provides singleton pattern state management with shared container
-
rtoolbox
functions for other crates, no backwards compatibility guarantees
-
intertrait
Allow for inter-trait casting
-
nonzero_ext
Extensions and additional traits for non-zero integer types
-
inline-c
Write and execute C code inside Rust
-
command-macros
Macros for creating std::process::Command with shell-like syntax
-
ffi_helpers
help make working with FFI easier
-
dpc-pariter
Parallel iterator processing
-
nameof
macro to determine the string name of a binding, type, const, or function
-
destructure_traitobject
Unsafe helpers for working with raw trait objects. (Forked from traitobject)
-
codes-agency
This package provides a common code representing standards agencies
-
byondapi
Idiomatic Rust bindings for BYONDAPI
-
lazycell
providing a lazily filled Cell struct
-
simpl_cache
caching tools
-
tstr
Type-level strings
-
hs-bindgen
Handy macro to generate C-FFI bindings to Rust for Haskell
-
wallee
Flexible concrete Error type built on std::error::Error with caller location tracking
-
fauxgen
write your own generators in stable rust
-
zzz
Fast progress bar with sane defaults
-
fromsuper
Macro helpers to derive new sub-structs from existing super-structs, potentially unpacking Options
-
default-constructor
Macros for creating pseudo-dsls that constructs structs through default construction and field conversion
-
proto-mapper
A Macro library for easier mapping between custom models and proto generated code
-
dyn-dyn
Flexible trait object downcasting using ptr_metadata
-
dddk_core
Tactical DDD framework based on command_bus, event_bus and query_bus. It offers annex feature such as authorization, logging ...
-
methods-enum
Two macros for easy implementation of 'state' design pattern and other dynamic polymorphism using enum instead of dyn Trait
-
lmml
LMML Music Macro Language
-
cursive-extras
Extra views for the Cursive TUI library as well some helper functions and macros
-
named-tup
Create named tuples using the tup!() macro
-
inline-python
Inline Python code directly in your Rust code
-
prima_bridge
implement the bridge pattern
-
gen_ops
Macros for operator overloading for generic types
-
chasa
A parser combinator with
many
taking iterator, conditional branching, and method chain -
rust-quiz
Medium to hard Rust questions with complete explanations
-
r3bl_redux
Redux library built using Tokio, concurrent & parallel
-
rrplug
framework for R2Northstar plugins
-
cargo-cabal
that helps you to turn in one command a Rust crate into a Haskell Cabal library
-
merge
multiple values into one
-
nfc1
High-level safe Rust bindings for libnfc
-
irox-structs
Traits for Struct Types - linearly serialized big/little endian bytes
-
bio-types
A collection of common biomedical types for use in rust-bio and rust-htslib
-
armc
that facilitates Mutex access to variables
-
frunk-enum-core
Implemenation of genericized enums for use with frunk
-
type-safe-id
A type-safe, K-sortable, globally unique identifier
-
model-mapper
Derive macro to map between different types
-
closure_example
A short description of my package
-
byte-strings
Rust byte strings manipulation, for a better and safer C FFI
-
cynic-codegen
Procedural macro code generation for cynic - a code first GraphQL client for Rust
-
random-number
Generate random numbers quickly
-
garde-fr
Validation library
-
ointers
What do you call a pointer we stole the high bits off? An ointer
-
nade
Adding named and default arguments to Rust functions
-
windows-syscall
Windows inline syscalls for Rust
-
type_cell
Attach values statically to a type using static get/set methods
-
ort_custom_op
writing custom operators for the onnxruntime in Rust
-
phantom-type
A
PhantomData
analog which prevents “parameter is never used” error, but does not produce any restrictions in contrast withPhantomData
-
synonym
Customizable derive macro to create newtypes. It peeks into the underlying type to choose which traits should be implemented.
-
set_derive
Using Macros to Implement List comprehension Similar to Python Language
-
univec
A vector that can hold elements of any single type
-
macro-attr-2018
macro_attr!
macro that enables the use of custom, macro-based attributes and derivations -
pegination
cursor pagination
-
dialogue-macro
An extension to dialoguer that simplifies command-line interaction interfaces
-
rustc_errors
Reuse rustc_errors for compiler_base
-
ff_ce
building and interfacing with finite fields
-
numtest
Unit testing for numerical methods
-
structx
Simulating anonymous struct and named arguments in Rust
-
guard
Macro implementation of RFC 1303: a guard-let-else statement a la Swift
-
airbag
handling errors and panics using 3rd party services
-
valued-enums
Macros collection and specify trait for creating valued or python-like enums
-
nu-std
The standard library of Nushell
-
index-ext
Index slices with arbitrary ints and as arrays
-
egui_struct
EguiStruct is a rust derive macro that creates egui UI's from arbitrary structs and enums
-
ra_ap_span
TBD
-
iter-comprehensions
iterator comprehensions
-
twinsies
Smart pointer providing 2-way joint ownership of an object
-
orfail
Error handling library for portable unrecoverable errors
-
dyn-iter
Wrapper around
Box<dyn Iterator<Item = V> + 'iter>
to simplify your code -
raw-parts
Ergonomic wrapper around
Vec::from_raw_parts
andVec::into_raw_parts
-
cooked-waker
A safe interface for creating async Wakers
-
copstr
COpy STRing module
-
outref
Out reference
-
dynarg
mechanism for dynamic robust argument handling
-
shard-ecs
The Shard Entity Component System
-
random_variant
To be used with all variant, contains the derive macro
-
conv
number of conversion traits with more specific semantics than those provided by 'as' or 'From'/'Into'
-
ambient-authority
Ambient Authority
-
TSPL
The Simplest Parser Library
-
cap-std-ext
Extension APIs for cap-std
-
problem
Error handling for command line applications or prototypes
-
bty
Streamlined definition and usage of branded types in Rust
-
pipe-trait
possible to chain regular functions
-
panic-analyzer
an audit tool to scan your crate or workspace searching for potential panic points in your codebase
-
defer-rs
Deferred execution Rust utilities
-
bounded-vector
Vec wrapper that guarantees upper and lower bounds on type level
-
itermap
Iterator tools for maps (
HashMap
,BTreeMap
, etc.) -
nbio
Non-Blocking I/O
-
fancy-default
A better
derive(Default)
implementation -
polars-utils
Private utils for the Polars DataFrame library
-
thiserror-ext
Useful extension utilities for
thiserror
-
soulog
polished, clean and colourful console logging and error handling
-
evcxr_repl
A REPL for Rust
-
simplicio
Gets rid of the boilerplate in rust
-
psl-types
Common types for the public suffix implementation crates
-
mini-macro-magic
Export tokens to other modules and crates. Now with 100% less proc macros!
-
cve-rs
Blazingly fast memory vulnerabilities, written in 100% safe Rust
-
cast
Ergonomic, checked cast functions for primitive types
-
consclr
console text colorful
-
crevice_notan
Create GLSL-compatible versions of structs with explicitly-initialized padding
-
mopa
My Own Personal Any: get your own Any with additional functionality
-
maybe-single
A singleton. Maybe.
-
range_checker
derive-macro crate aimed to provide declarative bounds checking and filtering for structure
-
append-only-bytes
Shareable append-only bytes
-
goof
A reusable, composable, aggregate and
no_std
-friendly error library -
rust_info
Extracts the current rust compiler information
-
defile
Proc-macro helper to ungroup macro metavariables
-
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
-
railsgun
Excessive tooling for Result handling - If you want rails you got RAILS!
-
typeables
type aliases. By SixArm.com.
-
derive_constructors
Deriving From, TryFrom and create new_with_*args* functions
-
rvstruct
A helper macros implementation for Value Classes in Rust
-
ferment
Syntax tree morphing of FFI-compatible stuff
-
jnat
A wrapper around the jni crate
-
frayed
Unfused and unashamed iterators
-
structural-convert
Derive conversion traits (From, Into, TryFrom, TryInto) when fields are structurally similar in enums or structs
-
dispose
wrapper for values that must be consumed on drop
-
ref_wrapper
Wrapper of dynamically borrowed data
-
simple_parse
A declarative converter for Rust type to and from binary
-
argp
Derive-based argument parser optimized for code size
-
safe-transmute
A safeguarded transmute() for Rust
-
rust_examples
rust 的学习中的一些例子
-
flexi_func_declarative
exposes the fb! macro to create a function with a flexible signature
-
hash256-std-hasher
Standard library hasher for 256-bit prehashed keys
-
eventastic
opinionated fork of Eventually-rs. It enforces the use of transactions and handles idempotency.
-
lyneate
beautiful code underlining and error reporting
-
agb_fixnum
abstracting over fixed precision numbers. Designed for use with the agb library for the Game Boy Advance
-
nar_dev_utils
用于NARS相关项目开发的实用工具包
-
genrc
refcounted pointer type that allows subobject pointers
-
never
A stable version of the unstable never type (!)
-
hermit-sync
Synchronization primitives for kernels
-
mode
A behavioral state machine library written in Rust
-
ex_em_ell
Provide macros for serializing and deserializing XML
-
oxi-types
Rust bindings to types used by Neovim's C API
-
swift-bridge-build
Parse Rust files for swift-bridge modules and generate the corresponding Swift and C code for them
-
collection_literals
macros for initializing std::collections
-
include-flate
A variant of include_bytes!/include_str! with compile-time deflation and runtime lazy inflation
-
variadiz
Variadic function support for rust
-
ux2
Non-standard integer types like
u7
,u9
,u10
,u63
,i7
,i9
etc -
stack-vm
A generic, reusable, stack-based virtual machine
-
first-err
Find the first Err in Iterator<Item = Result<T, E>> and allow iterating continuously
-
padder
Highly efficient data and string formatting library for Rust
-
munge
Macro for custom destructuring
-
tlkit
Tool Kit integration
-
timely_bytes
Disjoint mutable byte slices from a common allocation
-
as_num
Checked conversions between Rust's numeric types
-
rcss-layers
Part of Rust CSS embedding library that allows saving styles as seperate layers
-
hex_lit
Hex macro literals without use of hex macros
-
easy-error
error utilities
-
flip-flop
implements the flip-flop operator from Perl and Ruby as a Rust macro
-
soa-rs
A Vec-like structure-of-arrays container
-
bit_roles
Granular role management based on bit flags
-
opentalk-kustos-prefix
Derive macro for defining kustos prefix
-
vcell
Cell
with volatile read / write operations -
unwrap-ord
Wrapper type to easily convert Ord to PartialOrd. inspired by std::cmp::Reverse
-
burrtype
A framework for exporting types to other languages
-
chassis
Compile-time dependency injection framework
-
bump-into
a no_std bump allocator sourcing space from a user-provided slice
-
singleton-manager
A programatical singleton manager
-
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. -
expression_engine
An expression engine written in pure rust
-
benri
Convenient macros wrapping the standard library
-
fgoxide
Utility/QoL code for writing command-line / file processing tools
-
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
-
sod
Service Oriented Design
-
colourado-iter
A small and minimalistic library to generate a random color palette of infinite size
-
bitty_write_macro
A drop-in
write!
replacement that optimizes non-formatting writes for code size -
typed-sql
A strongly typed sql serialization/deserialization framework
-
element-ptr
A macro to make accessing elements through raw pointers easier
-
error-iter
Error::sources on stable Rust
-
better_any
Type id and Any for non static types
-
cprint
Cargo-like print
-
static_assertions_next
Compile-time assertions to ensure that invariants are met
-
cond
Rust macro to use a match-like syntax as an elegant alternative to nesting if-else statements
-
shaku
Compile Time Dependency Injection for Rust
-
binf
that adds utilities for dealing with binary flags
-
nanokit
A collection of tiny, reusable utility methods that reduce code size and improve performance
-
peak-result
trait that extends the standard Result enum to allow you to run some code in case of error or success
-
deltoid
calculate and apply deltas to structs and enums
-
combin-iterator
Some usefull facilities for combining iterators
-
bossy
Opinionated convenience wrappers for
std::process::Command
and friends -
c-types
Re-exports of cross-platform types, gathered from libc and winapi
-
explicit-endian
Transparent traits to explicitely declare in-memory endianness for a virable or struct record
-
aprox_eq
determining aproximate equality between floating point types and deriving this capability to structs comprised of floating point numbers and other implementers of
AproxEq
-
closure
A macro for capturing variables on a per variable basis
-
const-default
A const Default trait
-
pergola
abstract types for join-semilattices
-
simple-logging
logger for the log facade
-
flaky_test
atttribute macro for running a flaky test multiple times
-
iter-n
functions returning impl Iterator to return one of several distinct types
-
impls
Determine if a type implements a logical trait expression
-
tokio-postgres-generic-rustls
rustls-backed TLS for tokio-postgres without a required crypto backend
-
fiberplane-pdk
Fiberplane Provider Development Kit
-
renege
Tracking cache validity using fast concurrent invalidation propogation
-
foreign-types
A framework for Rust wrappers over C APIs
-
accursed-unutterable-type-id
A worse version of std::any::TypeId
-
binread
helping read structs from binary data using ✨macro magic✨
-
uwuizer
Rust Macro to UwUize your text. UwU.
-
igc_parser
A high-level parsing/deserializing crate for IGC flight recorder files
-
zerror
error interface for context-aware error-reporting
-
cock-lib
Measure the power level of a peen
-
intuple
Convert structs and enums into tuples (of refs) and back - recursive, ignore fields
-
arch-into
safe type conversions between pointer-sized types (usize/isize) and types with fixed size
-
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 -
algorithmify
Create specifications for algorithms defined using Rust code
-
list_comprehension
A macro for Haskell-like list comprehensions in Rust
-
materially
A macro for material implication
-
pathbuf
A macro to conveniently build PathBufs
-
take-until
A take_until extension for iterators
-
phnt
Rust bindings to the System Informer’s (formerly known as Process Hacker)
phnt
native Windows headers -
opaque_typedef
Supports defining opaque typedefs
-
tighterror
A minimalistic error representation framework
-
turbostate
Finite State Machine
-
rustrix
Supports macro and basic operations for matrix
-
surreal_devl
Contains core logic of surreal derive
-
declarative_enum_dispatch
Declarative macro generating boilerplate for enum dispatch
-
custom_derive
(Note: superseded by
macro-attr
) This crate provides a macro that enables the use of custom derive attributes -
surrealdb-extras
additional functionality for working with SurrealDB
-
dyncast
Downcasting made easy
-
loupe
Profiling tool for Rust
-
remit
Rust generators implemented through async/await syntax
-
type-sets
Sets implemented in the rust type-system
-
no_std_strings
no_std version of crate fixedstr: strings of constant maximum size that can be copied and stack allocated
-
hexavalent
Write HexChat plugins in Rust
-
sodium
FRP (Functional Reactive Programming)
-
enum_common_fields
Macro for easy access to common fields of enums
-
more-itertools
python more-itertools
-
sqlx_query
Expands to either sqlx function
query
or macroquery!
call depending onsqlx_compiletime_checks
has been enabled during the build -
permeable
A permission-demand trait. Decouples the permission-demander from the permission / auth provider.
-
frunk_laws
contains laws for algebras declared in Frunk
-
pipeop
Adding the pipe operator to Rust with a declarative macro
-
const-units
that lets you check the dimensions of your quantities at compile time and run time
-
matreex
matrix implementation
-
hyperide
Builds strings from embedded HTML in Rust
-
jealousy
A wrapper arount the envy crate, providing an easily implementable trait
-
rustcomp
Adds vector, map, set, and iterator comprehensions to Rust
-
seqgen
Sequence generation library
-
vmm
A math library focused on vectors and square matrices
-
cryptify
A procedural macro library to obfuscate Rust code. Provides compile-time string encryption and random flow obfuscation.
-
namewise
Derived trivial name-wise conversions for Rust types
-
macroex
An extractor based low level macro parsing crate that provides high level parsing support through derive macros
-
failed-result
A small crate for converting various failed value to result with corresponding error type
-
conerror
macro that automatically adds context to errors
-
cast_checks
A procedural macro to check for invalid casts
-
janus-plugin
creating plugins for Janus, the WebRTC gateway
-
core_float
based on the Rust Core Library and aims to provide an identical set of APIs for f32 and f64 floating-point types
-
racros
Collection of rust macros
-
enum-variants-strings
Derive macro for converting instances of enums to and from strs using variant names
-
re_tuid
128-bit Time-based Unique Identifier
-
genmesh
A package for generating 3D meshes
-
fmu_from_struct
A derive macro for automatically setting up FMU models in Rust
-
certain-map
A typed map which can make sure item exist
-
ddi
Dynamic dependency injection library for rust
-
retrying
General-purpose retrying library for Rust with macros and functions
-
elor
Base generic implementation of an Either type
-
option_trait
Helper traits for more generalized options
-
tor-basic-utils
General helpers used by Tor
-
seraphine-core
Core of the seraphine programming language
-
cfg-iif
A macro for defining
#[cfg]
if-else
functions -
tosserror
derive(Toss)
-
enumerable
helping you to enumerate all possible values of a type
-
anyinput
A macro for easier writing of functions that accept any string-, path-, iterator-, array-, or ndarray-like input
-
rdcl_aoc_helpers
Helpers for Advent of Code
-
custom_float
Custom floating-point types
-
will_exit
work on program will exit
-
ang
Angular types and common helper methods
-
iter-identify_first_last
A helper iterator, flagging first and last elements
-
thisctx
Easily create error with contexts
-
check_keyword
A trait for String-like types to check if it is a reserved keyword and convert it to a safe non-keyword if so
-
error-info
Centralized error information ready for internationalization
-
cstr-argument
A trait for converting function arguments to null terminated strings
-
smallvec-wrapper
Macro and common structs to play with
smallvec
-
andex
Safe, strongly typed array indexes and wrappers for rust with zero dependencies
-
macroland
macro shorthands of various types in Rust
-
tiny-ordered-float
Tiny version of OrderedFloat
-
rc-box
Known unique versions of Rc and Arc
-
ddd-rs
Domain-Driven Design (DDD) building blocks, for Rust applications
-
ieee-apsqrt
Square root functions for IEEE floats using rustc_apfloat
-
pinned-aliasable
Pin-based stopgap for unboxed aliasable values in self-referential data structures
-
frunk_utils
working with frunk
-
term_grid
formatting strings into a grid layout
-
extended-primitives
providing primitive-like types for use
-
chisel-common
Chisel common macros, types and functions
-
callable
closures implementing PartialEq and argument operations
-
exhaustive
The trait for generating all values of a type, and a property-based test macro
-
equator
Composable assertion library
-
tuppipe
pipe operator-like implementation using tuples in Rust
-
winconsole
A wrapper for console-related functions in the Windows API
-
mini-config
Minimalistic Dynamic Configuration Library for Rust
-
traitsequence
Traits to abstract over sequences
-
advise
User-friendly status reporting
-
aoc_driver
helper macros and functions for AoC
-
neoncore
Core utility library for working with binary data streams
-
version
A very simple library who's job is to return the version of your crate if you're building with Cargo
-
rsconnect
Fine-grained reactivity in Rust
-
netherite
A tokio implementation of the Minecraft Protocol with derive macros
-
chalk-macros
Macros for Chalk
-
advent_of_code_traits
Minimal, flexible framework for implementing solutions to Advent of Code in Rusts
-
lebe
Tiny, dead simple, high performance endianness conversions with a generic API
-
type_enum
Create tagged unions consisting of different types
-
human-errors
An error library focused on providing your users with relevant advice for any problem
-
is-odd
Returns true if the given number is odd
-
partial_application
partial function application via the partial! macro
-
partially
Partial trait, and an optional macro to mirror a struct, wrapping each field in an Option
-
round
your floats with precision from 1 to 10
-
with_drop
Nostd wrapper for using a closure as a custom drop function
-
plain_hasher
Hasher for 32-byte keys
-
rangecutter
working with adjacent ranges
-
accountable-refcell
A RefCell wrapper that provides actionable information for dynamic borrow failures
-
oi-unwrap
unwrap without unwrap
-
concat-in-place
Efficient macros for concatenation of strings and vectors
-
prev-iter
Iterator which allows you to view the previous element
-
jget
Rust tools
-
codegen
generating Rust code
-
reductor
Generic abstractions for combining and nesting reduction patterns for iterables
-
io-close
An extension trait for safely dropping I/O writers such as File and BufWriter
-
lucchetto
easily call a rust function without holding the GVL lock
-
rt-format
Fully-runtime equivalent of the format! macro
-
golem-rust
Golem Rust tooling library that facilitates writing Golem backends in Rust
-
bezier_easing
port of Gaëtan Renaudeau's bezier-easing from https://github.com/gre/bezier-easing
-
flatty-base
Flatty traits and primitives
-
amass
Automatically generate
From
impls for nested enums, even across crates -
cplex-rs
Binding of IBM Cplex library
-
vsprintf
Rust bindings to the libc vsprintf function
-
tf2-enum
enumerated types for models related to the Team Fortress 2 item schema
-
safecast
Traits to define safe casting between types
-
ordes
treating arrays and tuples a little bit more like vectors
-
cflp
A context-free-language parser generated by procedural macros
-
lichen
Scripting DSL (for Dialogue Graphs, et al)
-
devela
A cohesive Rust development layer
-
summum-types
A sum-type macro crate with all the conversions, accessors, and support for abstract methods across variants, and interoperability between sum-types
-
early_returns
Macros to make early returns easier to work with in Rust
-
mstr
2-word, immutable Cow<str>
-
assert-eq-float
assert_eq_float!
macros that support floats -
fmt-derive
A more robust and versatile derive macro for Debug and Display
-
extensor
the main extensor crate for building arbitrary valent tensors and more
-
unwrap_or
Four easy unwrap Result and Option macros that allow for any inline-scoped code for things like return, continue, and break
-
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…
-
checked-float
making invariant-enforcing floating point wrappers
-
gull
type generation
-
implementation
The implementation crate
-
tc-error
TinyChain's generic error struct
-
brug
enum command generation for implementation blocks
-
macro-asm-builder
macro-assemblers
-
kinded
Generate enums with same variants, but without data
-
getfn
generating function pairs to refer to functions via custom expressions
-
progress-streams
Progress callbacks for types which implement Read/Write
-
nshare
Conversion between n-dimensional types in different Rust crates
-
type_description
Machine-readable type descriptions
-
syllogism
allow for some specialization using stable Rust
-
leptos_datatable
A leptos component for creating tables with data validation
-
tartan-bitfield
Define structures with accessors for particular bits or bit ranges
-
panda-re
The official library for interfacing with PANDA (Platform for Architecture-Neutral Dynamic Analysis)
-
algar
Algebraic structures, higher-kinded types and other category theory bad ideas
-
interning
Thread-Lcoal and Global Interning Library
-
tuplify
Generic hlist/tuple library
-
expect-exit
Result.expected(): display an error message and exit without a panic
-
graphannis-capi
C-API to the ANNIS linguistic search and visualization system
-
using
A macro for simpler builders with method cascading
-
asm_block
Translate tokens to string for Rust inline assembly
-
gerber-types
Types and code generation for Gerber files (RS-274X)
-
calendrical_calculations
Calendrical calculations in Rust
-
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
. -
rs_envflag
An easy way to define flags by environment variables
-
option-ext
Extends
Option
with additional operations -
recvmsg
Traits for receiving datagrams reliably, without truncation
-
funkjon
One of the worst macros this world has ever been (dis)graced with
-
erasable
Type-erased thin pointers
-
inline_dyn
A container type for storing dynamically-sized types inline
-
owned_ref_cell
offering a custom RefCell variant with owned references for flexible and dynamic borrowing management
-
wherr
Enhance Rust errors with file and line details using the
#[wherr]
macro for clearer debugging -
str-macro
The str!() macro, similar to vec![] but for strings
-
gobble
A Combinator based parser for strings that gets out of the way, and leaves your code looking like a grammer
-
objid
Generate a random object identifier
-
elain
Set a type's minimum alignment with const generics
-
advancedresearch-path_iter
A cocategory enumeration library based on path semantics
-
range-cmp
Trait that allows comparing a value to a range of values
-
htmxpress
Procedural macros for generating htmx strings
-
thiserror-nostd-notrait
derive(Error)
-
iter_accumulate
An iterator adaptor that accumulates the elements and yields the current accumulated value for each iteration
-
openapi_type
OpenAPI type information for Rust structs and enums
-
lemurs-8080
An emulator for the Intel 8080 microprocessor
-
type-fn
Allows for simpler coding of type-level logic, e.g. for type-number systems.
-
swapbytes
swapping the endianess of structures
-
enumn
Convert number to enum
-
aquamarine-demo-crate
A demo crate for aquamarine -- the mermaid.js integration for rustdoc
-
linker-set
Declarative programming via linker-constructed arrays
-
assume
Macro for stating unsafe assumptions in Rust
-
macro-bits
performing macro-based bit manipulation
-
const-type-layout
Derivable const trait to view and compare the layout of a struct, union, or enum
-
hotswap
Easy code swapping in running executables
-
wrappr
A libary for some useful wrapping traits
-
crates-io-macro-crate
An example macros-by-example crate for demonstrating a regression
-
descriptive_toml_derive
Procedural derive macro for serializing a struct into a TOML template with field descriptions that is easily edited and deserialized
-
tear
Typed early returns and loop control + Syntax sugar for try!-like error handling
-
preprocess
Preprocesses a struct with built-in preprocessors
-
conv2
number of conversion traits with more specific semantics than those provided by 'as' or 'From'/'Into'
-
html_tag
An Enigmatic Way to use HTML in Rust
-
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
-
bigerror
handle big errors ¯\_(ツ)_/¯
-
ra_ap_hir_def
TBD
-
mightrix
treat continous memory as a matrix
-
quick-error2
A macro which makes error types pleasant to write
-
try-iterator
Adds a few fallible methods to iterators
-
case_insensitive_string
A case insensitive string struct
-
regex-macro
A macro to generate a lazy regex expression
-
lexi-matic
A Lexer Library
-
onechatsocial-result
Revolt Backend: Result and Error types
-
jkcenum
Rust enum library
-
positional
author/parse positional files
-
instancebuilder
Convenient way of managing dependency injection
-
tupperware
Storage traits for your types
-
async_pipeline_for_lucas
Easy way to pipeline sync and async functions
-
dddk_security
Security module of dddk_core. Impl features regarding command_bus pattern and security
-
fmap
Functors in Rust
-
replace_err
Adds a
replace_err
method toResult
which throws away the current error and replaces it -
apparat
A lightweight event-driven behavioral state machine
-
ucsi
SI-based unit typing system
-
range_check
bounds-checking and range helpers
-
enumeration
An extension to rust enum
-
chandeliers-sem
Semantics of Candle, a shallow embedding of Lustre in Rust
-
fixnum
Fixed-point numbers with explicit rounding
-
anxious
panic-free dialect of Rust
-
multiple_errors
Propagate multiple errors instead of just the first one
-
bitmask
generator for enum scoped bit flags
-
delegate-attr
Attribute proc-macro to delegate method to a field
-
timed
Macros to time function execution
-
crosstrait
Cast from
dyn Any
to other trait objects, with no_std, no alloc support -
throwing
Create explicit errors easily with a handy macro
-
hexchat-plugin
Lets you write HexChat plugins in Rust
-
quoth
scannerless (no-lexing), developer-friendly parsing library for implementing DSLs and syntax parsers in Rust
-
e
Provide some utility tools
-
scalar_map
map
for scalar types -
transitive
derive macros for Rust
-
dyn-clonable
Attribute wrapper for dyn-clone
-
ftkit
A small set of utilities for newcomers learning Rust
-
oop
Object-Oriented Inheritence in Rust
-
xx
A collection of useful Rust macros and small functions
-
even_bigger_s
Better String Literal
-
avocado-schema
A schema DSL which can be interpreted to implement multiple purposes
-
add_macro
adds the some useful macros for easily work
-
windows-helpers
Helpers for the windows crate
-
retoken
Build &str tokenizers using regex
-
decurse
Macro to make recursive function run on the heap (i.e. no stack overflow).
-
filterable-enum
generating filterable enums (Combining bitflags and discriminated unions)
-
try-partialord
Safe failable sort, min, max, binary_search functions for PartialOrd. No need to wrap f32, f64 to sort any more.
-
head-tail-iter
An iterator that repeatedly splits head & tail
-
as-is
An abstraction over ownership
-
direction
Representations of directions
-
eule
Async generic serialization crate with a minimal interface
-
cpr_bf
A brainfuck interpreter
-
subplotlib
functions and types for
subplot codegen
generated Rust based test suites. Relies onsubplotlib-derive
for associated macros. -
clone_cell
A Cell that works with a restrictive form of Clone
-
ref-ops
An escape hatch for implementing
ops
traits for references to newtypes -
runestr
User-perceived characters related types and data structures
-
count-to-non-zero
Extends Rust’s Iterator trait to include a
count_to_non_zero
method, returning an Option for a more expressive and type-safe way of counting elements. This crate provides… -
rnet
Easily call into Rust from C# or other .net langauges
-
const_fn
A lightweight attribute for easy generation of const functions with conditional compilations
-
seoul
trait Isomorphism
-
string-config-parser
configuration file parser for Rust
-
cdc
performing Content-Defined Chunking (CDC) on data streams
-
internal
fields in Rust
-
cmdstruct
A lightweight macro for implementing commands with a struct
-
prefixes
Attribute-like macros imitating literal prefixes, e.g. #[f]"Hello, {world}"
-
variadics
Variadic generics on stable Rust using tuple lists
-
range-ext
Range intersection
-
woah
A Result type that differentiates between local errors (which can be handled) and fatal errors (which cannot)
-
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
-
iprint
debugging utility that prints indented text based on function call depth
-
messages
Runtime-agnostic actor library
-
builder-pattern
A derivable macro for declaring a builder pattern
-
memtable
Inmemory tables for use in Rust
-
libipld-macro
ipld macro
-
portrait
Fills an
impl
with the associated items required by the trait -
vec_vec
When dealing with
Vec<Vec<T>>
is unavoidable -
io-arrays
Random-access I/O
-
error_set
An error set macro that provides a concise way to define errors and ergonomically coerce between sets. Inspired by Zig's error set type.
-
defer-lite
A lightweight high-performance implementation of Go's defer statement
-
qed
Compile-time assertions
-
cew
Personal Rust utility library
-
thin_cstr
An experimental crate which provides a truly thin std::ffi::CStr
-
fileslice
Slices of files
-
derive_environment
modifying structs via environment variables
-
shoulda
derive macro for test assertions
-
term-inquiry
Quick and easy way to make terminal inquiries using builder pattern
-
flagged
Bitflag-based warning type
-
nanoval
A nan-tagged value for representing f64, i32, u32, booleans, null and arbitrary pointers
-
kittycad-execution-plan-traits
Types for KittyCAD execution plans
-
maybe-uninit
MaybeUninit for friends of backwards compatibility
-
leetcode_prelude
Some useful macros and definition for exercising in leetcode
-
value_unit
every unit imaginable. Also contains a handy macro
-
processmanager
manage process lifecycles, graceful shutdown and process faults
-
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
-
cli_input
Various functions for gathering user input in the terminal
-
sitrep
Frontend-agnostic progress reporting
-
fungi-lang
Fungi: A typed, functional language for programs that name their cached dependency graphs
-
iter-enum
#[derive(Iterator, DoubleEndedIterator, ExactSizeIterator, Extend)] for enums
-
event-listener-primitives
Low-level primitive for building Node.js-like event listeners
-
typestate
A proc macro DSL for typestates
-
primitive-from-enum
macros for get primitive enum from complex
-
reax
A reactivity system for Rust that infers dependencies between functions
-
with_builtin_macros
Helper for macro_rules authors to chain their macros with builtin ones (such as
env!
,include!
, orconcat_idents!
) -
filters
Build filters/predicates with the builder pattern
-
nonicle
Tools for type-safe, canonical data representations
-
ownedbytes
Expose data as static slice
-
xmlparser-derive
A proc macro to generate functions for writing to and parsing from xml string, based on xmlparser
-
eventmill
Event sourcing and CQRS for Rust applications
-
entrance
A command line argument parser library which provides type assisted tools
-
vmprotect
Unofficial VMProtect SDK for Rust
-
partial-default
PartialDefault, a trait similar to Default but with fewer guarantees
-
tao-of-rust
《Rust编程之道》随书源码
-
engineer
master builder!
-
field_iterator
A derivable trait for iterating over the fields of a struct
-
introspect-core
containing the core functionality used for
introspect
and supporting crates -
autoproto
Replacement derive macros for
prost::Message
, and supporting traits and types to make implementing this trait easier -
rs-measures
macros to encapsulate numbers in measures, provided with units of measurement, allowing any meaningful operation, but statically forbidding meaningless operations with them
-
tokio-go
a golang like macro: go! (closure) backed by tokio. Supports threadpool dedication.
-
enum-ptr
Ergonomic tagged pointer
-
haskell_bits
Rust implementations of various Haskell typeclasses and functions
-
sod-actix-web
Service Oriented Design - Actix Web
-
partial_derive2
makes all the properties of a struct type an optional property
-
sendable
Rc and Option equivalents that facilitate sending data between threads
-
apply_conditionally
Chain and apply methods on objects conditionally
-
width_counters
Atomic counters with variable bit widths and customizable atomic ordering
-
outcome-46f94afc-026f-5511-9d7e-7d1fd495fb5c
Augmentations for error propagation
-
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. -
bitbag
A useful struct for dealing with bit flags
-
coded
concrete error type with an
ErrorKind
enum matching Google’s “canonical error codes” -
lazy-init
Lazy initialization
-
prctl
This package provides safe abstraction to the linux prctl() interface. Some functions may be architecture-specific.
-
ffizz-header
FFI helpers to generate a C header for your library
-
autofolder
Single-element folding wrapper
-
ebacktrace
error wrapper which captures a backtrace and can carry an optional textual description
-
enum_index
Trait and macros for extracting Enum variant index
-
trait-gen
Trait implementation generator macro
-
thread-scoped-ref
that is similar to a thread local storage but allows to store references / dyn Trait within a scope
-
ranged_integers
An integer restricted to a compile-time defined bounds driven by const generics
-
light_enum
provide a derive keyword to generate a light enum
-
taskchampion-lib
Personal task-tracking
-
egui-probe
Trait and derive macro for exposing value editing in egui
-
nz
Collection of 100% safe macros for creating non-zero integers type more easily
-
lifted
Higher-kinded types in Rust
-
iter-progress
Calculate progress of your iterators
-
menv
Pulling in arguments from environment variables
-
json-query
Run jq programs to extract data from json strings
-
partial-borrow
Partially borrow a struct
-
get-field-by-type
Get a value of field, based on the type of a field
-
tracerr
Custom compile-time captured error tracing
-
roopert
object-oriented toolkit for Rust
-
any_cmp
Support dynamic type comparisons
-
apply
A tiny library for chaining free functions into method call chains
-
selfref
Semi-pain-free self-referential pinned types
-
cast_trait_object
Cast between trait objects using only safe Rust
-
try_utils
The try! macro descends into an enum variant. It's more flexible than ? and unwrap(), and it works with your enum, too!
-
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… -
gur
A undo-redo framework
-
quack
Duck typing traits
-
kusprint
A set of macros for printing objects to stdout without having to specify a template literal
-
precomputed-hash
intending to be a base dependency to expose a precomputed hash
-
aoko
extension library
-
build-deftly
Derive custom builders, using the derive-deftly macro system
-
iterpipes
Compositional, pipes-style stream processing
-
pareg
useful tools for command line argument parsing
-
enum-rotate
Rotate and iterate your enums
-
adventage
Advent of Code, easier!
-
ra_ap_hir_ty
TBD
-
eventually
using Event Sourcing in Rust applications
-
name-it
Give a name to async fn return types
-
try_map
try_map
andflip
methods forOption
. These allow more ergonomic error handling when mapping functions that returnResult
overOption
. -
merge-hashmap
Merge multiple values into one
-
irox-enums
Traits for better Enumerated Types
-
multer-derive
derive for constructign type from multer Multipart
-
rvs
defining and evaluating random variables using a simple DSL
-
cynic-querygen
Generates code for using cynic from GraphQL query input
-
tor-units
macros for types which are constrained within a range, ensuring invalid values are unrepresentable
-
read_buffer
ReadBuffer, a wrapper to safely read into a buffer from a Read
-
asserteq_pretty
An assert_eq macro that prints more helpful diffs on mismatch
-
nova
Macro to derive newtypes with support for serde and sqlx
-
rtlola-hir
A high-level intermediate representation for RTLola specifications
-
enum-assoc
Procedural macro to associate constants with enum variants
-
tenacious
[RETIRED: Will not work with MIR] A plugin to prevent certain types from being moved
-
market
Infrastructure for producers and consumers
-
ointer
Steal the high bits of a pointer to store an extra value
-
openai-magic-instantiate
Use LLMs to instantiate well-typed values
-
async-iterator
An async version of iterator
-
physical-quantity
dimension and unit system for general physical physical quantities
-
named-block
Macro implementing early-exit-from-any-block
-
microtype
simplify the creation of microtypes
-
dyn-context
mechanism for lifetimes erasing
-
intern-all
A safe and predictable interner for data of mixed and arbitrary type
-
softfloat-sys
Rust bindings for Berkeley SoftFloat 3
-
panic-message
Get a panic message from a panic payload
-
yansongda-utils
rust 中一些关于我自己的常用工具
-
scientisto
A light-weight Rust implementation of the github/scientist library used for careful refactoring of critical code paths
-
lib_battleship
battleship implementations
-
adhesion
A set of macros for design by contact in Rust. The design of this library was inspired by D's contract programming facilities.
-
const-chunks
Extension trait to chunk iterators into const-length arrays
-
bidir_iter
Bidirectional iterators
-
typemap-meta
compile-time macro to create type-to-value maps
-
assert_unordered
A direct replacement for
assert_eq
for unordered collections -
hrbf
Hermite Radial Basis Functions with higher order derivatives
-
access-json
Use serde to query large nested structures in Rust. For low-effort, read-only FFI.
-
ferrite-session
Session Types DSL for Rust
-
separator
Formats numbers into strings with thousands separators for readability
-
borrowme
The missing compound borrowing for Rust
-
smurf
SMall Useful Rust Functions
-
char-device
Character Device I/O
-
simple-life
async lifecycle trait and convenient macros
-
cell
A replacement of std::cell::RefCell adding advanced support for mapping borrows
-
k8s-controller
lightweight framework for writing kubernetes controllers
-
rustpython-literal
Common literal handling utilities mostly useful for unparse and repr
-
delfi
Conveniently writing data to csv-files
-
trait_cast_rs
Get your own Any with support for casting to trait objects
-
cheap-clone
A trait which indicates that such type can be cloned cheaply
-
min-max
max! and min! macros
-
k8s-openapi-ext
Collection of fluent builder traits for Kubernetes objects
-
tuple_utils
A set of utilities to enable higher level operations over tuples
-
error_handling
Macro used to clean and centralize error handling within async processes
-
forward-traits
A general trait-forwarding crate
-
ni-fpga
Safe Rust interface to NI FPGAs with FXP support
-
pin-init
Safe pinned-initialization in Rust
-
simple-eyre
One of the simplest error reporters one can build ontop of eyre, defining only an error report
-
cryo
Extend the lifetime of a reference. Safely.
-
jmespath_community
JMESPath is a query and transformation language for JSON
-
heterob
conversion between bytes/bits and heterogeneous lists (tuples)
-
newstr
macros for declaring String-base new types
-
exhaust
Trait and derive macro for working with all possible values of a type (exhaustive enumeration)
-
mongo_indexed
derive macro to declaratively index mongo collections
-
io-extra
An extension trait for
std::io::Error
, with shorthand constructors for variousstd::io::ErrorKind
s -
pyadvreader
Split text file into text sequences, strings and (line) comments
-
lazy_thread_local
Lazily initialised per-object thread-local storage
-
mat-rs
no_std implementation of mathematical matrix types
-
rusty_helloworld
Mastering Rust, step by playful step.Rusty_Helloworld is your one-stop shop for exploring the diverse landscape of Rust through practical examples. Whether you're a beginner diving…
-
zip_clone
Zip an iterator to a repeately cloned object
-
squeak
providing types allowing execution of callbacks in response to values being broadcast or mutated
-
chainer
A cursed crate that allows for global call chaining with access to chained function results
-
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…
-
ironcalc_base
The democratization of spreadsheets
-
astr
A const lenght stack str
-
rancor
Scalable and efficient error handling without type composition
-
tyco
Macro for generating scoped TYped COntexts
-
custom_error_core
Define custom errors without boilerplate using the custom_error! macro
-
lootr
RPG-like looting system
-
visibility
Attribute to override the visibility of items (useful in conjunction with cfg_attr)
-
snapup
Abstractions for handling snapshots with streams of subsequent updates
-
iter_fixed
Iterator of fixed length
-
hxdmp
A small utility to create hexdump output from byte slices
-
anymap3
A safe and convenient store for one value of each type
-
num-sign
enum Sign { Positive = 1, Negative = -1 }
-
rxml_validation
Plumbing crate for rxml and rxml_proc crates
-
advancedresearch-higher_order_core
Core structs and traits for programming with higher order structures in Rust
-
byte_set
Efficient sets of bytes
-
degeneric-macros
Hides struct generics into trait associated types
-
godotdoc
documentation generator for GdScript
-
derive-name
Derive macro to get the name of a struct, enum or enum variant
-
hlist2
Compile-time heterogeneous list implementation
-
dioxus-shareables
Hooks for sharing structures between components
-
enum-derive-2018
macros for deriving additional functionality for enums
-
bevy_cell
Attach Bevy's Handles/Entities statically to Types
-
re_query
Querying data in the re_data_store
-
inherent
Make trait methods callable without the trait in scope
-
tuple_list
macro-free variadic tuple metaprogramming
-
inter-struct
Automatically generated traits for arbitrary structs
-
rsor
Reusable slice of references
-
debugless-unwrap
Unwrap Result<!Debug, !Debug> and Option<!Debug>
-
ref_thread_local
A macro for declaring thread-local
static
s like using both oflazy_static!
andRefCell
-
shell-tools
shell tools for Rust
-
okey
Everything is Result::Ok
-
quasi_iter
that contains supplementary iterator objects and methods
-
arc-interner
An interner that deallocates unused values
-
ptrplus
Additional funtionality for pointer types
-
podio
Additional trait for Read and Write to read and write Plain Old Data
-
qbdi-sys
QBDI library rust binding (use rust bindgen)
-
scad
generating OpenSCAD models using rust
-
structmap
Procedural macro library for converting between Rust structs and associative containers
-
dyn-any
An Any trait that works for arbitrary lifetimes
-
dbus-strings
Rust native implementation of different D-Bus string types
-
squote
A clone of the quote crate that uses a String as its backing store
-
struct-metadata
Macros for attaching metadata to structs
-
ghost-lite
custom PhantomData types
-
golangify
published at 01.04.2024 this crate brings familiar flavor for newcomers from golang
-
mac
A collection of great and ubiqutitous macros
-
agoraui-runtimes
AgoraUI reactive runtimes
-
partial-context
Partial Context Types
-
enumx
Ad-hoc enum extension
-
cantor
A general toolkit for working with types that have a small number of values
-
termcolor_output
Interface crate for styled output to termcolor through macro
-
hb_error
Useful macros and traits for creating and handling errors
-
dyn-eq
Test equality between trait objects
-
asset-derive
asset handling derive macro for enums, and a proc-macro learning resource!
-
matr
A metaprogramming library for Rust
-
dyn_ord
Equality and ordering for trait objects
-
lef21
Exchange Format (LEF) Integrated Circuit Layout Parser & Writer
-
io-enum
#[derive(Read, Write, Seek, BufRead)] for enums
-
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. -
tailsome
Blanket traits providing
.into_ok()
,.into_err()
, and.into_some()
for happier method chaining -
type-factory
unique opaque types
-
unroll_range
Repeats a block of code for each number in a specified range
-
pack1
Byte array newtypes for different primitive types
-
nougat
(lifetime) GATs on stable Rust
-
konst_macro_rules
detail of the konst crate
-
value-enum
Macro for generating enums associated with values
-
rtml
(r)ust macros for h(tml) expansion => rtml. (r)ust type safe (css) => rcss
-
fracpack
Convert to and from the fracpack format
-
enum_pipeline
way to use enums to describe and execute ordered data pipelines
-
ad-hoc-iter
Ad-hoc exact size owning iterator macro and other optional utils
-
pathext
A small path trait extension with some convenience methods
-
strongly
A proc macro to create strongly-typed primitives
-
osu-file-parser
parse an osu! beatmap file
-
reffers
Smart pointers: ARef, that allows even further owner erasure than OwningRef. Strong is a memory efficient Rc + RefCell in one. And more!
-
zngur
A Rust/C++ interoperability tool
-
tupley
Extension for primitive tuple (Hlist based on recursive structure)
-
async-time-mock-async-std
Mockable time for use in async runtimes (async-std compatibility)
-
zellij-tile
A small client-side library for writing Zellij plugins
-
projecture
Easy arbitrary type projections without proc macros
-
wutil
A lightweight library that contains potentially useful functions, wrappers, and macros
-
macro_rules_rec
Expand syntax of
macro_rules
to enable self recursive call -
axotag
share tag-parsing code between axodotdev projects
-
glam-traits
Traits for the vectors in glam
-
com-scrape-types
Support code for bindings generated with com-scrape
-
dims_macro
Macros for Generating Systems of Units
-
error-window
proc macro that will make your main function output errors as dialog boxes as well as errors to the console
-
libc-extra
Additional bits and bobs found in libc libraries that either hasn't been submitted to Rust's official libc crate yet, or has been rejected or requires too much work to integrate
-
throw
Efficiently add statically-calculated stack traces to errors
-
into_index
Helper traits allowing indexing into vectors and similar types by other types than
usize
-
standback
New standard library, old compiler
-
cfg-or-panic
Replace function bodies with
unimplemented!()
when condition is not met -
hado
Monadic do notation using a macro
-
labview-interop
Types and wrappers for interperating with LabVIEW when called as a library
-
fungus
reduce code verbosity
-
arr_ty
Macros for smart array initialization (best for trait object element types)
-
ever
Print the build information of your program with minimal boilerplate
-
almost
comparing floating point numbers
-
prompt-organizer
better manage AI prompts in your Rust code
-
shoogah
Add some syntactic 'shoogah' to Rust
-
sql_tool_core
这个库是 sql_tool_macros 库的核心,存储 trait
-
enum_traits
Traits for builtin enum items that are primarily used by
enum_traits_macros
when automatically deriving types -
loop_chain
Macro for writing nested Loop expressions
-
curerr
easy error handling
-
unc-chunks-primitives
hosts UNC chunks-related error types
-
dec-number
Decimal Floating Point Arithmetic for Rust
-
interpolate
form of string interpolation
-
tcs-dhbw
Modules for a model traffic control system project at DHBW Stuttgart
-
re_error
Helpers for handling errors
-
type-handle
Regular and reference-counted type handles
-
macro-utils
Some macros to make code writing more elegant and funny
-
displaythis
derive(Display)
-
type-operators
A macro system for creating type operators in Rust and writing type-level logic
-
fluent-asserter
write tests assertions with a fluent interface
-
wei-result
wei result
-
grouping_by
allows the user to group an iterator by various ways
-
except
The only one
Error
-
overflower
A compiler plugin to easily select overflow behavior for all integer operations of an item
-
tch-tensor-like
Derive convenient methods for struct or enum of tch tensors
-
qm-utils
functions and macros
-
batch_oper
some batch operation macro for some operations
-
const_sort_rs
Sort slices in const items
-
genesis
generating statically-typed ECS worlds
-
ward
ward! macro which returns the contents of an Option<T> and otherwise returns early, and a guard! macro, which does the same, but with a syntax more similar to Swift's guard syntax
-
anonymous-trait
Anonymous trait implementation with capturing the environment
-
easy-ext
An attribute macro for easily writing extension trait pattern
-
python-packaging
Python packaging primitives implemented in Rust
-
stringlit
A macro to convert from str to String
-
to_tokenstream
An interface for creating a compiler within a Rust macro
-
bparse
parsing bytes
-
trait-enumizer
Proc macro to automatically generate enum based on method signatures (with appropriate helpers)
-
jni-mangle
Mangle Rust functions for use with JNI
-
recur-fn
that provides you a more flexible way to construct and extend the recursive function
-
defmac
A macro to define lambda-like macros inline
-
printc
Print-clean macro. Like
println!
but cleaner input. -
unc-stdx
contains polyfills which should really be in std, but currently aren't for one reason or another
-
wave_func_collapse
wave function collapse algorithm
-
dyn-hash
Hash trait that is object-safe
-
cron_macro
cron macro
-
enum-derived
Generate random instances of your enums and structs
-
escher
Self-referencial structs using the async/await transformation
-
dyn_struct
Construct dynamically sized types safely
-
teloc
compile-time DI framework for Rust
-
rustils
Utilities for rust
-
once-option
OnceOption
type, similar toOption
, with the constraint that once emptied it cannot be re-set to contain a value. Useful for members that need to be consumed on drop or cannot be re-set otherwise (e… -
drop-bin
Defer running expensive destructors until later
-
frust
Functional Programming in Rust
-
rust_io
Macro implementation for [rust_io] defining several operators to be used emulating Haskel [do notation]
-
rawcode
Implements a simple as-is encoding format
-
steel-gen
Code generation crates for use within steel
-
flatty-portable
Flatty portable trait and primitives
-
once
assert_has_not_been_called! macro that panics if the surrounding function is called twice. Useful for initialization functions.
-
rsyntax
-
studs
collection of extenstions to the Rust standard library
-
elicit
SmartPointer-like structure for polymorphism
-
sawp-ffi
FFI helper macros and traits
-
qwutils
some utilities
-
stdont
Kitchen sink of utils that I'd like to see in std
-
koute/nes
emulator written in Rust
-
proc-easy
Macros to make writing proc-macro crates easy
-
oofs
Error handling library that generates and injects context for you
-
no-std-thiserror
thiserror but no_std compatible
-
code-path
A code path macro
-
versioned-file
adding versions and upgrade schemes to files
-
forward_ref
Rust's forward_ref_* macros for easier implementation of operator overloading
-
include_data_uri
include a file as a data uri
-
iderive
Drop-in replacement for derive that doesn't directly depend on generic bounds
-
thin-boxed-slice
ThinBoxedSlice
stores the size of the slice before the content of the slice, so thatsize_of::<ThinBoxedSlice>
is only the size of a pointer -
concat-string
macros for concatenating string slices into owned strings
-
std_io_iterators
An iterator for
STDIN
and a wrapper forSTDOUT
. Allows easy piping, and graceful closing of application if pipe breaks -
doc-chunks
Clusters of doc comments and dev comments as coherent view
-
macro_lisp
Lisp-like DSL for Rust language
-
procedural-masquerade
macro_rules for making proc_macro_derive pretending to be proc_macro
-
easy_retry
easy to use retry library for Rust
-
boolean-enums
Generate enums with Yes and No variants. Supports no_std and serde.
-
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
-
itermacros
Some useful macros related to iterators
-
metastruct
Abstractions for iterating and mapping over struct fields
-
plain_enum
Mimicing Java's enum::values() and EnumMap
-
slice-utils
A collection of slice utils, like itertools
-
simple_scan
Iterator extensions for simple scan operation
-
vnum
Create enums with a constant value associated to every variant
-
prometheus-metric-storage
Derive macro to instantiate and register prometheus metrics without having to write tons of boilerplate code
-
alone_ee
Small event emitter for rapid development of weak dependency in applications. simple. powerful. predicted
-
diesel_derives_traits
Traits for diesel_derives_extra
-
genz
Uniqueness of types via invariant lifetimes
-
propositional_logic
generate truth tables for compound propositions
-
alternating-iter
Provide an iterator adaptor which alternate between two iterators
-
eager
macro expansion
-
object-safe
Implement object-unsafe traits for trait objects
-
impl-converter-helper
declarative macro library to help you implement the
From
orTryFrom
trait for your type -
atruct
macros for anonymous structs in Rust
-
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.
-
piston-float
Traits for generic floats in game development
-
moddef
Macros for convenient nested module structure declaration
-
easy_node
Smart pointer for graph nodes
-
gha_main
Convenience macros for writing GitHub Actions in Rust
-
gilder
Golden testing library
-
consume_on_drop
A zero-cost abstraction that allows Drop::drop to consume self by value
-
lens-rs
lens implemented in rust
-
regi
Regi
-
trigram
Trigram-based string similarity for fuzzy matching
-
macroquest
Write MacroQuest plugins in Rust
-
valid
Validate custom types by composing primitive validation functions. Use one common API for validating all kind of business rules including aspects of the application state. One common error type for all…
-
goxoy-interpreter
Sistem bilgisini veren kitaplik
-
constructor-lite
Generate minimal constructors for structs
-
new_type
Experimental implementation of newtypes by type level logic
-
brain_flak_macro
Brain-Flak macro
-
hexhex
hexadecimal conversion 🪄
-
to_snake_case
that transforms strings to snake_case
-
scope-exit
The util to call procedure when exit current scope. scope exit. like defer in go.
-
is_empty
Easily check if the struct is empty
-
enums_arena
enums_arena
is an arena that enums can be stored efficiently -
posix-errors
Posix error codes and handy functions for using them
-
word_iter
Iterator over all words in a string
-
readonly
Struct fields that are made read-only accessible to other modules
-
generic-global-variables
tools for implement generic global variables
-
simplebyteunit
A thin encapsulate for integer primitives to facilitate a fast, simple, yet ergonomic byteunit implementation
-
tinypointers
Pointer implementations that take 8 or 16 bits
-
guest_cell
Storage space for externally-owned private data
-
destruct
structs and enums for simpler combinator implementation
-
imgref-iter
A small crate for iterating over the rows or columns of
imgref
buffers -
kmacros
Useful macros
-
log_err
Log error messages from Unwrap and Expect with log crate
-
dict
Exercise crate implementing real associative arrays, also known as dictionaries
-
gandiva_rust_udf_common
A basic library for gandiva rust udf macro
-
match_any
declarative macro, that matches an expression to any of the patterns and executes the same expression arm for any match
-
wasmer-wit-bindgen-gen-core
wit-bindgen-gen-c
-
ord_subset
Tools for working with the Ord subset of certain PartialOrd types, like floats
-
possibly_uninit
Traits and types helping with using uninitialized memory safely
-
pretty-error-debug
Write out the
Error
message and chain -
axmac
Readable indexing macros for 1-4 dimensional data structures
-
base64_type
type wrapper for Vec<u8> that uses base64 for serialization
-
veccell
variant of Vec with interior mutability
-
effing-mad
The hottest algebraic effects library in Rust
-
pusherator
Push-based version of Rust iterators
-
morphism
A structure for suspended closure composition in Rust
-
kuchikiki
(口利き) HTML tree manipulation library
-
casual
parsing user input
-
lurk-ipld-macro
lurk-ipld macro
-
rbtag
A procedural macro to add build DateTime and git commit information at compile time
-
scanmut
Insert/remove multiple items from Vecs in O(n) time
-
repeated
Allows you to repeat a block of code a number of times
-
rcrefcell
Wrapper type for Rc<RefCell<A>>
-
vec_filter
Vec Filter is a Rust library to filter a vector of structs based on a query string. It allows you to specify filter conditions on struct fields with a simple query syntax. The library provides a custom derive macro…
-
to-syn-value
Defines a derive macro to implement a trait converting values to instances of syn::ToDeriveInput
-
for-loop-iterator
Iterators like traditional for loops
-
cfg-if-edc
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.
-
try_as
Macros and traits to ease using enums whose sole purpose is to enumerate a set of types
-
enum-unitary
Trait and macro for unitary enums
-
rexpr
Rust Json Object access Runtime
-
zkp-macros-decl
Procedural macros
-
therror
derive(Error) with a twist (based on thiserror)
-
enum_macro
Useful macro for enum
-
rs_transducers
transducers for Rust
-
ident-util
macro to determine the string name of a binding, type, const, or function
-
cronjob
scheduling your methods
-
validus
A string validation library
-
hkalbasi-rustc-ap-rustc_index
Automatically published version of the package
rustc_index
in the hkalbasi/rust repository from commit e77366b57b799dfa3ce1fcb850c068723a3213ee The publishing script for this crate lives at: https://github… -
enum-tools
Automatically derive functions and trait implementations for enums
-
high_mem_utils
bunch of mem safe abstractions,some involving transmute
-
try-unwrap
A revolutionary new crate that allows you to unwrap() without making your stupid software panic
-
enumcapsulate
Safe casting for newtype enums and their variants
-
lbr-prelude
LambdaBuffers runtime library for the Prelude schema
-
ordered_iter
Ordered iterators
-
pad-adapter
that provides pad adapter
-
merge2
Merge structs into single by values
-
zigbee2mqtt_types_base_types
Common definitions for zigbee2mqtt vendors
-
unwrap-infallible
Unwrapping Result values with compile-time guarantee of infallibility
-
strck
Checked owned and borrowed strings
-
laby_common
Shared code required by laby
-
utils-results
The easiest and most intuitive error handling solution
-
hereditary
Procedural macros for emulating OOP Inheritance in Rust
-
wrapping-macro
wrapping macro
-
vm6502
A 6502 virtual machine backend
-
approx_eq
A macro for comparing equality of two values up to an arbitrary error in the *relative* difference
-
firedbg-lib
FireDBG Support Library
-
vec-utils
vector utilities
-
zero_v
implementing iterators over function outputs for collections of types implementing a common trait, without using vtables/ dynamic polymorphism
-
maelstrom-test
Test macros for Maelstrom
-
control-flow
A hack to control control-flow outside closures
-
fullypeek
Peek forward in an iterator as far as you'd like, memory allowing!
-
count_enum
Enum trait for finite types, e.g., conversion with usize, iteration on values
-
wext
web-sys extension traits, convenience functions and types
-
knife
An iterator that divides things evenly
-
symtern
Fast general-purpose interners for every use case
-
eeric-interpreter
A front-end abstraction layer over eeric
-
mapper-api
Api of the
mapper
crate -
dsl
build your own dsl
-
introspectable
Basic introspection via the Introspectable trait
-
map_tuple
Map individual elements of a tuple
-
macro-dep-test
testing version resolution for associated macros
-
bronzeflow
Bronze: A workflow scheduler in rust
-
nofmt
nofmt::pls
, a macro that does its best at preventing a code block from being mangled -
tryvial
Small crate for ok-wrapping and try blocks
-
ptr-union
Pointer union types the size of a pointer by storing the tag in the alignment bits
-
take-static
Static items that provide mutable access only once
-
composer-primitives
primitives types for composer
-
ferment-interfaces
Traits for FFI conversions and some helper methods
-
dev_bestia_url_utf8
url utf8 encode/decode
-
ratbaseconfig
lib with base ratatui config for my (mb your) apps
-
string-join
A python-like way to join items in an iterator with a separator
-
sly_static
Seamless Rust Static Initialization: Effortless and Efficient
-
rust_c
Write C code inline in your rust code (hacky fork of rust-cpp / cpp crate)
-
linq
Language Integrated Query in Rust
-
rhizo-types
A collection of common Structs and Enums used in the software components that comprise the Rhizo network
-
erreport
A Result helper to catch all the Err propagation path for Rust
-
type-variance
Marker traits for subtype variance
-
ip-family
IP family enum with functions to get special ips of the right family
-
uni_tmp_jni
It's temporary fork for https://crates.io/crates/jni. Don't use!
-
dependent_view
Wrappers to produce weak trait objects from reference types
-
hex-slice
Extends the std::fmt::*Hex traits to slices
-
async_fn_traits
Trait synonyms for “Fn[…]”-trait bounds returning futures
-
indexing
Sound unchecked indexing using “generativity”; a type system approach to indices, pointers and ranges that are trusted to be in bounds
-
nu-errors
Core error subsystem for Nushell
-
comp
Pure-macro Do notation and List-comprehension for Option, Result and Iterator
-
open-ambient
Open files and directories with constant paths
-
derive_builder_fork_arti
Rust macro to automatically implement the builder pattern for arbitrary structs
-
aoc-util
function for aoc
-
sconcat
String concatenation
-
integer_or_float
A data type holding an ‘integer or float’ (a data type in the Unified Font Object specification, among others)
-
bioneer
An Open-Source Rust Implementation of Bionic Reading
-
fallthrough
Pattern match with fallthrough, in the style of C switch
-
desaturate
This package aims to makes it easier to maintain a single code base for both regular and async functions
-
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)
-
emboss
A small macro to embed metadata as an ELF/Mach-O section in your final binary
-
confgr_core
A collection of traits used by the confgr derive macro
-
suitest
quality of life test suites
-
struct_scheme
structure scheme display
-
noders
NodeJS-like event loop environment for Rust
-
helper
provided some useful proc macros for Rust
-
mutify
Macro for coercing a
mut var: T
orvar: &mut T
into a&mut T
-
standalone-proc-macro2
Fork of proc-macro2 that uses rustc-ap-proc_macro so as to remove the rustc dylib dependency
-
pre
Compile-time assistance for working with unsafe code
-
packed_streaming_iterator
Additions to streaming_iterator
-
easy-min-max
Easy to use macros for min, max and clamp. Works with no_std
-
ffizz-string
FFI string implementation
-
redis-om
Redis ORM-style library that simplify the development process and reduce the amount of boilerplate code needed to build programs that leverage [redis] powerful capabilities and use cases
-
aether_primitives
Helpers for common SDR and signal generation operations
-
struct_iterable
providing a proc macro to make a struct iterable
-
dynstack
A stack for trait objects that minimizes allocations
-
kube-core
Kube shared types, traits and client-less behavior
-
closure_attr
An attribute macro to simplify closure captures
-
whiteout
macros that erase the type of any value into an impl Trait for a given trait
-
borrow-or-share
Traits for either borrowing or sharing data
-
grade
A convenience macro for gtk-rs
-
anony
Anonymous struct
-
tagged-pointer-as-enum
A set of structs, traits and macros to implement tagged pointers
-
illicit
An implicit thread-local environment which is indexed by type
-
stringreader
wrapper for strings so that they can be consumed via the std::io::Read trait
-
conditional-assignment
very simple, small crate to help make conditional assignments more ergonomic
-
todo_using
A super small crate only exporting a single macro to "use" parameters
-
oneline-eyre
A fork of
simple-eyre
which outputs errors on a single line -
rerast_macros
Macros for use in Rerast rules
-
string_morph
string case transformations with an emphasis on accuracy and performance. The case conversions are available as functions as well as traits on String types.
-
mod_use
pub mod xxx; use xxx::*;
-
typeable
Exposes Typeable, for getting TypeIds at runtime
-
similar-structs-macros
Quality-of-life macros for more concise struct/enum definitions
-
unwind_safe
Readable unwind-safe code thanks to a try-finally-looking builder pattern
-
resultit
Iterator adapters for iterators over results
-
cudd-sys
Bindings for CU Decision Diagram library (CUDD)
-
enum-lexer
A proc_macro lexer generator. using
enum
-like syntax. -
enum-extract-error
A companion crate for
enum-extract
that exports an error type -
butcher
An easy way to interact with structs and enums wrapped in Cows
-
task_scheduler
easilty schedule an FnOnce to run in the future
-
notzero
macro for constructing
std::num::NonZero*
from constants -
tupleops
work with tuples
-
fed
A sketch implementation of anonymous, tagged unions in stable Rust
-
multi_stack_queue
Abstraction layer for a stack-allocated multi-queue with bounded length. WIP
-
crashreport
Automatic GitHub crash reporting system for any Rust crate
-
savvy-bindgen
Parse Rust functions, and generate C and R code
-
wurm
Non-fatal, strongly typed errors
-
sophia_indexed
toolkit for RDF and Linked Data - Utility traits and functions for index-based implementations of graphs and datasets
-
kvtree
Heterogenous in memory key value tree storage
-
iter_from_fn
Create iterator from repeatedly aplying a function that takes no parameters
-
classes
Dependency-free macro that simplifies the process of building class strings for DOM elements
-
datafet
Few functions that we use in all of our Rust applications
-
sycamore-state-core
sycamore-state core types and trait definitions
-
string-utility
substring implementation (with the RangeBound trait), keep string before or after a specified string, etc
-
py-comp
A macro implementing a Python-like generator expression
-
fuzzy_match_flex
Fuzzy matching library based on the popular
FuzzyWuzzy
library for python -
xkcd_unreachable
macro xkcd_unreachable!() inspired by https://xkcd.com/2200/
-
quick_io
facilitate input and output within programs, with a set of macros
-
try-drop
Batteries included error handling mechanisms for drops which can fail
-
pgx-utils
functions for 'pgx'
-
sha2-derive
exporting a derivable
Hashable
trait that works withsha2
-
derive-attribute
A set of macros to automatically deserialize standard attributes
-
polimorphism
Function overloading via a procedural macro
-
smartcow
a cow for smartstrings
-
fmterr
Sane error reporting that just works
-
default-impl
A macro for implementing traits with their default implementations
-
err-convert-macro
Errors converting macros
-
localization
t! macro, the easiest way
-
bystr
macro to create compile-time, fixed length, byte array from a string
-
split-iter
Allows splitting of iterators
-
whiskers-widgets
Dynamic UI sub-system for whiskers
-
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)
-
oxydized-money-macros
Companion library to oxydized-gains providing convenience macros
-
roadblk
Validator integration
-
dbg_mac
Handy debug only macros
-
sendkeys-rs
A macro to send keystrokes using the windows crate
-
simplify
simplify-js port to rust
-
orderless
Orderless/named functions in Rust.
add!(b = 2); // 4
. -
internship
Interned string and more
-
e_macro
A module for e library, it provides some utility macros for Rust
-
another-visitor
Lets you derive visitor pattern implementations
-
liftor
Functors for Rust lifetimes
-
auto-currying
Automatically implement Curry for callable types such that they are curried functions
-
vlq-bij
Bijective Variable-Length Quantity encodings
-
flag-mast
Ergonomic Rust bit flags
-
type-weave
Helpers for joining custom data types
-
try-guard
A guard! macro inspired by the guard Alternative function from Haskell
-
document_validator
A small library to help you implement document validation
-
tyenum
Attribute macro for type enums
-
do-not-use-testing-rosidl_runtime_rs
Message generation code shared by Rust projects in ROS 2
-
garando_pos
Backport of libsyntax_pos
-
near-safe-cell
A more ergonomic 'UnsafeCell' wrapper/replacement
-
enum-repr
Derive enum repr conversions compatible with type aliases
-
flexpiler
Deserialiser aiming at high customizability
-
dittolive-ditto-sys
Native bindings to Ditto library
-
easy_switch
A macro for traditional C-style switch statements
-
signed_distance_fields
SDFs (signed distance fields) and some operators to play with these SDFs
-
mcurry
Macros for creating curried functions
-
libmw
constructing a pipeline of middleware functions
-
break-block-macro
A little syntactic sugar to tide us over until the
?
operator can be used to exit try-catch scopes -
persian_str_rs
functions for working with Persian strings in Rust
-
racer-interner
thread-local string interner for racer-rust
-
algtype
Conversion between data and its representation, like Haskell Generic
-
xitca-service
async traits for xitca
-
eiffel-macros
Eiffel is a library for Eiffel language inspired guard clauses with Rust macros. This is the macro rules part of the library.
-
btl
shell scripting in rust. Github Repo: https://github.com/znx3p0/btlsh
-
enum-utils-from-str
Code generation for mapping from strings to arbitrary values
-
debug_unwrap
Adds the method debug_unwrap for when you just want to make it compile
-
fruit-salad
Compare apples and oranges (and more). Trait object reference casting and trait object comparisons.
-
iter-skak
Combines std::iter::Skip and std::iter::Take into one
-
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
-
coercible_errors
Zero-cost error handling for generic traits
-
navigator
A Macro-heavy Domain-Specific Language for console apps with menu systems
-
safe_unwrap
allows unwrapping and annotating that the unwrap will never fail. Does not require
std
. -
typed_macros
Adds typing to your macro's arguments, making it a lot less of a pain to deal with them
-
serde_extra
Various de/serialization methods
-
retryiter
A wrapper lib on top of rust Iterator with added retry support
-
impl_ops
Macros for easy operator overloading
-
iter-diff
Differences between iterators
-
fang_oost
implementing Fang and Oosterlee's algorithm for inverting characteristic functions
-
termal_core
contains implementation for the termal library
-
exposed-macro
Contains macros required by "exposed"
-
string-eyre
Convenience traits for dealing with errors that don't want to eyre
-
deflect
Reflection in Rust via DWARF debug info
-
page-turner
A generic abstraction of APIs with pagination
-
ld_preload_helpers
Macros to run code at load time and override C functions
-
prost-unwrap-core
A procedural macro implementation for prost-unwrap library
-
type_reflect
Extensible runtime reflection through a Derive macro
-
targets
Some helpers to get you started with declarative programming in Rust
-
tugger-snapcraft
Snapcraft packaging primitives
-
const-ft
Macro for wrapping const fn in a feature gate
-
nullable-result
A replacement for Option<Result<T, E>> or Result<Option<T>, E>
-
exonum_leveldb
An interface for leveldb
-
rstgen
Even simpler code generation for Rust
-
never-say-never
The never type (the true one!) in stable Rust
-
heimdall_errors
Macros for From trait errors
-
ra_ap_limit
TBD
-
ts_quote
Procedural macros for quasi-quoting TypeScript from Rust
-
singleton-cell
A more powerful Ghost Cell allowing the use of any singleton as the key
-
makepad-internal-iter
Internal iterators
-
rayon-join-macro
A convenience n-nary macro around
rayon::join()
-
big_s
Rust’s missing
String
literal -
cassandra_macro
Create Cassandra tables and CRUD CQL prepared statements from Rust structs. (custom derive: cassandra_macro_derive)
-
anyhow_ext
Extension of anynow
-
smol-symbol
compile-time globally unique, 25-character, 128-bit symbols similar to the Symbol type in Crystal Lang
-
unty
Explicitly types your generics
-
breakable-block
A shim library for a stable implementation of what is proposed in RFC 2046
-
destruct-drop
Macro for dropping the fields of a struct or enum without dropping the container
-
char_combinator
An iterator to create all combination of a given char range
-
audiotags-macro
macros used during the development of audiotags
-
algebloat_macros
RustAlgebloat utility macros
-
pluck
Extract values conveniently
-
disuse
The way to notify the implementation which return value is disuse
-
mapstruct
Create refactor safe derivatives of Structs with proc-macros
-
amethyst-inspector
unity-like inspector for amethyst
-
signrel
Trait expressing relationship between integers of different signedness
-
fix_me
A very simple macro that lets you write temporary code that WILL NOT build in release mode
-
vector2d
The spoon of 2D vector libraries, intended for simple game development
-
target-cpu-fetch
Exposes a method for querying the CPU name from the current target specification JSON file
-
size
expressing, formatting, and interacting with file sizes
-
iter_vals
On the fly iterator creation
-
compiler-test-derive
A macro to generate easily tests across compilers and engines
-
linear_type
Linear types for rust
-
beaver
setting up Rust objects inspired by factory_bot
-
structural
Field accessor traits,and emulation of structural types
-
trait-tactics
Macros that provide common patterns for implementing traits in terms of other traits
-
reglex
lexer generator using regex
-
dependent_ghost
Matt Noonan's 'Ghosts of Departed Proofs'
-
as-result
Traits for converting types which may be interpreted as or into a result
-
see-through
traits to provide access to internal fields of generic structs
-
orbtk
The Orbital Widget Toolkit
-
wgpu_bind_dsl
An experimental macro dsl for describing Bind layouts in wgpu-rs
-
wrapping_macros
A macro for wrapping arithmetic
-
enum_cycling
Small macro for working with enums
-
err-context
Lightweight context layers for stdandard library errors
-
default_macro
My default!() macro
-
curmacro
usefull macros like struct getters and setters creation macros
-
ahqstore-types
Standard types used by AHQ Store
-
lucidity-core
A distributed orchestrator platform for Rust
-
whaterror
Customizable handling for fallible main
-
fortify
convenient way to bundle owned data with a borrowing type
-
sod-crossbeam
Service Oriented Design - Crossbeam
-
beetle-nonzero
Combines the std
NonZero
structs into one struct -
iota-rs
macro for other Go refuges who miss const blocks and iota
-
cast_checks_convert
-
traverse
Proof-of-concept trait for internal iterators called traversals
-
slice_adapter
help share slice between thread
-
matches2
A macro to evaluate, as a boolean, whether an expression matches a pattern
-
fold-license
Folding licenses from multiple dirs with
cargo
/Cargo.toml andyarn
/package.json -
teo-teon
Object notation for Teo
-
variant_counter
Rust's Enum variant counter
-
rust-cef
Trait to serialize/convert/map a Rust item into an ArcSight Common Event Format string. This trait enables logging libraries and frameworks that may wish to integrate with standardized…
-
plist_plus
reading and writing plists, compatible with libimobiledevice
-
displaydoc-lite
Implement the Display trait using your standard doc comments
-
iter_all
Iterate all enum vases
-
serde_type_name
lookup name of type for any struct or enum that derives serde Serialize
-
flow-control
Declarative macros for common flow-control use cases such as break, continue, and return
-
poison-guard
maintaining sane state in the presence of panics and failures
-
haz
A thin abstraction over polymorphic environments
-
dyn-error
Macros for dynamic errors
-
bytecoding
Derive macro for encoding and decoding instructions and operands as bytecode
-
rucky
Macros for hasty, sketchy, funny Rust programming
-
handlevec
Small abstraction over index-style iteration over a vector, with deletion, insertion, and other operations on the vector while iterating
-
stuff
Stuffing things into pointers
-
en
The easiest numeric traits!
-
try_convert
Auto-generate TryFrom and an error type, with minimal boilerplate
-
fn_macro
函数宏
-
transducers
A transducer library for Rust
-
birds
Combinators using Rust macros
-
stupiderators
Iterators for Indeedee, mostly
-
io-adapters
Adapters to convert between different writable APIs
-
similarity
calculating similarity between numerical slices
-
darkly
scanf-style scanner
-
std_prelude
prelude that the rust stdlib should have always had
-
hatch_result
A result-like struct that returns on Ok, instead of on Err when ? operator is used
-
for_each_repeat
Iterator::for_each
that can repeat current iteration -
namable_closures
types and macros to create namable closure types
-
these
A three-way enum capturing This, That, or Both. Inspired by the Haskell package https://hackage.haskell.org/package/these
-
either_n
An Either enum with N variants
-
tor-async-utils
Async/futures helpers for use with Tor
-
foreignc_util
error handling in foreignc
-
defer-drop
Defer dropping large types to a background thread
-
thinnable
Thin references to unsized types
-
stringedits
Edit trait and associated iterators for small edits to strings
-
ad-hoc-iterator
Create an ad hoc iterator
-
simple-dmenu
macro to call dmenu
-
totally-ordered
No dependency, no-std totally ordered f32/f64
-
panda_pile
Traits for lazily producing and consuming sequences
-
quantified
Specify the universe: None, Some, Excluding, and All
-
tournaments
running tournaments
-
win9x-sync
Windows 9x compatible synchronisation primitives for Rust
-
canpack
Canpack Rust utilities
-
multi_try
Safely combine results
-
error-ext
Error utilities
-
enum_str
Creates a unitary enum and conversions from enum variants to string and vice versa
-
pointer-identity
Wrapper type to treat the pointer address of types as identity rather than the value
-
components-arena-traits
Does not intend for direct use
-
dyn_partial_eq
PartialEq macros for trait objects
-
generic-bytes
A derivable trait for conversion to and from an array of bytes with a type-level size
-
argst
A one-macro crate for generating StructOpt boilerplate and binding args
-
strck_ident
Checked owned and borrowed Unicode-based identifiers
-
erdp
display an error and its nested errors
-
pythonic-helper
that provides Python-like functions (and some surprises)
-
opera
Marker types that are easy to understand
-
herbie-lint
A rustc plugin to check for numerical instability
-
sqlx-executor-alias-macro
SQLx Executor alias macro
-
futures-signals-structs
Derives mutable versions of structs for the futures-signals crate
-
notosans
providing several of Google's Noto Sans true type fonts as slices of bytes
-
maplit2
Collection helper libraries and “literal” macros for HashMap, HashSet, BTreeMap, and BTreeSet
-
rassert-rs
macro for expressing Result-returning assertions
-
cute
A macro for Python-esque comprehensions
-
east
Full-stack web library for island architecture
-
error_def
syntax extension for generating error-handling boilerplate code
-
aspect
Toolkit for Rust
-
wtflip
A language in a Rust macro... or something.
-
hazmat
A collection of helpers for working with hazardous materials in Rust crates
-
detour3
A cross-platform detour library written in Rust
-
tyname
Retrieve type names during program execution on stable Rust
-
error-ex
designed for those who desire clear, explicit, and easy-to-use error creation and handling
-
symm_impl
Attribute macro that automatically implements a symmetric trait
-
context-rs
Pass values down the async call stack, with no_std and no_alloc support
-
todo
Minuscule
TODO!
macro that lets you type-check and test but prevent compiling in release mode -
rs-utilities
Some utilities
-
osm-geo-mapper-macros
Contains various helper macros for the osm-geo-mapper crate
-
zoomer
Making Rust a true modern language™️ with revolutionary macros
-
toast-cell
Zero-cost type-branded cell with no runtime checks
-
splop
Helper functions to determine the first/last repetition of something
-
variant_count
Derive macro for enum which adds to it the count of variants
-
repr-trait
Traits to represent Rust reprs
-
value-bag-sval2
detail for value-bag
-
polymorphic-constant
A macro to define a numerical constant in multiple types at once
-
namedarg_rustc_macro
namedarg main package
-
input-macro
No-nonsense input!(...) macro for Rust
-
makero
A
macro_rules!
macro to aid in the creation of complexmacro_rules!
macros -
debug_utils
enhanced debugging in Rust
-
rich-phantoms
Phantom types with control over variance and sync/sync inheritance
-
objc-macros
Handy macros for interacting with Objective-C from Rust
-
maybe-uninit-ext
Extended maybe-uninit types
-
higher_order_functions
A small collection of traits for implementing higher order functions
-
ctrlgen
Generate enums for message-passing services
-
compound-error
Compound errors with flat hierarchy
-
bail_macros
Bail macros for Options, Results and more
-
enum_delegate
Easily replace dynamic dispatch with an enum, for speed and serialization
-
look_inside
Look inside structs, enums, and unions!
-
namedarg_hack
namedarg main package
-
sentry-error-chain
Sentry integration that allows capturing error-chain errors
-
ngram_iter
An iterator of arbitrary N-grams of rust Copy types
-
fb_cloned
Cloned macro
-
concat_strs
Macro for quickly building a String from components
-
eth2_ssz_types
types with unique properties required for SSZ serialization and Merklization
-
printrn
A macro to replace
println!()
, that will replace all\n
with\r\n
, e.g. for crossterm or other raw terminal work. -
dev_bestia_string_utils
string manipulation
-
unused
Allows for unused generic parameters that do not act like they are owned
-
magic_static
Global singletons initialized at program start, an alternative to lazy initialization
-
pl-lens
support for lenses, which are a mechanism in functional programming for focusing on a part of a complex data structure
-
generic_static
Generic static variables in generic functions
-
namespace
abstraction
-
steel-repl
REPL library for steel
-
symbol
globally interned strings
-
marker_trait
Implement a blanket implementation for a marker trait
-
common_regex_rs
Set of common regex for Rust
-
derive-alias
Alias multiple derives as one
-
source-chain
Formats StdError with it's source chain
-
const_typed_builder
Compile-time type-checked builder derive using const generics
-
detach
helper type for being able to detach/reatach a member item
-
as_base
Cast trait objects to some base class
-
stringy
A tiny Rust crate for generating byte-sized enums that represent a fixed, ordered set of &str data
-
padded-iterator
An iterator that can be padded to a specified length
-
env-var
Macros providing easier access to environment variables in rust
-
rovv
provide the anonymous row type (poor-man's row polymorphism) in rust
-
pollock
An ergonomic and performant processing-like library for generative art and simple games in Rust
-
clone-macro
Super simple utility macro for cloning before moving into a move closure/block
-
strong
Strongly typed String
-
codespan-derive
derive(IntoDiagnostic) for easy codespan integration
-
current
setting current values for stack scope, such as application structure
-
typers
Type level programing
-
emplacable
Return unsized values from functions
-
lazy-attribute
convenient attribute macro for lazy function execution
-
dedup_iter
Deduplicating iterator adapters
-
boolinator
trait, which lets you use Option and Result-style combinators with bools
-
runtime_injector
Runtime dependency injection container
-
retry-block
retry operations that may fail with configurable backoff behavior using macros over blocks of code
-
bset
Fast and compact sets of bytes or ASCII characters
-
ruroonga_command
A tiny Groonga query builder and generator
-
general-iter
An enum of iterators to avoid Box<&dyn Iterator>
-
blackboxmc_general
Helper functions for BlackboxMC
-
io-read-line-prototype
Prototype for io::read_line
-
temporary_enum_delegate_0_3_0
trait delegation functionality for enums and structs
-
shared_error
SharedError wrapper for cloneable Error
-
fixed-macro-types
Macro aliases used in the
fixed-macro
crate -
metatype
Helper methods to determine whether a type is
TraitObject
,Slice
orConcrete
, and work with them respectively -
qcomms
small library that offers a simple, zero-cost message passing trait. no async-trait
-
make_option
turns any type into an option, only if it is not already one
-
leafslug_time
Useful set of time-oriented functions, for my leafslug collection
-
partial_function
A clean way to define function as a set of subfunctions where each has defined start and end bounds
-
derive_default_builder
derives a builder implementation relying on all fields implementing Default
-
validator_types
Basic type for validator and validator_derive
-
err-per-field
A more fine-grained control over field-level error handling
-
syn-test-suite
Test suite of the syn crate
-
user-panic
Error messages
-
units
Measure for Rust. Easy to use, type-safe and customizable.
-
spidermeme
Traits to test for type equality and type inequality
-
the-newtype
The Newtype trait
-
sod-bus
Service Oriented Design - Single Producer Multi Consumer
-
asyncsync
Runtime-agnostic synchronization primitives for asynchronous Rust
-
fmt2io
A bridge between std::io::Write and std::fmt::Write
-
singleton-trait
Singleton trait for types with unique values and Erased type for zero-sized ownership proofs
-
typesafe-builders
Infallible compile-time checked builders for your structs
-
match-commutative
Match on patterns commutatively, reducing the use of duplicated patterns. ↔️
-
generic_singleton
allowing for generic singleton patterns
-
tectonic_errors
A boxed error type for Tectonic, with supporting utilities
-
impl-tools-lib
Helper macros: autoimpl
-
exprtk_rs
Rust bindings to the ExprTk C++ library (http://www.partow.net/programming/exprtk)
-
thisisplural
#[derive(Plural)] for creating frictionless new types with any collection type like Vec or HashMap
-
duplicate_macrotest
Fork of the macrotest crate specifically to test the duplicate crate
-
failsafe
A circuit breaker implementation
-
tightness
Define types bound by arbitrary invariants and conditions
-
switch_statement
switch statement macro
-
parse-format
Format string parser used by rustc
-
outcome
A Success/Failure type for rust
-
unc-client-primitives
hosts UNC client-related error types
-
ratelimit_rs
The ratelimit package provides an efficient token bucket implementation
-
chandeliers-err
Internal error message generators for the Chandeliers project
-
onlyerror
Obsessively tiny error derive macro
-
pattern_code
Given a path patterm matched source code
-
simple-counter
Macro for generating thread-local static counters. Useful for basic ID generation.
-
failchain
Ergonomic companion library for failure
-
try_or_wrap_s
?
ortry!
macro, with an additional wrapping of the error in something else -
common_macros
common macros like
hash_map!
orhash_set!
(WIP) -
cxx-symbols
detail of the
cxx
crate -
ambience
Lightweight library for passing ambient parameters
-
rustring_builder
string builder
-
c-emit
Polished builder API to write C Code
-
eliza_error
“Times are bad. Children no longer obey their parents, and everyone is writing an error handling library.” — Cicero
-
enum_downcast
Safe downcasting for enums
-
sass-alt
A more powerful alternative to sass-rs that provides SASS functions, SASS importers and source map manipulation
-
self-reference
Helper
-
pfn
Provide fn_trait’s
call
,call_mut
, andcall_once
on Stable Rust -
r4
A compact macro that generates iterators using for comprehensions and natural Rust syntax
-
gamo
A Range like struct for user defined types
-
also_sync
Macros to automatically wrap async functions as sync
-
sensible-dbg
Fork of the std::dbg macro that has no effect on release builds
-
pingora-error
Error types and error handling APIs for Pingora
-
phantomdrop
Go-like deferring of function calls
-
ataraxy
Discord slash commands framework for Serenity
-
lsdata
LSD (Less Syntax Data) configuration/data transfer format
-
call-once
A type that can only be called sucessfully once
-
trait-set
Support for trait alias feature on stable Rust
-
rw-exact-ext
Extension of std::io to read and write data types with exact amounts of bytes
-
thin-slice
An owned slice that packs the slice storage into a single word when possible
-
crossdylib
Cross-platform shared state across shared libraries/modules
-
find_all
A (nearly) identical alternative for
Iterator::find
which returns anOption<Vec<usize>>
containing all elements which meet a given predicate (instead of just the first) -
negate
Attribute macro that generates negated versions of functions that return booleans
-
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
-
ejni
working with JNI more pleasant
-
sensitive_trait
A marker trait for sensitive information
-
kv-derive
Derive struct conversions from and to key-value vectors
-
proc_use
Semi-dynamic mod and use
-
only_every
rate-limiter macro: only_every!(Duration::from_millis(200), expensive_expression)
-
timed-locks
Smart pointers to
tokio::sync
locks that either panic or error after a timeout -
max_values
Struct and iterator extension trait for getting max values out of given
-
shoggoth
Generic and type-level programming for Rust
-
chunk_iter
Chunked iterator generic over any iterator
-
numeric_literals
Easily cope with numeric literals in generic Rust code
-
trait-alias-macro
Trait Bound Alias using Macros
-
import_file_macro
Macro from compile-time file loading
-
bindgen-cfg
Specify bindgen settings using yaml
-
thiserror_core2
derive(Error) (no_std-enabled using core2)
-
trait_exerci
how to understand the trait for rust
-
gitoxide-core
implementing all capabilities of the gitoxide CLI
-
async-wormhole
Async calls across non-async functions
-
auto-builder
A derive macro to implement the builder pattern for any struct
-
array_ex
Easy and powerful compile-time array initialization
-
big_mac
A metamacro toolkit for writing complex macros
-
arcstr
A better reference-counted string type, with zero-cost (allocation-free) support for string literals, and reference counted substrings
-
unhtml_util
some utility traits and functions for unhtml
-
split_exact
splitting strings into arrays of slices
-
csharp_binder
generate C# bindings for a Rust foreign function interface (FFI)
-
result
Helpers for dealing with nested Result and Option types
-
ov-config
An ini/toml configuration parsing library that provide macros and convenience functions for generating configuration schema, sanity check, flush, refresh, etc
-
write-to-file
Write to a file, simple helper fn and traits lib crate
-
check
Convenience assert!-like macros which return instead of panicking
-
intercom
writing COM visible Rust components
-
fluid-macro
Write long method chains as a series of steps instead, and more!
-
ret_ty_attr
Specify the return type depending on configuration conditional checks
-
error-trees
Fail with multiple errors, istead of only the first
-
plexer
A Pattern-matching LEXER
-
error-chain-mini
error-chain for minimalist
-
rattish
Cast between trait objects
-
unzip3
Same as Iterator::unzip, but for 3 items. Based on Rust 1.6 implementation.
-
dicom-object
A high-level API for reading and manipulating DICOM objects
-
radicle-std-ext
Monkey patches of std types
-
shadow-clone
A macro to clone variables into the current scope shadowing old ones
-
iter-python
Python generator expressions and 'list' comprehensions
-
rust-enum-derive
(and program) for generating rust enums and associated traits from text files
-
pstr
Global String Intern Pool
-
unique_ptr
smart pointer implementation in Rust
-
nyavascript
Lisp implementation. Called NyavaScript because I'm a monster
-
edgedb-composable-query
ComposableQuery trait for EdgeDB. Use with edgedb-composable-query-derive.
-
lucene_query_builder
A procmacro derive crate to generate lucene query builder for Rust structs :
-
runtime-contracts
Structured, understandable runtime contracts
-
cex
Checked exception simulation
-
rc-borrow
Borrowed forms of Rc and Arc
-
macaroni
The missing macro std library for Rust
-
mods
Simpler module declaration
-
slid
labeled IDs
-
retry-policy
Retry Policy
-
derive_convert
Derives 'impl (Try)From for Self' and 'impl (Try)From<Self>'
-
memory-size-type
A data type for dealing with memory sizes
-
bitutils
Bitfield macro and utilities
-
cismute
Safely transmute type to itself in generic contexts
-
powerfmt
powerfmt
is a library that provides utilities for formatting values. This crate makes it significantly easier to support filling to a minimum width with alignment, avoid heap… -
cli-failure
Failure(String)
implementingstd::error::Error
. Includes convenience macros making it perfect for usage withwrap-match
in CLIs. -
slashies
reduce the boiler plate code needed to create slash commands for a Discord bot
-
zst
Zero-sized generic type with the associated type exposing the type parameter
-
with-id
trait providing method for getting string id from struct
-
stack-tokens
stack token implementation for convenient TLS borrowing
-
binstring
Binary strings
-
xstd
eXtended STandarD library
-
gtk_widget_macro
A derive macro helps you handle Gtk widgets
-
parametrizer
safe crate for parsing properly-formatted math strings representing parametric functions into Rust functions
-
cmd_error
print an error message and exit while unwrapping Options and Results
-
digitize
Traits for accessing digits of primitive integers & floats
-
RustyEmitter
RustyEmitter is a basic implementation of a simple emitter. The module expose a Events trait with the on, off and emit methods, and a default implementation of that trait, called Emitter.
-
lit2
Collection helper libraries and “literal” macros for HashMap, HashSet, BTreeMap, and BTreeSet
-
hs-bindgen-types
types behind hs-bindgen ergonomics
-
exun
Handle unexpected errors
-
vm_lang
interpreted language written in Rust
-
forward_ref_generic
Generically forward references for operations on Copy types
-
rvs-repl
REPL for Rvs - A library for defining and evaluating random variables using a simple DSL
-
qcontext
One-time initializable static state with statically-checked zero-cost interior mutability
-
enum_derive
macros for deriving additional functionality for enums
-
variant_access_traits
A set of traits and for defining a common api for Rust enums based on the std::variant api in the C++ standard library
-
cartesian_array_product
Arrays of the cartesian product of a set of items
-
incomplete
incomplete!(), a compile-time checked version of unimplemented!()
-
visita
Elegant implementation of the Visitor Pattern
-
kg-symbol
Atomic strings in Rust
-
c_str
The old c_str functions
-
safe-libc
Safe wrappers around the
libc
crate -
burntnail-utils
Set of Utilities for Errors, and some cachers/timers/macros
-
conventus
Traits for assembling and disassembling items
-
slip
A hassle-free utility to encrypt error handling strings in your public binaries to protect your business logic
-
oneline_str_enum
Format and parse enums as strings with macros
-
statenum
enabling enums in state-pattern logic
-
slicemath
element-wise operations on arrays of numeric values
-
frankencell
An alternative to
qcell
andghost-cell
that instead uses const generics -
comparator
A Java-like Comparator type
-
svgmacro
Write any SVG easily from Rust!
-
stream_assert
Macros to simplify testing of
Stream
based APIs -
histo_fp
histograms with configurable floating point buckets and floating point samples
-
newtype-derive-2018
macros for deriving common traits for newtype structures
-
string-builder
string builder type
-
tap-trait
Inspect and mutate values without leaving the method chain
-
jmdict-enums
Autogenerated enums for the jmdict crate. Do not import directly.
-
hlist
Heterogeneous list with type-directed search
-
inner
The inner! macro descends into an enum variant. It's more flexible than try!() and unwrap(), and it works with your enum, too!
-
moveslice
A one-function crate to move chunks in a slice around
-
nanocl_error
Nanocl error types
-
rustkell
haskell like functions in rust
-
atomic_ref_box
Box with thread-safe, immutable weak references
-
specialize
Type specialization macros and helpers
-
multindex
Index slices with multiple const indices/ranges
-
staticinit
Safe mutable static and non const static initialization, and code execution at program startup/exit
-
unwrap_let
macro for quickly unwrapping a refutable pattern
-
variante
Statically-verified enum variant names as strings
-
iter-tee
Make several clones of an iterator
-
copypasteck
A plugin lint for detecting
if
andmatch
branches with duplicated conditions or contents -
byte-mutator
define staged mutations for a series of bytes
-
swahili-dsl
A Swahili-based DSL made for educational purposes
-
macon_api
builder macro-based generator with its own idioms
-
throws
A macro for easy creation per-function errors
-
defunctionalize
Defunctionalization as a proc-macro over modules
-
vec_split
Splits arrays of vectors into arrays of items
-
unsafe-any
Traits and implementations for unchecked downcasting
-
portrait-framework
Framework for implementing portrait fillers
-
fuzzypath
Quick & dirty fuzzy path comparison
-
tiago_functions
Algumas funções para uso externo
-
xops
procedural macros for overloading operators
-
easify
Development tools. Includes various helper functions and proc-macros to simplify your code and boost your development
-
scalar_types
A module that wraps scalar types in an endian safe type
-
r-ex
Zero-bloat Rust core library extensions
-
with_capacity_safe
A safer alternative to Vec::with_capacity with into_raw_parts which can be used from stable
-
djb_hash
commonly used Daniel J. Bernstein style hash functions.
-
cove
Casts Of Varying Elegance (COVE): extension traits for casting numerical types
-
axpy
Macro for auto-vectorizing n-ary linear combinations
-
adjacent-pair-iterator
An iterator over adjacent pairs in another iterator
-
project-uninit
Macros for safe references to and initialization of fields in MaybeUninit structs
-
assure
macros for Rust runtime checks and error handling
-
meritrank2
Meritrank library with additional experimental functions
-
nstd_env
NSTD env crate
-
async-middleware
async monad(ish) middleware in Rust using tuples and async trait transforms
-
udf-sys
UDF system bindings
-
enum_properties
A macro for declaring static properties on enum variants
-
vect
providing vectors for game development that use a Unity-like API
-
tokio-stream-extra
stream extensions
-
typify
JSON schema to rust type code generator
-
map_retry
Zero dependency trait that provides retry function that works with iterators
-
prefixopt
See Read Me. Automatically derive options from structs and enums to use with clap.
-
nommy
Type based parser
-
result-ext
Extends
Result
with additional operations -
fmt-cmp
Traits and utilities for lexicographically comparing values in their
Display
representations -
truthy
Check if a value is "truthy"
-
larc
Lazy Arc/Weak pointers
-
query_interface
Dynamically query a type-erased object for any trait implementation
-
is_none_or
function for the Option type
-
rangetree
Range-tree for storing non-overlapping scalar ranges
-
spans
Split an iterator into contiguous spans
-
reinterpret
Low level utility functions to reinterpret arrays of data
-
irox-types
Enums and structs to describe Rust's basic type system
-
slablit
Literal for slab creation
-
taker
Option-like taking for everyting with a default value
-
nanopre
A a zero-dependency, no-unsafe implementation of a minimal C-style text preprocessor
-
multi_stream
Aggregate multiple streams of different types in a single stream with an item type that is a tuple of the incoming stream items
-
sh-inline
Macros to run inline shell (bash) script
-
dyn-ptr
A box that stores types like pointers, forgetting everything besides
Self: Unsize<dyn Trait>
-
retry_durations
generates a duration iterator for [retry] crates
-
ees
error-handling library
-
constrained_type
On the fly value objects in Rust
-
singleton-stepanov
isn't meant to be used by itself, but as template for your our types. Attempt to do Efficient Programming with Components: Lecture 2 Part 1, Efficient Programming with Components:…
-
fallible-option
Fallible is an Option with inverted Try-semantics
-
interpolate_idents_gnzlbg_fork
Useable macro identifier concatenation plugin
-
standalone-quote
Fork of quote that allows disabling the proc-macro feature in proc-macro2 so as to remove the rustc dylib dependency
-
phantom_newtype
Lightweight newtypes without macros
-
match_opt
A macro for turning a partial match into a full match returning an option
-
hemtt-preprocessor
A preprocessor library for hemtt
-
rich-result
Rich result type differentiating between recoverable & fatal errors
-
derive_from
derive(From) macro
-
batbox-tuple-macros
Macro for calling your macro for all tuple sizes
-
lua-macros
Useful macros to join Lua with Rust
-
cosmian_std
Cosmian std lib to write Rust MPC programs with easier abstractions and helpers
-
sod-tungstenite
Service Oriented Design - Tungstenite
-
derive_di
realized the dependency injection pattern
-
log-instrument
Offers an attribute procedural macro that adds
log::trace!
events at the start and end of attributed functions -
generic-statics
generic statics for rust
-
crowbook-intl
An internationalization library to localize strings, translating them according to runtime option, using macros
-
lubeck
Functional programming framework written in cutting edge rust
-
string_iter
An overly designed &str iterator made with zero-copy parsing in mind
-
unwrap_or_do
Unwrap the Result or do an expression followed by returning the result
-
oyashio
spmc streams
-
fstrings
Python3 fstring interpolation in Rust
-
dupe
Marker for types which are cheap to clone
-
higher-kinded-types
"Generic generics" / higher-kinded APIs in stable Rust
-
unreachable_checked
unreachable!()-like macro that causes linking error instead of panicking. May be used to statically ensure some code won't panic.
-
restate
state machine library
-
appro-eq
Approximately equal traits and assertion
-
rsb_derive
An opinionated macro implementation for Rust struct builder pattern with compile-time validation
-
rusty-peg
A macro for defining PEG parsers
-
pathsep
a small macro to enable easy path construction in other macro calls
-
interior_mutability_pointer
A wrapper around
Rc<RefCell<T>>
allowing immediate access to inner methods -
error_hook
error hook
-
cor_iter
Correlate of two iterators
-
albert_stream
minimal procedural macros parser that produce a convenient AST
-
formy
derive macro to turn structs into html forms
-
text-block-macros
Create a multiline string literal
-
thistermination
add the Termination trait to error enums inspired by thiserror
-
nested-ref
References to data contained in one or more nested RefCells
-
swiss-army-knife
Common utility code to support linux-support and other projects
-
repository
all kinds of entities
-
macro-circom
Circom DSL providing macros used in Light Protocol
-
uptown_funk
Define host functions compatible with Wasmer and Wasmtime
-
nonzero_lit
Easy, safe, and fully zero-cost NonZero constants and literals
-
hashmap_macro
hashmap macro for creating hashmap from provided key/value pairs
-
model_macro
traits collection
-
polyhorn-style
Shared types for Polyhorn style
-
tartan-c-enum
Define FFI-safe enums that support unknown values
-
retry_macro
A set of declarative macros which retries executing a function upon failure
-
esvc-traits
Traits for ESVC
-
number-types
A typenum clone I made for fun with some positive changes but much fewer features
-
cause
A generic [std::error::Error] implementation
-
stackpin
data that should be pinned to the stack at the point of declaration
-
mogrify
macro for autogenerating a “Parse, Don’t Validate”
TryFrom
implementation for structs -
zkp-criterion-utils
Criterion helpers to benchmark over size and number of processors
-
ewin-term
editor for Window(GUI) users.No need to remember commands
-
nvim-types
Rust bindings to the Neovim C types
-
hs-bindgen-traits
traits behind hs-bindgen ergonomics
-
mdo
Monadic do notation for rust using macro and duck typing
-
eternal_iterator
Trait implementation to promise that the iterator iterates forever
-
struct-convert
Auto Convert between structs
-
unsafe-any-ors
Traits and implementations for unchecked downcasting
-
kinder
small crate which adds an algebraic structure to common Rust structs and emulates higher order types
-
allem
Generate useful variants for your custom types
-
len_constraints
Traits and types to implement type-pinned length constraints in your API
-
game_inventory
An inventory system independant of item data
-
identifiers
working with rust identifiers and keywords
-
fused_error
working with composable errors
-
tapir
Adding tapping functionality to rust
-
trait_enum
Easy enum wrapper that implements all traits that the wrapped objects implement
-
std-io-peek
Peek trait
-
num_alias
macros to declare 'type checked' aliases for integers and floats
-
stable-inline-python
Stable Variant of inline-python
-
fastperm
A dead-simple, extreme fast permission flag system for Rust with no dependencies
-
picostring
A stack allocated string that requires no extra space to store length
-
funlib
Rust functional library
-
function_string_builder
A string builder that takes a user-provided function
-
substrs
substring functionality for the str type in Rust
-
convertable-errors
defines an ergonomic macro for deriving From<Foreign> conversions for variants of Rust enums
-
read-restrict
Restrict the number of bytes read from a reader
-
git-ref-format
Everything you never knew you wanted for handling git ref names
-
beetle-iter
A collection of basic iterators
-
to_unit
ToUnit; Any type to () syntax sugar
-
anymap
A safe and convenient store for one value of each type
-
tmux-lib
Tmux helper functions
-
leaderboard
functions for Vec such as ranking with ex aequos
-
plmap
Parallel pipelined map over iterators
-
arcmutex
A convenience library for working with
Arc<Mutex<T>>
s -
new_flattened
Macro to flatten nested calls of
new
s -
yadi
dependency injection framework for writing applications with the Rust programming language
-
enum-to-types
Macro for generating pseudo-enums for type-level programming
-
yasi
String Interner
-
collect_array_ext_trait
Collect an iterator into an array
-
summavy_codecs
Fast field codecs used by tantivy
-
zipped
recursively unzipping tuples, Options of tuples and Results of tuples
-
integer-iterator
Add the ability to iterate over the digit of all primitive integer types. Also exposes the trait so one can implement it oneself.
-
transaction
abstraction library (a.k.a. transaction monad)
-
extended_matrix_float
Float trait for extended_matrix lib
-
flow_impl
Definition of an Implementation trait for flow functions, and a derive macro
-
fallacy-clone
fallible clone
-
const-sub-array
Extract a fixed size sub-array out of an array with complie-time length and offset checks
-
always_equal
A wrapper for types that can't implement Eq
-
vesta
Extensible pattern matching
-
zerror_core
A complete implementation of the zerror:Z trait
-
lambek
Type-Level Programming in Rust
-
quark
Types for manipulating numeric primitives at the bit level
-
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
-
ironplc-dsl
Domain-specific language objects for IEC 61131 language elements
-
detour2
A cross-platform detour library written in Rust
-
docgen
made for dynamically documenting Rust items created by a macro
-
slicefields
Allows for data structures whose members are sub byte aligned (e.g. a one bit alignment)
-
generator_extensions
Basic extensions to Generator types to bring parity with Iterators
-
bracer
Macros to help write ARM assembly
-
soapy-shared
Custom types used by soapy macros
-
dyn_struct2
Construct dynamically sized types safely. Supports arbitrary unsized types, not just slices
-
handler_map
Map from types to functions that receive them
-
trait-union
Stack-allocated trait objects
-
edisp
Dispatch-on-collect for Rust enums
-
fat_type
A type which permits thin references to arrays and dynamic types
-
overflow-error
Common overflow error types
-
yolo-block
Like a
try
block, but automatically unwraps the result -
from_iter
Initialize arrays from iterators
-
enum_index_repr
EnumIndexRepr provides a small macro which allows getting the index on an enum
-
rust-fp-categories
A Functional Programming Library in Rust, Category
-
try_all
Extends iterators with
try_all
to convert iterator of results into result of iterator of okays -
morseclock
not-so-intuitive clock
-
interned
generic Interned<T> which can intern practically any type including &str, slices, and primitives, plus memoization via Memoized<I, T>
-
partial-result
results that return success for non-critical errors
-
merged_range
rangeset that can merge overlap
-
zhi_enum
derive macros to easily use enum
-
slice-copy
Go style copying for slices
-
hetseq
Defines traits and types to work with heterogenous sequences
-
bytebuff
usefull derive macro for serializing data to send ower network
-
variant_access
A set of traits and macros for defining a common api for Rust enums based on the std::variant api in the C++ standard library
-
extract-variant
Destructure expressions into, and return assignments from, a single pattern
-
take-if
A tiny utility for conditionally taking the contents of an option
-
kwarg_macros
Keyword argument plugin
-
fs_util
A package providing a few useful functions that std::fs does not
-
stable-step
Step for stable rust
-
error-utils
Some rust macros to simplify common error handling patterns
-
context-iterators
Iterators adaptors with associated read-only data
-
select_indices
Iterators for taking multiple shared/exclusive references from a slice
-
timely-container-master
Container abstractions for Timely
-
error-context
Methods and types that help with adding additional context information to error types
-
derive-enum-from-into
Derive for From and TryInto for enums with single fields
-
simple-xml-builder
XML builder/writer
-
pyphen-rs
A pure Rust port of Pyphen, a Python hyphenation library
-
iter-opt-filter
Adds an optional filter to iterators
-
u-plus
Pretty Unicode code point literals: U+12345 instead of '\u{12345}'
-
apply_attr
A syntax extension providing higher-order attributes to Rust
-
nias
closure generator library
-
inew
Macroses for constructor generation
-
to_trait
A trait with methods similar to .into() and .try_into(), except they take type arguments
-
dry-mods
Macros to make your module management DRY
-
splitmut
Safely retrieves multiple mutable values from the same collection
-
effective
An effects library, an alternative to keyword generics
-
eset
flags like enums
-
mauzi
Experimental i18n library using proc-macros
-
x-bow
Precise State Management Library
-
inline-const
Inline consts implemented as a macro
-
ripin
that handle Reverse Polish notated expressions, compiles, and evaluate them
-
supertrait
enables default associated types and const fn trait items in stable Rust
-
enum_to_enum
Derives possibly effectful conversions between enums
-
errer
Flexible error management for Rust. An middle-ground between failure and SNAFU
-
clonesure
A helper macro to create closures which will clone its environment
-
variadic_generics
A first attempt in using traits & tuples to work around Rusts lack of variadic generics
-
boar
Flexible clone on write smart pointers with Borrowed, Owned, Arc, Rc and Static variants. Like std's Cow without the ToOwned requirement and additional Rc, Arc or Static variants
-
cursor
A more free Rust-Iterator
-
foot-gun
Friendly aliases for your unsafe code
-
politeness-macro
Isn't it time to be a bit nicer to rustc?
-
extension-eyre
Re-export of color-eyre that introduces Extensions (type-map) to eyre::Report
-
rustspec
BDD style test library
-
eieio
Error Implementing
Eq + Clone
replacingstd::io::Error
-
on_drop
on drop
-
xplane_plugin
types and a macro for creating X-Plane plugins
-
const-size-flatten
Flatten and FlatMap with constant inner iterator size
-
ass
Useless crate for casting
-
maparr
macro to build a static
Map
based on const array -
static_assert_macro
so-called
static_assert
-
stivale_rs
Rust bindings for the stivale boot protocol
-
koption_macros
Some macros that are useful for working with
Option
s -
iterator-ext
An extension to Rust's Iterator
-
catch_panic
A helper macro for safe Java-Rust interop that "catches" Rust panics and rethrows them as Java exceptions
-
try-continue
Allows processing of iterators of Result types
-
try_ops
try catc... ops macro
-
spawn_interval
Call a subroutine at a constant time interval
-
floating-ui-utils
Rust port of Floating UI. Utilities for Floating UI.
-
dynerr
Macros for dynamic error handling
-
array-lit
Macros for array and
Vec
literals with superpowers -
relevant
A small utility type to emulate must-use types
-
has_fields
Some macros helpful for processing forms with optional fields
-
lazy_transducer
Lazy, parallel, indexable, generic data iterators
-
is-impl
Rust macro to check that a type conforms to an impl
-
empty-option
Convenient wrappers for taking/replacing values from mutable references to
Option
s and enforcing invariants -
loop_unwrap
macros for unwrapping in loops
-
sim_connect_rs
An easy to use, opinionated API for SimConnect
-
bagel
Compile-time evaluation and other tools
-
eater_rangeset
work with set's of ranges
-
extern-c
Convert a zero-sized closure into an
extern "C" fn(…)
pointer -
orion-async
Eliminate this constraint for performance - the local variables of asynchronous functions must implement Send Trait
-
global_var
macro for declaring a global variable
-
plugger-ruby
Ruby bindings to Plugger
-
extprim_literals
Plugin for creating extra primitive types literals (u128!(n), i128!(n))
-
zconvertenumn
Convert number to enum
-
parameterized_test
A macro to support providing arguments to test functions
-
i-codegen-code
Common tools supporting the
derive-codegen
crate -
push_mut
Push a value to the back of the vector, and return a mutable reference to it
-
lua53-ext
Extension to jcmoyer's Lua 5.3 bindings
-
macro-attr
macro_attr!
macro that enables the use of custom, macro-based attributes and derivations. Supercedes thecustom_derive
crate. -
postgres-mapper
Struct mapping for postgres
-
rust2fun_laws
Laws for rust2fun
-
tlist
Type-level linked lists (of types) and type-level 'functions' to manipulate them. Because TList is implemented using GATs, usage is very ergonomic.
-
type-uuid
Safe, stable IDs for Rust types
-
improved_slice_patterns
A tiny crate that provides macros to help matching on Vecs and iterators using the syntax of slice_patterns
-
cfor
A macro that gives Rust a C-style for loop, with initialisation, condition and step. This correctly handles control-flow like continue and break.
-
float-derive
that allows deriving Eq and Hash for types that contain floating points
-
ufcs
Helper trait to call free functions using method call syntax
-
err-with
🤔 Trait for adding context to errors
-
vector3d
3D vector type
-
hexspec
A dsl for creating and verifying byte buffers
-
then
bool::then functions but named properly
-
anygma
makes it easy to define arrays containing different types
-
inline_newtype
newtype macro inspired by kotlin's inline class
-
garando_syntax2
Backport of libsyntax
-
frunk_core
Frunk core provides developers with HList, Coproduct, LabelledGeneric and Generic
-
cargo-verify
Prettier error messages for the verified crate
-
transformable_channels
Rust channels are a convenient abstraction, but for many uses cases, they miss high-level transformations such as
map
,filter
, … . This crate introduces them. -
light_ranged_integers
similar to ranged_integers, but working on a stable compiler version
-
future-union
Use future::Either with
impl Future
-
commandspec
Rust macro to build std::process::Command objects with shell syntax. Uses macro_rules! and works on stable.
-
byteorder_slice
Byteorder like crate for &[u8]
-
acme-core
core library for the Acme project. It contains the core primitives that are used throughout the project.
-
tagname
get the name of a variant in your enum as a string
-
sbnf
A BNF-style language for writing sublime-syntax files
-
display_macro
Like print! macro but always flushing
-
ghosts
Type-check non-existing
Phantom
code for Fun And Profit™ -
shank_gov_idl
Converts information extracted via shank derive macros to a solita compatible IDL
-
lifelink
Erase covariant lifetime parameters from anything, with generic associated types
-
ryu_floating_decimal
Fast floating point to floating decimal conversion. See the crate 'ryu' for more details
-
error
A fancy error type for highly generic cases
-
derive-from-ext
Derive macro implementing 'From' for structs
-
unwrap_all
Unpack multiple levels of
Result<T, E>
andOption<T>
at once -
label
functions and iterate over them
-
stack-trait
Stack trait with entry API for the LIFO element
-
structinator_traits
traits allowing transfer of data from iterators to structs
-
easy-conv
Cut down on trivial
impl From<A> for B
boilerplate code -
try_fold_impl
macro for deriving Iterator::next and ::fold from a ::try_fold implementation
-
cpp_utils
interoperability with C++
-
deep-struct-update
Struct update syntax with nesting
-
predicates-core
An API for boolean-valued predicate functions
-
contains
A Container trait
-
enum_like
trait to treat any type as an enum. If a type has a reasonably small number of variants, for example a
struct A(bool, bool)
which has 4 variants, this trait provides a 1-to-1 mapping from type value to a… -
fast-floats
Fast-math wrappers for floats; experimental and unstable; for experiments
-
bpack
Fast, simple and easy to use data compression library meant to work with byte slices of String and str types
-
set_slice
A macro for assigning values to slices
-
effect_cell
Container that runs effects when updated
-
aggregate
attributes of structs for runtime
-
rust-hl7
HL7 Parser and object builder? query'er? - experimental only at any rate
-
total_float_wrap
Floating point wrapper implementing Hash and Ord according to IEEE 754 totalOrd
-
hexf-parse-libm
Parses hexadecimal floats (see also hexf)
-
giveup
User-geared error messages and hints
-
diff-ba-rs
macros to get the difference of variables caused by a procedure
-
rustc_utils
working with the Rust compiler
-
abort_on_panic
Intercept panic! from unsafe locations and abort the process
-
nes
New Error System for rust
-
tool
A grab-bag of tools for functional programming
-
scanio
console input macros with the goal of being implemented in the standard library
-
split-optional
It split from a source
str
toOption<&'a str>
per an element -
if_empty
Replace if/else checks for emptyness with a simple method call
-
conventional-commits-types
defining conventional-commits types
-
phantom-enum
macro library for creating phantom enums
-
fluent-impl
A procedural macro that generates chaining methods from non-chaining ones in an impl block
-
close-err
Add .close() to file-like types, for error handling
-
kind-derive
Derive generator the kind compiler
-
uninitialized
Opt-in unsafe uninitialized memory
-
mixed_array
Construct arrays of mixed types
-
unsafer
Convenience library for Unsafe Rust
-
should
Postfix assertion library for Rust
-
brain_rust
A BF transpiler to rust written as a rust declarative macro
-
quartet
Nibble (quartet, u4) slices
-
cubob
Structured output helpers for display mode
-
ferrum-plugin
Lazily evaluated, order-independent plugins for extensible types
-
slice-diff-patch
providing utility functions for diff and patch of slices
-
encoding-next_index_tests
Helper macros used to test index tables for character encodings
-
overflower_support
A bunch of specialized traits + impls to allow automated overflow handling without type inference. Nightly only
-
init_with
Helper trait to initilize an array with a function
-
rstring-builder
String builder type
-
byteorder_core_io
reading/writing numbers in big-endian and little-endian
-
mist-pdk
mist plugin development kit
-
unnest
Macros for an unnested control flow
-
clonelet
macro to capture by clone in closures
-
assert-impl
Macro for static assert types implement a trait or not
-
scout-audit-clippy-utils-soroban
For internal usage by cargo-scout-audit
-
shorten
A collection of convenience functions, macros and traits to shorten repetitive code
-
minipre
Minimal C-preprocessor in Rust
-
deref_owned
Generalization of std::borrow::Cow
-
wasmer-wit-parser
wit-bindgen-gen-c
-
sum_error
Derive macros for fast summing of error types into error enum
-
cfg_matrix
Procedural macro to generate permutations of supertraits based on cfg flags
-
iter-scan
Iterator scan methods that don't suck
-
external_mixin_umbrella
Backing library for
rust_mixin
andexternal_mixin
to keep them DRY -
newtype-ops
Mass-derive many operators for newtypes. Wartier than newtype_derive.
-
checked_ops
Automatic checked arithmetic operations in Rust
-
map_for
macro that implements for comprehensions similar to Scala's
-
schemars-zod
A few functions to aid Zod schema generation from rust types annotated with schemars
-
rustollens
A small and experimental library with a type-level representation of booleans with companion connectives for compile-time sort-of fun with logic
-
hacspec-lib
The hacspec library
-
ribbons
unwrapping
Option
andResult
types with a formatted error message. (less boilerplate thanunwrap_or_else
) -
byte-array-struct
Macro to create a byte-array backed struct
-
upget
Super simple trait that patterns the value "updae" and "get"
-
gpp
A generic C-like preprocessor for Rust
-
extrude
A macro for unwrapping an enum value into an Option
-
ext-trait
Annotation to easily define ad-hoc / one-shot extension traits
-
fn_block
defining macros for calling blocks or expressions in a closure
-
wgsl-types
WGSL Types
-
static_option
An option type that is statically known to be Some or None
-
fix_fn
Macro to create recursive closures (similar to the Y combinator)
-
stringer
An easy way to turn an Unsafe *const c_char into a Rust String type and return a pointer
-
mapcomp
Python-like list comprehensions for standard containers
-
autowired
Rust dependency injection
-
abi_stable_shared
detail of abi_stable
-
cargo-emit
Talk to Cargo easily at build time
-
lifterr
A small set of adapters extending Rust's error-handling capabilities
-
compost
Adds a macro to decompose tuples into tuples containing a subset of their values
-
rvs-c-api
C-API for Rvs - A library for defining and evaluating random variables using a simple DSL
-
check-ends-macro
A couple of macros to simulate match with starts and ends of a string
-
ternop
A tiny macro that implements a ternary operator for Rust
-
iterx
that provides several functions on the Iterator trait not found in std::iter or Itertools
-
rusty-matrix
A generic matrix implementation
-
displaydoc-watt
A derive macro for implementing the display Trait via a doc comment and string interpolation
-
valido
An extensible Rust validation library that actually encourages the "Parse, don't validate" philosophy
-
arbintrary
Proof of concept for arbitrary integer sizes using generic const
-
envoy
Conveniences for manipulating environment variables
-
jrust
macro that parses Java-like syntax and runs it as a Rust program
-
yield-return
Implement a coroutine like C#‘s
yield return
using Rust’sasync
,await
-
collections-fromstr
Derives FromStr for collection types like Vec<T> or HashSet<T>
-
refined-float
Refined float with a subset of functions of std float
-
enum_variant_macros
Macros to generate From & TryFrom for enums
-
kmacros_shim
Useful macros
-
ctrl_macros
Control flow macros for Option and Result
-
transfer
that exposes a Transfer trait, that is to move what Clone is to copy
-
nstd_str
NSTD strings crate
-
rustpy
Bindings of Rust programming language primitives
-
type-record
A type-level record (see documentation for details)
-
volcell
A container type that can hold volatile data and allow for safe reads and mutation of its contents with support for use in packed structs
-
what-i-want
Some tools to help with the return value
-
fast-map
Map-like structs
-
archway
Rust traits for Rc and Arc interoperation
-
zkp-macros-lib
procedural macros implemented using
proc_macro2
-
html_stack
A stack based dsl for writing html. This is not an html template!
-
tuple_tricks
A couple of traits on tuples that allow inductively building new traits
-
deferrer
defer! macro for deferring functions
-
tiptoe
An easy-to-support intrusively reference-counting smart pointer
-
duplex
trait: interactive streams
-
collections_macros
a collection of macros to make making collections easier
-
array-as-struct
ergonomic "field" accesses on array types
-
untry
Kind of the opposite of the ? operator
-
respan
Macros to erase scope information from tokens
-
shrinkwraprs
Auto-derive for Rust conversion traits -- make working with newtypes a breeze
-
impl_serde_serialize_error
Macro for fast implementing error methods in serde::Serializer trait
-
piping
Pipeline syntax in Rust.
4isize |> double(__) |> __ as usize
. -
kalman-fusion
single-variable Kalman filtering for Float and Fixed types
-
cvars
Configuration variables - a simple and ergonomic way to store and edit configuration at runtime
-
fixed_len_str_example
helper crate for document the expansion of a procedural macro one,don't use
-
adrop
fast dedicated thread drop
-
typestring
String constants lifted into types. This is a stopgap until const generics support strings.
-
gep
gep
, a better pointer arithmetic library -
chained
lazily chaining functions
-
retryable
Automatic function retry macro
-
vec3
-
endian_trait
A trait for Endianness conversions that can be implemented on most types
-
more_io
Additional functions to read and write as primitive types
-
verified
types to facilitate the development of verifiable rust
-
rent_to_own
A wrapper type for optionally giving up ownership of the underlying value
-
block_effects
A macro to chain block effects
-
event-observer
observer pattern by rust
-
nagios-range
types to parse and operate on Nagios ranges
-
aict
Generates auto-incrementing unique IDs
-
checked_clamp
Clamp alternative that returns a result instead of panicking
-
tt-call
Token tree calling convention
-
kalgan_string
A collection of functions for string manipulation used by Kalgan Framework
-
predicate
Use enum to predicate something, support & and | operator
-
cmd_lib_core
Common rust commandline macros and utils, to write shell script like tasks easily
-
scanfmt
easy to use macro for parsing a string
-
type-layout
Derivable trait to view the layout of a struct, useful for debugging
-
struct_baker
enable ergonomic creation of compile time parsers
-
handle-error
An error handling helper macro to avoid the constant if let Err(e) pattern
-
maybe-owned-trait
Either an owned or borrowed value, with type known at compile time
-
stable_borrow
A marker trait indicating that borrows are address-stable
-
expecto-patronum
add beatiful animals to your panic outputs
-
encdec-base
encdec simple encoder/decoder base types and traits
-
entwine
Generic slice-like interface for operating on multiple slices at the same time
-
modifier
Fluid chaining APIs for both mutable ownership types
-
ttype
quick macro for printing or returning the type of a variable
-
sid_vec
Tiny library providing id types and an id-based vector
-
derive-ex
Improved version of the macro to implement the traits defined in the standard library
-
tearor
Easily turn data races into data corruption!
-
errormake
A macro for automatically creating Error structs
-
some-to-err
A set of traits for converting
Option
toResult
, providing methods to transformSome
values toErr
while handlingNone
values asOk
, either directly or using a closure to generate the Ok result -
do_while
macro allowing clean 'do-while' loops in Rust
-
with-api
macro for shrinking scope
-
define_into_enum
Defines Into<T> on an enum where all variants wrap T
-
omniswap
swap values between possibly-overlapping references
-
shedron
A DSL for dice rolls
-
status
Error container
-
edid-rs
An EDID parsing crate with no_std support
-
enum_primitive
Macro to generate num::FromPrimitive instances for enum that works in Rust 1.0
-
hlua-badtouch
badtouch specific fork of hlua
-
try-traits
Alternatives to std lib traits that can fail
-
laxcow
Clone-on-write smart pointer with relaxed trait constraints
-
is_send_sync
Macro to tell if a type is Send/Sync
-
diva
Opinionated convenience wrappers for
std::process::Command
and friends -
static_interner
Similar to
internment
crate, but with interface and performance tweaks -
disown
Drop ownership via a method
-
col_proc_macros
A bunch of procedural macros for declare collections of various kinds from their contents as fast as possible
-
mixed-num
A trait for generic implementations of numerical methods
-
fsize
fsize
is aliased to the floating-point type of pointer size -
functional-closures
composable pure functions with the signature f(T) -> T
-
into-result
convenience trait for converting something into a
Result
orOption
-
parser-c
Macros for parser-c
-
cherrybomb-oas
Cherrybomb OpenAPI Specification (OAS) struct and functions
-
ioctl-gen
macros for generating ioctl numbers
-
tiny-error
A small crate for simple error handling
-
derive-for
Macro for defining structs using the same derive procedural macros
-
one-of
Macro to represent a type that can be converted either
From
orTryInto
the given types -
factory
Factory
trait and its implementations -
assert_ne
assert not equals
-
partial-functional
A small collection of Semigroups and Monoids for rust
-
free_function_pipes
a bunch of traits that makes composing functions together easier
-
test-results
A series of utility macros for outputting testing results
-
assert-parse
The util to assert macro parsing
-
num-conv
num_conv
is a crate to convert between integer types without usingas
casts. This provides better certainty when refactoring, makes the exact behavior of code more explicit, and allows using turbofish syntax. -
peekable_next
An extension for Rust iterators to peek at the next element without advancing
-
letr
The macro for the lazy
-
friendly_safety_buddy
A fun macro to write safe code with
-
transitive_from
Helper macros for creating hierarchies of transitive
From
implementations -
rand-gen
Allows for easy creation of random data for structs!
-
tia
tia; trait, impl, accessors | automatic
-
unsafe-storage
Maintain invariants in macros without modules
-
stable-pattern
Stable port of std::str::Pattern and friends
-
null-terminated
slices and UTF-8-encoded strings with thin references
-
ez-err
error handling library with support for ergonomic and fast error handling
-
anon_enum
Enum types with fully-generic variants
-
named_constants
Procedural macro makes enums behave like named constants in languages like C/C++ or C#
-
anyflux
Generic flux-like state management
-
u16cstr
A macro for creating c-style u16 wide strings at compile time
-
virtual-io
Mock stdin/out/err for testing
-
any_ref
To capture and move things that are NOT 'static with memory safety
-
bail-out
Macros to help keep code clean for validations and error handling
-
batbox-cmp
Traits & functions related to Ord
-
macro-while-mut
Macro that allows create while-cycle with mutable condition state
-
rust_hawktracer_normal_macro
helper crate for hawktracer profiling library
-
rust-secure-code/mem-markers
marker traits about types layout in memory
-
maybe-unwind
A wrapper of catch_unwind that also captures the panic information
-
collected
Summation, product, maximum and more special collectors for Rust iterators
-
enum-tags
A Derive-Macro library that generates a companion tag-enum for any enum so that variants can be referred to without specifying fields
-
febits
containing small utilities to help with certain tasks to make things easier. Primarily the tools will consist of ways to manipulate primitives and other data types.
-
unwrap_helpers
Helper macros for unwrapping
-
format-buf
Drop-in replacement for format! macro, which can write to existing buffer
-
io-ensure
Prototype of the
std::io::ensure
family of macros -
comptools
Create iterators using Python's list comprehesion style
-
spectral
Fluent test assertions
-
bin-pool
A small crate for interning binary slices
-
aliri_braid_examples
Examples demonstrating usage of the
aliri_braid
crate -
is-same
A trait for comparing object equality
-
sod-mpsc
Service Oriented Design - Multi Producer Single Consumer
-
meticulous
Result extension to add more meaning to unwrapping
-
passable_guard
A Guard to help you catch leakage of pointers that you pass over a FFI boundary
-
option-filter
Option::filter polyfill for Rust 1.26 and older
-
shpat
sasha's solution to common patterns
-
tracing-assert-macros
A macro for capturing trace logs
-
keypath
Derivable, type-safe Swift-style keypaths
-
unify
Trait-based equality constraint for Rust
-
io_resp
A RESP parser implementation, written with edge performance in mind
-
unchecked-index
Unchecked indexing wrapper using regular index syntax
-
mic
Facilitates answering to competitive programming problems
-
precisej-printable-errno
Printable system call errors for nix
-
and_then_some
extension trait for
bool
with methods that returnOption<T>
-
cpp_to_rust
Automatic generator of C++ library wrappers
-
enum_const
enum const trait
-
spawn_timeout
Call a subroutine after a constant time interval
-
fmt_adapter
newtype adaptors to and from any formatting trait
-
common-strings
Macro for storing common strings as enum variants
-
html5ever_macros
High-performance browser-grade HTML5 parser − compiler plugins
-
numeric_cast
safe cast between numbers
-
is_trait
Add a macro to check if a type implements a trait at runtime
-
bounded_types
type representing bounded integers, implemented using const generics
-
johalun/module
FreeBSD kernel module in Rust
-
drop_ok
.drop_ok
syntax sugar forResult
. It’s instead of.map(|_|())
. -
zc_io
zero-copy I/O
-
lox_utils
General helpers used by Lox
-
khtml
macros for simple html generation
-
scones_examples
Examples (and tests) for the Scones crate
-
vec2
-
borrown
Borrowed or owned, simplified for no-std
-
type-level-logic
Primitive types and operations for type-level logic
-
bin-utils
A bunch of utility macros and traits for binary parsers
-
underscore_args
Macro for underscore named argument syntax, aka Dyon
-
typestr
type-level strings and slices
-
stripmargin
but elegant multiline string in Rust à la Scala
-
kaguya_rs
Functional Programming tools and ADTs
-
bitfields
Helpers for storing sub-byte enums in primitive types
-
regex-bnf
A deterministic parser for a BNF inspired syntax with regular expressions
-
partial_eq_dyn
Two traits to enable PartialEq for types with trait objects as fields. Best used with the derives in partial_eq_dyn_derive
-
static-include-bytes
Like the built-in
include_bytes!
macro but produces a static array definition -
option-cell
OptionCell: OnceCell but derivable from Option
-
refute
Add a refute! macro(Elixir inspired). Essentially assert!(false).
-
result-inspect
Adds the missing Result::inspect() function
-
shellexpand-fork
Shell-like expansions in strings
-
libc-stdhandle
Helper functions for retrieving stdin, stdout, stderr
-
stringish
A smaller and easier copy-on-write string
-
refid
Newtype enabling identity comparison (e.g. through pointer equality)
-
raml
Direct OCaml FFI bindings and runtime functions in Rust, without any C
-
tagged_cell
Fast, initializable, and thread safe static variables
-
clap-action-command
A command-map pattern layered on Clap subcommands
-
rudeboy
Rlua User Data Extension Boy - Derive/attr macros and traits for easily exporting user data to RLua
-
colmac
Macros to work with
std::collections
-
sanitizeable
derive structs without certain fields
-
many_op
do an operation on many variables
-
default-option-arr
Macros for simple default initialization of arrays of option types
-
keepops
Extension traits for keeping the input of mapping functions
-
ptr
Unique pointer
-
monomo
Explicit trait monomorphization
-
smart
dynamically-dispatched smart pointers
-
twitter/rustcommon-atomics
Atomic primitives unified by traits
-
arrayinit
Robust and simple API to initialize arrays
-
inheritance
Avoiding code repetition in Rust with OOP inheritance
-
maybe_static
Initialize a lazy static with params, create Meyer's singleton
-
eso
Type machinery to build Cow-like containers
-
err_tools
Helper traits and functions for building errors in rust
-
take_mut
Take a T from a &mut T temporarily
-
show-option
displaying Options
-
bos
Flexible Borrowed, Owned or Shared (B.O.S.) smart pointers. Like std's Cow but with Rc/Arc and without the ToOwned requirement
-
unchained
Iteration
-
opcode-macros
Macros for opcodes encoded in bit fields
-
better-as
Explicit type casting
-
fn-compose
A small macro for function composition
-
map-self
Map a value itself instead of its contained value in usual closure style
-
adhocerr
construction of efficient single use static/dynamic error types per callsite
-
fn_zip
zip trait for functions, allowing two functions to be combined at compile-time before being called
-
string-error
A minimal rust library to create errors out of strings
-
vec_remove_if
Extract elements from a vector based on supplied criteria
-
unreachable
code optimization hint in stable rust
-
from_int
A package to easily add a from_int method to enums with #[derive(FromInt)]
-
cereal
data serialisation library
-
tuple-conv
Allows converting tuples of one element to vectors
-
slice-ext
Useful extensions to slices and iterable types
-
ref-map
Helper trait for Option and Result to map references
-
jstring
JavaString uses short string optimizations and a lack of a 'capacity' field to reduce struct size and heap fragmentation in certain cases
-
tested-trait
Associate tests with traits
-
close
Trait + smart pointer for manual object destruction
-
errors_rust
Just a simple library for error mapping
-
pipette
Polymorphic function pipelines without traits or macros
-
bointer
Assorted pointer-related utilities
-
erroneous
Minimalistic helper for using errors
-
rusty_state
state machine for rust
-
peano
numbers implemented in Rust's type system. Consider using typenum instead for much faster type-level numbers.
-
cpp_to_rust_generator
Automatic generator of C++ library wrappers
-
sim_connect_data
containing Rust-esk data types for use with SimConnect via sim_connect_rs
-
kimari
Universal DSL for writing rules against the context in Rust
-
retour-utils
creating hooks with
retour
-
chain_linq
.NET's LINQ in rust as a declarative macro
-
set_field
Set fields on structs by string
-
kvfmt
A helper macro for stringifying variables into a key=value style string
-
mut_family
A GAT-based library for writing code that is generic over exterior/interior mutability and mutability of references
-
fluent_builder
builder API
-
iteritor
Helpers for more advanced use of iterator combinators and other more functional control flows, including things that may not really fit in the std iterator library or itertools, but…
-
sashay
Type-erased and lifetime-erased references and slices
-
fstrings-rust
Python3 fstring interpolation in Rust
-
encoding_index_tests
Helper macros used to test index tables for character encodings
-
davenport
Ergonomic thread-local workspaces for intermediate data
-
stats_traits
Traits for collection-like types to calculate statistics
-
pod
Plain Old Data (POD) encoding and I/O
-
candy
Syntaxic sugar for Rust: macros for lighter error handling code, and more
-
join_to_string
Join a list of items to string/buffer
-
evaluator
interfaces and implementations for logic constructs that return values without accepting arguments, either via closure captures, global state, calculation or otherwise
-
assert-cmp
Convenient assertion macros that print the failed expressions and their evaluated values
-
tremor-common
Tremor common functions
-
packetrs
Macro-based struct serialization/deserialization
-
static-cond
Macro for performing comparisons during macro expansion
-
lifetime
Traits and derive macros to change the lifetime of a type, allowing efficient reuse of your stucts or enums with any lifetime requirement
-
vet
Arbitrary type validation
-
iterator-endiate
Extension method for (exact size) iterators which yields tuple containing whether item is last in iterator
-
borrowck_sacrifices
Necessary sacrifices to keep the Borrow Checker happy and developers sane
-
debug-tag
Debug-only tagging for tracking values
-
fancy-ip
Fanciest way to initialize IP addresses
-
injectify
impl Trait in structs
-
generic_error
A package containing a generic error type that can be dropped in to simplify error handling
-
serde_str_helpers
Helpers for using serde with strings
-
error_log
struct-based Error-Handling
-
commandext
A Command extension suitable for use in Rust Builders
-
raise
yeet!
all the things -
once_cell_serde
Single assignment cells and lazy values
-
transition-table
transition table utilities for keyword parser
-
zoozle
Some I/O macros like C++ cin/cout
-
not_empty
Slices and vectors that are statically guaranteed to be not empty
-
struple
Convert structures from and to tuples
-
thiserror_lite
Almost drop-in replacement for thiserror, implemented using 100% declarative macros
-
box-macro
Literally just the macro
box_!
which isBox::new
-
typesum
Utilties for enums, targeted at sum types
-
deep-bind
A macro for using threadlocals to deeply bind contextual values
-
rle
run-length encoded data
-
cmp_macro
This macro allows you to write a summary comparison, just like in Python
-
const-assert
Assert struct for const generics
-
newtype-enum
Traits to convert between enums and their variant types
-
atomic_refcell_try
Threadsafe RefCell
-
nstd_time
NSTD time crate
-
sgr-const
A convenience macro to generate string sequences for colored and stylized terminal output
-
with-thread-local
A micro crate that simplifies a bit the use of the std macro
thread_local!
-
libsugar
syntactic sugar in the form of a library
-
sc2-macro
Procedural macros for rust-sc2 API
-
sum_type
A convenience macro for creating a wrapper enum which may be one of several distinct types
-
matrix_match
Macro to match on two values at the same time
-
plugin
Lazily evaluated, order-independent plugins for extensible types
-
arg_attr
Specify the accepted arguments depending on configuration conditional checks
-
vertigo-html
Html2Vertigo conversion macro usable re-exports
-
nonzero
Statically checked non-zero integers
-
purescript_waterslide
Generate Purescript types from your Rust types
-
conform
Macro to transform struct string fields in place
-
krunner
writing KRunner plugins in Rust, easily
-
md_match
A macro to support md-match syntax
-
serde_int_map
derive serde traits for integer-indexed structs
-
manifest-dir-macros
function-like macros to check or operate paths relative to CARGO_MANIFEST_DIR at compile time
-
byterepr
trait for converting PODs to and from their byte representation, with low (usually no) cost
-
iter-flow
Functional programming utilities for Rust
-
derive_destructure2_examples
Examples for crate derive_destructure2
-
autorand
Automatic random generation for any struct or enum. Make your fuzzing easier!
-
generic-lexer
A generic lexer using a simple match function
-
localization-build
t! macro, the easiest way
-
async_t
zero-cost async-traits
-
pin-projections
Declarative macro for creating projection functions for pinned objects
-
beard
Handy macro to generate formatted text in rust
-
template-builder
making idiomatic, declarative, builder-like patterns that use the struct literal syntax
-
clone-into-box
cloning trait objects
-
tylar
Type-Level Arithmetic in Rust
-
convi
Convenient (but safe) conversion (
From
-like) traits -
attr_alias
Reduce attribute repetition with aliases
-
bit_fiddler
Macros for common bit operations with multiple convenient patterns
-
power-assert
Power Assert in Rust. Provides better assertion message.
-
unibox
Universal Box that can store any type using static or dynamic memory
-
cronus_parser
The DSL parser for cronus API spec
-
clamped_values
generic
ClampedValue
struct that stores a value and ensures that it is always within the specified minimum and maximum values -
specialize-call
A macro to invoke a function with type-arguments substituted according to a runtime value
-
lfml-escape
code/logic shared between the macro & the types
-
verifier
Macros that provide common software verifier primitives
-
polymorph
A set of utilities to better enable polymorphic behavior in Rust
-
flexible-io
Wraps values such that dyn-safe IO traits need not appear as static bounds
-
tinytest
Write more compact unit tests with a small macro
-
typebitset
Type-level bitset implementation
-
guilt-by-association
Macro for declaring/implementing traits with fake associated consts (in stable Rust)
-
anysafe
any safe
-
icee-container-rs
Container service for custom DI
-
apply_pub
syntax extension for applying the
pub
visibility modifer to many items at once -
read-primitives
traits to read primitive types from any type that implements std::io::Read
-
type-vec
A type-safe vector with type-level length
-
capture
A macro for adding explicit capture clauses to a (closure-) expression
-
float-lerp
Lerp and InverseLerp functions for floats
-
lazy_cat
Lazy concatenation of strings and other things in Rust
-
prange2
Parse numeric ranges for indexing
-
inline_default
Macro for inline Default implementation
-
pipeline
A macro collection to pipe |> your functions calls, like in F# or Elixir
-
audi
Generic listener abstraction
-
eaip
Fetch, parse and handle data from electronic aernautical information packages (eAIPs)
-
stackvec
stack-allocated Vectors (performance and/or no-std)
-
try-blocks
macro to emulate the upcoming
try
block feature on stable -
nuhound
Improve error handling capability
-
typify-impl
typify backend implementation
-
generic
Higher level serialization of rust values to rust values
-
cio-api
Helper functions and types for doing the activities of a CIO
-
finite-fields
Traits and types for computations on finite fields
-
into-a-byte
Build a byte from tuple of Into<u8>
-
string_mac
A lazy man's String macro
-
match_all
match_all! macro for matching multiple patterns
-
variadic_monoids
Construct variadic functions using monoids
-
conditional
conditional! macro which lets you use the syntax of the conditional operator (also known as the ternary operator) in Rust
-
derive
providing a minimal example of a derivable trait (via companion crate derive-derive) for testing and illustration
-
asserts-rs
Asserts utilliy macros for Rust
-
wrapped_enum
Useful macro to wrap existing types in an enum (common use for quick error handling)
-
typle
Generic tuple bounds and transformations
-
try_wrap_ok
?
ortry!
macro, with an additionalOk
wrapping -
mononym
Type-level named values with partial dependent type support in Rust
-
ndless-static-vars
storing static, program-wide parameters for Ndless
-
bool-mappings
Useful extensions to convert
bool
to other Rust types -
newtype_derive
macros for deriving common traits for newtype structures
-
a1_notation
A package for converting to and from A1 spreadsheet notation
-
delegatemethod
Delegate method calls to a field
-
composing
Tools to compose functions
-
enum_extract
Helper macros for extracting single enum variants of an enum
-
uninit-tools
that allows working with uninitialized memory entirely in safe code
-
aidanhs-tmp-parse-generics-shim
A stable shim for the proposed RFC #1583; provides macros for parsing generics and where clauses
-
pipe-chain
Combinators & parser library
-
struct2map
Procedural macro library for converting between Rust structs and associative containers
-
trait-theories-std
A collection of invariants of Rust std traits
-
useful_macros
My useful macros
-
delta-struct
Delta struct provides a rust-lang Deriveable trait, Delta, that can be used to compute the difference (aka delta) between two instances of a type
-
iter2
Iterator
chain
ing,cmp
ing and more as free functions taking twoIntoIterator
s -
validated-slice
Helper macros to implement std traits for custom validated slice types
-
sod-log
Service Oriented Design - Log Integrations
-
if-none
Early break/continue/return if an optional expression evaluates to
None
-
builder_macro
A macro to generate structs and a corresponding builder
-
correct
A number wrapper that has correct bitwise shift behaviors rather than the primitives in rust language
-
rxs
Reactive extensions library for Rust with Object-safe traits
-
trace-error
Extensions to Rust's error system to automatically include backtraces
-
test-macro
macro for writing Rust test code in an easy way
-
io-arc
Proof of concept Arc with IO trait delegation
-
vector-array
A Vec but entirely on the stack
-
layout-lib
view the data layout of a struct
-
typechain
Create chains of trait objects
-
cow_arc
CowArc can be useful for decreasing memory allocations by sharing immutable memory
-
srce
Self-Ref Cell Environments
-
optargs
Easily create macros for functions with optional arguments
-
nom-fields
single function-like macro that removes some boilerplate from a common pattern when using nom
-
init-token
one-time safe initialization of static, without overhead
-
schnauzer_ui
A DSL for browser based automated testing
-
drop_some
.drop_some
syntax sugar forOption
. It’s instead of.map(|_|())
. -
type_name_value
A package for assigning type names to values
-
backtracer_core
acquire a stack trace (backtrace) at runtime in a no-std Rust program
-
into_inner_drop
A helper library for implementing into_inner method for drop types safely
-
cart_prod
Cartesian product of iterators
-
fake-enum
creating FFI safe "fake" enum types
-
hash-that-set
Implements hashing for sets and maps themselves. Enables a map of maps to values, or a map of sets to values.
-
multizip
Zip 3, 4, 5 or more Rust iterators
-
brev
helpers for quick and dirty scripting
-
ignore-result
Adds a
Result<_, _>.ignore()
method to ignore the return value of a function call without panicking in case of error -
explicit_cast
explicit widening, truncating, and sign casting of primitive integers
-
integer-atomics
allows you to compile code that needs the unstable integer atomics types (Atomic{U,I}{8,16,32,64}) with the stable compiler
-
cell-project
Safe interface for cell projection
-
disjoint-borrow
Disjoint mutable borrows of slices
-
currying
anything implementing FnOnce. Arguments can be passed one at a time, yielding a new something implementing FnOnce (and possibly FnMut and Fn) which can be called with one less argument.
-
rvs-parser
Parser for Rvs - A library for defining and evaluating random variables using a simple DSL
-
kizuna
service locator
-
futility
Functional Utility types, macros, and functions for common tasks or needs in Rust
-
mutable-constant
Mutable access to a constant value
-
alias-ptr
(Mostly) safe manually-freed shared pointers in Rust
-
num_bound
Add bounds fn to anything implementing
Ord
that bounds a number to a range -
foreign-types-shared
An internal crate used by foreign-types
-
enum-code
derive(Code) simplifies error handling by providing an easy-to-use enumeration of error codes
-
iterr
Combinators for dealing with iterators of
Result
s -
process-results
that provides the same functionality provided by Itertools::process_results. It helps you process an iterator of results, with a more ergonomic and composable interface.
-
bassert
A Better Assert macro This macro will print out the values of each side of an expression and also the values of function arguments
-
dot-generator
the set of macros to generate dot files
-
tupl
Perform generic operations on tuples
-
validated_newtype
newtypes with checked predicates (primarily for serde)
-
tugger-debian
Debian packaging primitives
-
vg_errortools
Helpers for better error legibility in std/tokio io errors and error handling in main functions
-
existential
quantification over lifetimes
-
chemistru-macro-api
API for chemistru macros, generating element constants and maps
-
rev_slice
A newtype for operating on a reversed view of a slice
-
display_container
implement Display
-
labelled-enum
Converting an enum to/from String
-
literal
Literals for Rust's collections
-
doublysure
Using types to make sure that you're sure, sure, and doubly sure
-
derive_is_enum_variant
Automatically derives
is_dog
andis_cat
methods forenum Pet { Dog, Cat }
-
error-macro
error macro
-
user_stable_vtable
A partial implementation of [RFC 2955], written in stable rust
-
mistake
An error handling crate for functions that produce multiple errors
-
wrapped-list
Macro for wrapping elements of a list with an object, function, or another macro at compile time
-
no-panics-whatsoever
Statically assert that a program written in Rust does not panic
-
thaterror
Useful error types
-
default-test
A default trait that can be used in tests
-
rewrap
Result<Result<T, E>, F>
->Result<T, F>
-
litenum
minimal convertion utilities between literal and enum
-
assert-type-eq
Macro to assert types across potentially different crate versions are compatible
-
ogma-libs
Ogma DSL builder libs
-
collect_array
Allows for collecting an Iterator into an exactly sized array
-
type_hash
Generate a hash for a Rust type. The primary use-case for this crate is for detecting differences in message types between versions of a crate. The
TypeHash
trait is implemented… -
raw_pointer
Safely handling raw mutable pointers to a generic type
-
sus
A declarative macro that wraps any input with an unsafe block
-
cri-ref
Embedded-friendly equivalents of URIs
-
borked
convienient error handling library for rust
-
id-ish
Numeric ID types that can be swapped in & out
-
scones
Generates simple constructors for structs
-
random_stuff
A pile of random helpers, macros, extension traits… that I didn’t care to write a separate crate for. Probably nothing to do with
rand
crate. -
float
Lightweight wrappers around primitive floating point types
-
impl-enum
Macros that make using enums like trait objects more convenient
-
lawn-constants
error and logging types, traits, and codes for Lawn
-
bruh_moment
Re-export of the anyhow crate, but with Bruh as the error type
-
ufo
unsigned floats
-
frunk
developers with a number of functional programming tools like HList, Coproduct, Generic, LabelledGeneric, Validated, Monoid, Semigroup and friends
-
snaptest
Dead simple snapshot testing
-
doc-type
A small Rust crate for generating documents from your types
-
iter_columns
Iterate over columns easily
-
simple-string-builder
Super basic string builder based on my memory of Javas
-
trait_adapters
newtype adapters for modifying interactions with traits
-
hkt
Simulated higher-kinded types for Rust
-
generics2
macros for parsing generics (with optional where clause) in
macro_rules!
- enhanced fork of generics -
fn_name
Macros that produce the name of the function they're invoked within
-
vecc
macro to create a vector of vector
-
bidirectional_enum
Automatically generates conversions between an enum type and any other type
-
rusty-value
Create a generic inspectable value from any rust type
-
assert_ok
A macro that asserts a Result is Ok
-
phantasm
Small lib that helps with variance
-
atomik
Generic Atomic type
-
upa
Macro that removes the hassle of creating long pointer chains
-
recursion-visualize
visualized cache-aware stack safe recursion
-
velcro_core
Core dependencies used by the
velcro
crate. Seevelcro
for documentation. It is not advised to depend on this crate directly; it is an internal dependency ofvelcro
and may be subject to breaking changes. -
newtype
Custom Derive to give tuple structs newtype semantics
-
asserter
New assertion library for rust
-
buffer
Safe, write-only, generics-free buffer abstraction
-
plugger
Plugger
-
soft_assert
Non-panicking assertions
-
alternator
Tools for building effect system -like functionality by abusing async
-
prim_int_kind
Enumeration whose variants represent kinds of primitive integers
-
const-anonymous-functions
macro to create const anonymous functions
-
join-lazy-fmt
Lazy
separator.join(iterable)
method andlazy_format!
for Rust -
nclosure
composable, nameable closure types with separated states and functionality for use in APIs where anonymous types are unavailable
-
lit-vek
iter! and vek! macros for nicer literal syntax
-
fast_fmt
faster, more flexible and more correct alternative to core::fmt
-
ref-portals
Safely use (stack) references outside their original scope
-
async-injector
Reactive dependency injection for Rust
-
fatal-error
Differentiate errors and fatal errors
-
pass_by_catastrophe
Please do not use this
-
struct-variant
Minimal helper macro to generate an enum out of a list of structs
-
apply_method
Allows you to apply any function given as a parameter to the object
-
async-pipeline
Easy way to pipeline sync and async functions
-
persian-rug
Framework for bringing together disparate objects with inconvenient relationships
-
rewind
Strong exception guarentee support types
-
take-cell-option
taking the value from a cell of a option without cloning
-
any-opt
macro to get the first value from a list of options
-
unsaef
Macros to erase scope information from tokens
-
sssstd
🐍 - A better analogy for resizeable arrays
-
infix_macro
macro that generates the neccesary boilerplate to use "*operator*" infix functions
-
qol
Quality Of Life functions and macros
-
dynamic
A dyanmically typed value with fast downcasting
-
oops
Lightweight error-handling. Provides
Option<T> -> std::io::Result<T>
. -
propresenter
Unofficial library for interacting with ProPresenter 7
-
rwtypes
Adds methods to read/write binary numbers to the Read and Write traits
-
if-let-return
macro for
if let ... pattern
-
enum_variant_eq
Determining that enumerations only have Variant equal
-
panicking
std::thread::panicking
analog available in theno_std
context -
pinpoint
pinned references
-
enum-tryfrom
Error types and traits for use with enum-tryfrom-derive
-
stacking-iterator
Iterator utilities for manipulating stacks
-
io_err
serializable
std::io::Error
with improved ergonomics -
pokeapi_types
a collection of structs used to aid in the creation of data from the PokeAPI service
-
dynamic-cast
The fifth pillar of OOP: dynamic casting
-
scopefunc
A trait defining kotlin-like scope functions
-
lmbd
A macro that computes everything at compile time.Based on lambda calculus
-
set-error
A very simple trait that overwrites errors
-
vec_box
A single macro to create a vec of boxed elements, for trait objects
-
abi_stable_derive_lib
detail of abi_stable
-
distinct
Two traits for enforcing that two types either must be the same or must be different
-
constant
evaluation tools for Rust
-
sort-by-borrowed-key
Adds two convenience methods for sorting by a borrowed key
-
ts_static
Wrapper macro for lazy static and a struct to aid in accessing a static in a thread safe way
-
discard-while
Get the first non-matching element, and the amount of discarded elements
-
arrutil
Functions for manipulating arrays from slices
-
finte
convert between integer and Rust enum
-
bind_match
Convenience macro similar to
matches!
but binds to variables in the pattern and returns anOption
of the result -
rbuwu
rust macros but in uwu
-
into_variant
Easily convert your types into the corresponding enum variant
-
funfun
Macros for working with closures
-
tuple-map
map methods for tuple
-
xpr
A general purpose generic expression template library
-
static-cow
Cow
at the type level: a framework of traits for writing types that are generic over ownership of their contents -
vecmerge
A macro for merging vectors
-
array_manipulation
Methods for manipuling arrays in a Vec-like fashion. It will (probably) get into core once const expressions get less experimental.
-
const-identify
Generates unique ids that can be used at compile time
-
refmove
An experimental implementation of library-level by-move references
-
async-retry
Async Retry
-
tci
Teaching C Interpreter
-
rustility
A collection of utilities I often find myself using in Rust
-
mopa-maintained
My Own Personal Any: get your own Any with additional functionality
-
with-macro
Syntactic sugar for calling methods
-
credibility
A thin wrapper around assert to support table-driven tests
-
offsetter
Macro for creating structs with fields at specified offsets, by automatically inserting padding
-
ffi_reflect_csharp
C# code generator for the
ffi_reflect
package -
multiref
Multireferences: a safe way to do [&T] -> &[T]
-
grit-junk-drawer
Collection of small utilities, types, traits, helpers, etc
-
constany_blank
Convert any function to constant
-
smart-pointer
Traits for smart pointer functionality
-
cobhan
FFI is a system for enabling shared code to be written in Rust and consumed from all major languages/platforms in a safe and effective way, using easy helper functions to manage any unsafe data marshaling
-
dangerous_option
DangerousOption - a type similar to ! in Swift language. It's basically an Option which panics if dereferenced while containing None. no_std compatible.
-
glasses
Macros for writing lots of tests (or specs!)
-
multi-structs
Macro for generating a merged struct from multiple sub-structs
-
resize_slice2
Resize a slice given a larger slice in safe Rust
-
const_type
define enum-like const-types, but with aliases for variants
-
hermes_ru
A very convenient string parsing crate that can parse function and variable references in strings into corresponding values
-
accompany
with
-like macro for Rust -
pure_cell
Alternative to GhostCell that provides safe interior mutability via const expressions
-
crab-errors-rs
handle errors in rust
-
literalext
A helper crate for interpreting proc-macro
Literal
values -
tiny_fail
Fail type
-
derive-debug-extras
More customisable #[derive(Debug)]
-
match_to_str
match pattern to str
-
unchecked_unwrap
Adds an unchecked version of
unwrap()
andexpect()
to Option and Result -
mjb_gc
Garbage collected pointers with immediate dropping
-
extension-traits
Annotation to easily define ad-hoc / one-shot extension traits
-
valibuk
set of macros implementing the correct-by-construction pattern
-
turbonone
macro for calling functions with Option<T> arguments
-
array_init_macro
initialization macro for arrays
-
cobalt-async
collection of helpful functions for working with async Rust
-
once-cell-regex
just gives you the
regex
macro from theonce_cell
docs! -
appbiotic-code-error
A set of error types to build services that can be managed similarly
-
clone-fields
Fields-wise types cloning
-
struct2vec
Rust structure to slice
-
optarg2chain
Converts optional arguments to chaining style
-
bounded-vec
Non-empty rust Vec wrapper with type guarantees on lower and upper bounds for items quantity
-
ctti
Compile-time type information
-
const-concat
Heinous hackery to concatenate constants
-
errorcon
A small crate for scoping errors and easier error conversion
-
input-stream
IO streams similar to C++'s streams
-
scrapmetal
Scrap Your Rust Boilerplate
-
std3
Standard library for operating systems, useful for rust-osdev
-
slots-slice
manipulating slices of optional values
-
arrays
Construct an array from an iterator
-
prec
A generic operator-precedence parser library
-
string-cases
String case conversion utilities
-
negative-type-bound
negative type bound
-
graphfind-rs
finding patterns in graphs
-
zisvalidator
A validator for struct and enum
-
tensor-macros
A compile time optimised tensor library
-
ortho_vec_derive
Derive orthogonal vector structure for better CPU cache usage
-
static_leak
Leak references with static lifetimes from static Mutexes and RwLocks
-
boulder
Like a builder, but heavier
-
macro_const
A macro for creating corresponding macro definitions for constants which evaluate to the same values
-
zkp-logging-allocator
Wrapper around the system allocator that logs large allocations
-
extrust
intended as an extension of the standard library
-
sapp-jsutils
Helper functions for working with js objects in miniquad based apps
-
collect-all
vec! for everything: easily make literals of any collection!
-
gemstone
collection of utilities
-
constduck
Compile-time ducktyping and reflection using const generics
-
variadic_closure
Support for dynamically created and called closures with variable number of arguments
-
primitive-from
trait PrimitiveFrom that is what From is to Into for num_traits::AsPrimitive
-
bigfactorial
Precalculated compile-time factorial macro for numbers upto 99
-
slice-string
A String backed by a slice
-
struct_update
export a macro to instantiate a struct with others which have common fields
-
forests
Forest types and operations in Rust
-
pyo3io-macros
I/O utilities bindings for PyO3
-
byte_conv
conversion traits to bytes
-
nearly_eq
Nearly(Approximately) equal traits and assertion
-
kai
My personal prelude and utilities
-
hcstatic-str
compact storage for short static strings
-
type-path
Get the string array representation of a Rust type path
-
ddmw-types
some basic DDMW types
-
isrepr
Generating validation from arbitrary memory to repr(C) types
-
bswap
byte-swapping integers, pointers, and slices
-
unborrow
Macro for calling a &mut self method with transient &-borrows of self in the parameters
-
html5ever-atoms
Static strings for html5ever
-
none-array
a very cursed way to create an array of None values
-
dfdi
Dependency For Dependency Injection
-
stack-vec
Ad-hoc compile-time sized
Vec<T>
like types on the stack -
velcro
Convenience macros for initializing vectors, hash maps and other Rust collections
-
simput
input parser from stdin
-
iterify
Turn any type into an iterator with closures!
-
safe_cell
Safer than std::cell::UnsafeCell!
-
cmp_any
Comparison for &dyn types
-
maller
that calls closures depending on the input data
-
into_string
Helper crate to convert values into strings avoiding extra allocations
-
strong_rc
Reference counting smart pointer without weak count
-
unstringify
Procedural macro implemention of the reverse operation of
stringify!
-
hax-frontend-exporter
hax frontend exporter helper crate
-
dyn_safe
Take control of the Semver hazard of the
dyn
safety of your traits! -
bg
builder + generics
-
nutype_macros
The newtype with guarantees
-
on_demand
A macro to generate aux macros for on-demand usage
-
serde_newtype
Macro for generating newtypes with validity checks for use with serde
-
enum_parse
Procedural macro generating boilerplate code for parsing enum variants
-
soft
non-panicking assertions
-
boow
Borrow Or oWned
smart pointer. Alternative to Cow. -
ptr_iter
Iterators to simplify working with pointers
-
simple-builder
A procedural macro for creating a builder-pattern struct for any struct
-
assert_into
For when writing .try_into().unwrap() feels too long
-
strided
slices. This library provides two types
Strided
andMutStrided
as generalised forms of&[T]
and&mut [T]
respectively, where the elements are regularly spaced in memory, but not necessarily… -
borrow_with_ref_obj
Versions of Borrow[Mut] that return reference objects (Ex. std::cell::Ref)
-
pure_pursuit
generic Pure Pursuit in no_std Rust
-
another_pipe_macro
Adds a macro for composing functions
-
wraited-struct
Read and write
struct
with byte array -
field-projection
Field projection experiment
-
mark_last
extension to rust iterator's to mark the last element of an iterator
-
vars
variadic & functional programming via tuple
-
ligature
knowledge graph library written in Rust
-
matches
A macro to evaluate, as a boolean, whether an expression matches a pattern
-
size-trait
Traits for restricting the size of type parameters
-
tuple-arity
Get the arity (number of elements) of tuple types with 0-12 elements
-
blue_typemap
A TypeMap Dependency Injection method for dynamic function parameters
-
anyint
traits and structs for working with integers of any bit size
-
cslice
slices with a stable ABI for interfacing with C
-
columnation-master
An experimental columnar arena
-
struct-pad
Padding types to enable memory layout optimizations
-
arraytools
A variety of helpful methods for working with fixed-size arrays
-
async_fn
Collection of helper annotations and macros for concise and yet explicit
async fn
signatures -
result-extensions
that provides extensions for the Result<T,E> type
-
type-nats
Type-level natural numbers in Rust
-
packer
Pack static files into your binary at compile time
-
serde_apply
Partially deserialize and update your struct
-
wrap
Generic function wrapping
-
new_york
Home of the dollar slice
-
arcow
Atomically Reference-counted Copy-On-Write shared pointer
-
kozo
syntax sugars for structs
-
type_at
trait to index type of Rust tuples
-
same-types
Ensure that two types are the same
-
fn_chain
Helper macro/function to create function chaining
-
sub-array
Extract a sub-array out of an array
-
nonminmax
Primitives types which cannot be their minimum/maximum value
-
into_ext
Extension trait for the “Into” trait, offering a method “.into_::<T>()” to specify the target type of conversion
-
lang_extension
Rust Lang Extension
-
zkp-error-utils
Assertion like macros for returning
Result::Err
-
quixutils
Common helpers and utils
-
kaydle-primitives
Low level primitive parsers for KDL, intended as a building block for higher level parsers or deserializers
-
npp
A safe rust wrapper for NVIDIA Performance Primitives (NPP) APIs
-
duration-macro
Compile-time duration parsing
-
numeric-enum-macro
A declarative macro for type-safe enum-to-numbers conversion
-
arraybox
A box with fixed capacity, backed by a byte array (it can be stored on the stack too). Implements fixed capacity
ArrayBox
. -
nested-struct
Create nested structs using a macro
-
envload
Automatically fill structs from env variables
-
to_debug
An alternative to the ToString trait that uses the Debug trait
-
uninit
A collection of tools for a safer usage of uninitialized memory
-
supercow
A generic way to accept general reference-like values without proliferating generics
-
dispatchtable
Small library used to specify function dispatch tables HashMap<K, Box<Fn(..)>>