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