-
zerocopy
makes zero-cost memory manipulation effortless. We write "unsafe" so you don't have to.
-
anyhow
Flexible concrete Error type built on std::error::Error
-
bitflags
A macro to generate structures which behave like bitflags
-
derive_more
Adds #[derive(x)] macros for more traits
-
once_cell
Single assignment cells and lazy values
-
pretty_assertions
Overwrite
assert_eq!
andassert_ne!
with drop-in replacements, adding colorful diffs -
ordered-float
Wrappers for total ordering on floats
-
half
Half-precision floating point f16 and bf16 types for Rust implementing the IEEE 754-2008 standard binary16 and bfloat16 types
-
eyre
Flexible concrete Error Reporting type built on std::error::Error with customizable Reports
-
derive_builder
Rust macro to automatically implement the builder pattern for arbitrary structs
-
validator
Common validation functions (email, url, length, …) and trait - to be used with
validator_derive
-
num_enum
Procedural macros to make inter-operation between primitives and enums easier
-
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…
-
shellexpand
Shell-like expansions in strings
-
bytes
Types and traits for working with bytes
-
miette
Fancy diagnostic reporting library and protocol for us mere mortals who aren't compiler hackers
-
pin-project
safe and ergonomic pin-projection
-
arrayvec
A vector with fixed capacity, backed by an array (it can be stored on the stack too). Implements fixed capacity ArrayVec and ArrayString.
-
snafu
An ergonomic error handling library
-
thiserror
derive(Error)
-
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… -
smol_str
small-string optimized string type with O(1) clone
-
inventory
Typed distributed plugin registration
-
lazy_static
A macro for declaring lazily evaluated statics in Rust
-
approx
Approximate floating point equality comparisons and assertions
-
cargo_toml
Cargo.toml
struct definitions for parsing with Serde -
enum-map
A map with C-like enum keys represented internally as an array
-
leptos
full-stack, isomorphic Rust web framework leveraging fine-grained reactivity to build declarative user interfaces
-
macro_rules_attribute
Use declarative macros in attribute or derive position
-
self_cell
Safe-to-use proc-macro-free self-referential structs in stable Rust
-
ouroboros
Easy, safe self-referential struct generation
-
dyn-clone
Clone trait that is dyn-compatible
-
generic-array
Generic types implementing functionality of arrays
-
frunk
developers with a number of functional programming tools like HList, Coproduct, Generic, LabelledGeneric, Validated, Monoid, Semigroup and friends
-
downcast-rs
Trait object downcasting support using only safe Rust. It supports type parameters, associated types, and type constraints.
-
cap-std
Capability-based version of the Rust standard library
-
zerovec
Zero-copy vector backed by a byte array
-
bon
Next-gen compile-time-checked builder generator, named function's arguments, and more!
-
human-panic
Panic messages for humans
-
tap
Generic extensions for tapping values in Rust
-
float-cmp
Floating point approximate comparison traits
-
typed-builder
Compile-time type-checked builder derive
-
memoffset
offset_of functionality for Rust structs
-
az
Casts and checked casts
-
nonempty
Correct by construction non-empty vector
-
enum-iterator
Tools to iterate over all values of a type (e.g. all variants of an enumeration)
-
rustlings
Small exercises to get you used to reading and writing Rust code!
-
lasso
A multithreaded and single threaded string interner that allows strings to be cached with a minimal memory footprint, associating them with a unique key that can be used to retrieve them at any time
-
bitfield
macros to generate bitfield-like struct
-
error-stack
A context-aware error-handling library that supports arbitrary attached user data
-
json-patch
RFC 6902, JavaScript Object Notation (JSON) Patch
-
bcs
Binary Canonical Serialization (BCS)
-
compiler_builtins
Compiler intrinsics used by the Rust compiler
-
cmd_lib
Common rust commandline macros and utils, to write shell script like tasks easily
-
either
The enum
Either
with variantsLeft
andRight
is a general purpose sum type with two cases -
decorum
Total ordering, equivalence, hashing, and constraints for floating-point types
-
counter
package to count generic iterables
-
cfg_aliases
A tiny utility to help save you a lot of effort with long winded
#[cfg()]
checks -
polonius-the-crab
Tools to feature more lenient Polonius-based borrow-checker patterns in stable Rust
-
nutype
The newtype with guarantees
-
dlopen2
opening and operating on dynamic link libraries (also known as shared objects or shared libraries)
-
volatile
wrapper types for raw pointers
-
writeable
A more efficient alternative to fmt::Display
-
assertables
assert macros for better testing, debugging, quality assurance, and runtime reliability
-
constcat
concat! with support for const variables and expressions
-
new_debug_unreachable
panic in debug, intrinsics::unreachable() in release (fork of debug_unreachable)
-
rustdoc-types
Types for rustdoc's json output
-
amplify
Amplifying Rust language capabilities: multiple generic trait implementations, type wrappers, derive macros
-
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 -
enclose
A convenient macro, for cloning values into a closure
-
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.
-
derive-where
Deriving with custom trait bounds
-
educe
offers procedural macros designed to facilitate the swift implementation of Rust's built-in traits
-
safer-ffi
Write safer FFI code in Rust without polluting it with unsafe code
-
iri-string
IRI as string types
-
bit_field
bit field trait providing get_bit, get_bits, set_bit, and set_bits methods for Rust's integral types
-
if_chain
Macro for writing nested
if let
expressions -
trie-db
Merkle-Patricia Trie generic over key hasher and node encoding
-
float-ord
A total ordering for floating-point numbers
-
konst
Const equivalents of std functions, compile-time comparison, and parsing
-
async-once-cell
Async single assignment cells and lazy values
-
rustc_apfloat
Rust port of C++ llvm::APFloat library
-
easy-cast
Type conversions which are expected to succeed
-
beef
More compact Cow
-
replace_with
Temporarily take ownership of a value at a mutable location, and replace it with a new value based on the old one
-
abi_stable
For doing Rust-to-Rust ffi,writing libraries loaded at program startup
-
ref-cast
Safely cast &T to &U where the struct U contains a single field of type T
-
byte-slice-cast
Safely cast bytes slices from/to slices of built-in fundamental numeric types
-
auto_impl
Automatically implement traits for common smart pointers and closures
-
assert_matches
Asserts that a value matches a pattern
-
pin-project-lite
A lightweight version of pin-project written with declarative macros
-
unwinding
in Rust and for Rust
-
bounded-integer
Bounded integers
-
color-eyre
An error report handler for panics and eyre::Reports for colorful, consistent, and well formatted error reports for all kinds of errors
-
fixedstr
strings of constant maximum size that can be copied and stack allocated using const generics
-
la-arena
index-based arena without deletion
-
tynm
Returns type names in shorter form
-
orchestra
Generate an orchestra of subsystems from a single struct
-
by_address
Wrapper for comparing and hashing pointers by address
-
testresult
type for concise and precise test failures
-
stdext
Extensions for the Rust standard library structures
-
io-extras
File/socket handle/descriptor utilities
-
axum-valid
validation extractors for your Axum application, allowing you to validate data using validator, garde, validify or all of them
-
foreign-types
A framework for Rust wrappers over C APIs
-
lazy_format
lazily formatting values for later
-
pyo3-stub-gen
Stub file (*.pyi) generator for PyO3
-
protobuf-src
Build system integration for libprotobuf
-
fallible_collections
adds fallible allocation api to std collections
-
aide
A code-first API documentation library
-
virtue
A sinless derive macro helper
-
erasable
Type-erased thin pointers
-
similar-asserts
assert_eq! like macros with colorized diff output
-
comparable
comparing data structures in Rust, oriented toward testing
-
async-trait
Type erasure for async trait methods
-
arrow-buffer
Buffer abstractions for Apache Arrow
-
recursion
cache-aware stack safe recursion
-
servo_arc
A fork of std::sync::Arc with some extra functionality and without weak references
-
const-gen
generating (relatively) complex compile-time constants in rust
-
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
-
typewit
type-witness-based abstractions, mostly for emulating polymorphism in const fns
-
iter-read
A Read implementation for iterators over u8 and related types
-
failsafe
A circuit breaker implementation
-
cool_asserts
A collection of useful testing assertions and utilities
-
ptr_meta
A radioactive stabilization of the ptr_meta rfc
-
array-init-cursor
help keep track of arrays of MaybeUninit
-
tuples
many useful tools related to tuples
-
rustrict
profanity filter for Rust
-
bounded-collections
Bounded types and their supporting traits
-
proof-of-sql
High performance zero knowledge (ZK) prover for SQL
-
resman
Runtime managed resource borrowing
-
atomic_refcell
Threadsafe RefCell
-
field-offset
Safe pointer-to-member implementation
-
lender
A lending-iterator trait based on higher-rank trait bounds, with full std::iter::Iterator functionality
-
safe-transmute
A safeguarded transmute() for Rust
-
buffered-reader
A super-powered Reader
-
terrors
ergonomic and precise error handling built atop type-level set arithmetic
-
fix-hidden-lifetime-bug
Proc-macro to write an automatic fix for the "hidden lifetime in impl Trait" issue
-
bevy_reflect
Dynamically interact with rust types
-
maplit
Collection “literal” macros for HashMap, HashSet, BTreeMap, and BTreeSet
-
tlua
Zero-cost high-level wrapper for Tarantool-LuaJIT
-
pinned-init
facilitate safe pinned initialization
-
dynosaur
Dynamic dispatch for return position impl traits and async in Rust
-
tiny-fn
Type erased closures on stack
-
arrow-array
Array abstractions for Apache Arrow
-
soa_derive
Automatic Struct of Array generation
-
deltae
Calculate Delta E between two colors in CIE Lab space
-
const-random
compile time random number generation
-
fatality
extension to
thiserror::Error
-
bounded-vec
Non-empty rust Vec wrapper with type guarantees on lower and upper bounds for items quantity
-
fallible-iterator
Fallible iterator traits
-
rustpython-ast
AST definitions for RustPython
-
version-sync
ensuring that version numbers in README files and other files are kept in sync with the crate version
-
psm
Portable Stack Manipulation: stack manipulation and introspection routines
-
pyo3-polars
Expression plugins and PyO3 types for polars
-
dyn-stack
Dynamic stack wrapper for unsized allocations
-
try_match
Fallible pattern matching with a function-like syntax
-
loupe
Profiling tool for Rust
-
strck
Checked owned and borrowed strings
-
aws-smithy-types-convert
Conversion of types from aws-smithy-types to other libraries
-
castaway
Safe, zero-cost downcasting for limited compile-time specialization
-
shaku
Compile Time Dependency Injection for Rust
-
pretty_assertions_sorted
Wrapper around the
rust-pretty-assertions
crate that allows for the ability to sort the Debug output -
makers
a POSIX-compatible make implemented in Rust
-
indoc
Indented document literals
-
sptr
Strict Provenance Polyfill
-
tryhard
Easily retry futures
-
ra_ap_ide_assists
Code assists for rust-analyzer
-
argp
Derive-based argument parser optimized for code size
-
lending-iterator
Fully general lending iterators in stable rust: windows_mut!
-
reval
expression evaluator
-
calendrical_calculations
Calendrical calculations in Rust
-
value-trait
Traits to deal with JSONesque values
-
overload
macro to simplify operator overloading
-
pusherator
Push-based version of Rust iterators
-
deriving_via
DerivingVia
-
cascade
Dart-like cascade macro for Rust
-
ffi-convert
A collection of utilities to ease conversion between Rust and C-compatible data structures
-
cargo-emit
Talk to Cargo easily at build time
-
as_variant
macro to convert enums with newtype variants to
Option
s -
dupe
Marker for types which are cheap to clone
-
hax-frontend-exporter-options
The options the
hax-frontend-exporter
crate is sensible to -
arrayref
Macros to take array references of slices
-
merge
multiple values into one
-
dync
An efficient alternative to
dyn Trait
for containerized types -
o2o
Object to Object mapper for Rust. Derive '(Try)From' and '(Try)Into' traits.
-
libcnb
A framework for writing Cloud Native Buildpacks in Rust
-
anymap3
A safe and convenient store for one value of each type
-
oqs
interface to Open-Quantum-Safe's liboqs
-
cap-std-ext
Extension APIs for cap-std
-
outref
Out reference
-
oxc-miette
Fancy diagnostic reporting library and protocol for us mere mortals who aren't compiler hackers
-
facet-reflect
Allows peeking (reading from) and poking (writing to) types that implement Facet
-
capacity_builder
Builders where the code to calculate the capacity is the same as the code to write what's being built
-
simple-error
error type backed by a string
-
auto_enums
allow multiple return types by automatically generated enum
-
joinery
A small crate for generically joining iterators with a separator
-
const_soft_float
Const Soft Float Point
-
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. -
sealed
Macro for sealing traits and structures
-
reborrow
Emulate reborrowing for user types
-
russcip
Rust interface for SCIP
-
error_set
An error set macro that simplifies error management by providing a streamlined method for defining errors and easily converting between them. Inspired by Zig's error set type.
-
derive-deftly
An ergonomic way to write derive() macros
-
flagset
Data types and a macro for generating enumeration-based bit flags
-
as-any
provide the AsAny trait
-
cast_trait_object
Cast between trait objects using only safe Rust
-
email_address
providing an implementation of an RFC-compliant
EmailAddress
newtype -
core_extensions
Extensions for core/std library types, and other miscelaneous features
-
implicit-clone
Immutable types and ImplicitClone trait similar to Copy
-
dypdl
Libarary for Dynamic Programming Description Language (DyPDL)
-
socketpair
Cross-platform socketpair functionality
-
fluent-comparisons
Boost readability by writing multicomparison expressions like
if any_of!({a,b,c}>=5) {...}
while keeping the benefits of hand-written code -
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…
-
pin-utils
pinning
-
fstr
A stack-allocated fixed-length string type
-
yazi-macro
Yazi macros
-
retry-error
An error type for an operation that can fail more than once
-
anyerror
A type of any error for transport
-
elain
Set a type's minimum alignment with const generics
-
documented
Derive and attribute macros for accessing your type's documentation at runtime
-
cfg-iif
A macro for defining
#[cfg]
if-else
functions -
r3bl_redux
Redux library built using Tokio, concurrent & parallel
-
flex-error
Flexible error definitions using macros and traits
-
extend
Create extensions for types you don't own with extension traits but without the boilerplate
-
directed
Evaluate programs based on Directed Acyclic Graphs
-
open-enum
An attribute for generating "open" fieldless enums, those that accept any integer value, by using a newtype struct and associated constants
-
fixnum
Fixed-point numbers with explicit rounding
-
lazy_errors
Effortlessly create, group, and nest arbitrary errors, and defer error handling ergonomically
-
macro-machines
State machine macros with logging and graphviz DOT file generation
-
condtype
Choose types at compile-time via boolean constants
-
rdftk_iri
IRI and URI specifications
-
uniplate
boilerplate-free operations on tree-shaped data types
-
tstr
Type-level strings
-
internal-iterator
Internal iteration equivalent of
std::iter::Iterator
-
inline-python
Inline Python code directly in your Rust code
-
display-error-chain
Formats a standard error and its sources
-
arr_macro
Initialize arrays with ease!
-
with_locals
Function attribute to return references to locals by using CPS
-
vector2d
The spoon of 2D vector libraries, intended for simple game development
-
stdio-override
overriding Stdin/Stdout/Stderr with a different stream
-
concat-with
Extend the function of the
concat!
macro instd
-
data-rw
io buffer write reader
-
panic-halt
Set panicking behavior to halt
-
rollgrid
pseudo-infinite open worlds
-
option_trait
Helper traits for more generalized options
-
statum
Compile-time state machine magic for Rust: Zero-boilerplate typestate patterns with automatic transition validation
-
slice-dst
Slice-based custom DSTs
-
polars-lazy
Lazy query engine for the Polars DataFrame library
-
rustversion
Conditional compilation according to rustc compiler version
-
myutil
Rust Util Collections
-
twilight-mention
working with mentions in the Twilight ecosystem
-
dispose
wrapper for values that must be consumed on drop
-
manganis
Ergonomic, automatic, cross crate asset collection and optimization
-
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… -
awint_macro_internals
Internal macro utilities for the
awint
system of crates -
devela
A development layer
-
moveit
safe, in-place construction of Rust (and C++!) objects
-
sugars
An useful collection of macros to make tasks easier
-
valitron
ergonomics, functional and configurable validator
-
parsable
A trait to easily parse data structures
-
hibachi
Asynchronous Batched Inference Platform
-
random-number
Generate random numbers quickly
-
datasize
A simplified heap memory size estimator
-
fmodel-rust
Accelerate development of compositional, safe, and ergonomic applications/information systems by effectively implementing Event Sourcing and CQRS patterns in Rust
-
advent-of-code
Solutions to Advent of Code
-
qualifier_attr
Procedural macro attributes for adding "qualifiers" (pub, async, unsafe, const, extern "C", ...) to various items
-
frida-gum
Rust bindings for Frida
-
rs-event-emitter
simulate promise implementation for rust
-
async-fn-stream
Lightweight implementation of
async-stream
without macros -
rustgram
A fast server framework for hyper with app builder from yml file
-
munge
Macro for custom destructuring
-
ra-ap-rustc_pattern_analysis
Automatically published version of the package
rustc_pattern_analysis
in the rust-lang/rust repository from commit 496145b9cc023aef4bb1f16c0964a53d0da36c88 The publishing script for this crate lives at:… -
autofolder
Single-element folding wrapper
-
any_of
A general optional sum of product type which can be Neither, Left, Right or Both
-
metered
Fast, ergonomic metrics for Rust!
-
dtype_variant
Enables type-safe enum variants with shared type tokens across multiple enums, allowing for synchronized variant types and powerful downcasting capabilities between related enums
-
fragile
wrapper types for sending non-send values to other threads
-
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… -
static_cell
Statically allocated, initialized at runtime cell
-
lowdash
A Lodash inspired utility library to manipulate array and object for Rust
-
leptos_reactive
Reactive system for the Leptos web framework
-
funty
Trait generalization over the primitive types
-
base-traits
base traits (for Rust)
-
psl-types
Common types for the public suffix implementation crates
-
golem-rib
Parser for Golem's Rib language
-
rust_info
Extracts the current rust compiler information
-
entrait
Loosely coupled Rust application design made easy
-
raw-parts
Ergonomic wrapper around
Vec::from_raw_parts
andVec::into_raw_parts
-
k8-client
Core Kubernetes metadata traits
-
void
The uninhabited void type for use in statically impossible cases
-
stackalloc
Safely allocate and manipulate arbitrarily-sized slices on the stack at runtime
-
validated
The cumulative sibling of
Result
andEither
-
andex
Safe, strongly typed array indexes and wrappers for rust with zero dependencies
-
nuts-rs
Sample from unnormalized densities using Hamiltonian MCMC
-
sbnf
A BNF-style language for writing sublime-syntax files
-
anyinput
A macro for easier writing of functions that accept any string-, path-, iterator-, array-, or ndarray-like input
-
aerosol
dependency injection for Rust
-
core_maths
Extension trait for full float functionality in
#[no_std]
backed bylibm
-
phantom-type
A
PhantomData
analog which prevents “parameter is never used” error, but does not produce any restrictions in contrast withPhantomData
-
ra_ap_hir_def
RPC Api for the
proc-macro-srv
crate of rust-analyzer -
assert-eq-float
assert_eq_float!
macros that support floats -
fixed-hash
Macros to define custom fixed-size hash types
-
iced_anim
creating animations in Iced
-
delegation
Macro-based delegation for enums and structs
-
metastruct
Abstractions for iterating and mapping over struct fields
-
panfix
parsing: linear time parsing of multifix operators
-
k9
rust testing library
-
parse-display
Procedural macro to implement Display and FromStr using common settings
-
pagetable
Wait-free 4-level 64-bit pagetable for roughly-contiguous keys
-
refined_type
imbuing rules into types and elevating them to more robust types
-
ownedbytes
Expose data as static slice
-
resiter
Helper crate for handling iterators over result
-
regex-macro
A macro to generate a lazy regex expression
-
type-safe-id
A type-safe, K-sortable, globally unique identifier
-
miden-miette
Fancy diagnostic reporting library and protocol for us mere mortals who aren't compiler hackers
-
num-t
Num<T>: Associate arbitrary types with numeric types
-
racer
Code completion for Rust
-
loft
embedded scripting language
-
bounded-static
Defines the ToBoundedStatic and IntoBoundedStatic traits
-
nu-engine
Nushell's evaluation engine
-
erg_common
A common components library of Erg
-
fmt2io
A bridge between std::io::Write and std::fmt::Write
-
relib_internal_shared
relib is a framework for reloadable dynamic libraries
-
smarterr
Smart error handling library
-
nshare
Conversion between n-dimensional types in different Rust crates
-
components-arena
creating complex domain-specific self-referential data structures
-
macon
builder macro-based generator with its own idioms
-
beekeeper
A full-featured worker pool library for parallelizing tasks
-
k8s-openapi-codegen-common
Common code for the k8s-openapi code generator and k8s-openapi-derive
-
error-code
Error code
-
leptos-mview
A concise view macro for Leptos
-
as-is
An abstraction over ownership
-
istring
A replacement for String that allows storing short strings of length up to sizeof<String>() - 1 without a heap allocation
-
validify
struct validation and modification functionality through the use of derive macros
-
doku
A framework for documenting Rust data structures
-
tuple
Element-wise operations on tuples
-
optionally_const
Optional constness on stable Rust
-
tinyvec_macros
Some macros for tiny containers
-
direction
Representations of directions
-
moddef
Macro for convenient module declaration. Each module can be put in a group, and visibility can be applied to the whole group with ease.
-
emboss
Macros to embed metadata as an ELF/Mach-O section in your final binary
-
orx-pseudo-default
PseudoDefault trait allows to create a cheap default instance of a type, which does not claim to be useful
-
renege
Tracking cache validity using fast concurrent invalidation propogation
-
rudi-dev
Rudi - an out-of-the-box dependency injection framework for Rust
-
indices
macros and methods for safely retrieving multiple mutable elements from a mutable slice, addressing scenarios where slice elements would typically require
RefCell
orCell
(interior mutability approach) -
marauders
A work-in-progress code mutation tool
-
opentalk-types-signaling-livekit
Signaling types for the OpenTalk livekit module
-
fn_meta
Returns metadata about a function at runtime
-
macro-asm-builder
macro-assemblers
-
orion-error
Struct Error for Large Project
-
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… -
mydi
MyDI. Dependency Injection library
-
worktable
in-memory storage
-
freecs
A high-performance, archetype-based Entity Component System (ECS) written in Rust
-
endian-writer
[no_std] Methods for efficient reading and writing of structures to raw pointers in a stream-like fashion
-
pariter
Parallel iterator processing
-
cartesian
QOL macro that creates the cartesian product of multiple iterators
-
tea-core
Core data structures and traits for tevec
-
portaldi
An ergonomic lightweight compile-time depencency injection library
-
strong-type
Procedural macros for naming and strong-typing pritimives and strings
-
rust-box
odd set of tools for Rust programming
-
tracerr
Custom compile-time captured error tracing
-
one_err
OneErr to rule them all
-
squid
A RISC-V emulator with AOT compilation for fuzzing
-
libreofficekit
in Rust
-
const-field-offset
Wrapper around field-offset crate and const-field-offset-macro
-
rust-fsm
A framework and a DSL for building finite state machines in Rust
-
spacetimedsl
Ergonomic DSL for SpacetimeDB
-
thiserror-no-std
derive(Error)
-
model-mapper
Derive macro to map between different types
-
lazycell
providing a lazily filled Cell struct
-
human-errors
An error library focused on providing your users with relevant advice for any problem
-
wiwi
Stuff™
-
enum-derived
Generate random instances of your enums and structs
-
hyperlight-common
Hyperlight's components common to host and guest
-
wavltree
An intrusive Weak AVL Tree
-
derive_tools
A collection of derive macros designed to enhance STD
-
rust-automata
A framework and a DSL for building finite state machines in Rust
-
flarrow-runtime
flarrow (flow + arrow) is a rust runtime/framework for building dataflow applications
-
types_lte_3gpp
3GPP types for Rust
-
enhanced-magic-string
Rust based magic-string implementation with sourcemap chains support
-
rustfix
Automatically apply the suggestions made by rustc
-
cheap-clone
A trait which indicates that such type can be cloned cheaply
-
fieldx
Procedural macro for constructing structs with lazily initialized fields, builder pattern, and serde support with a focus on declarative syntax
-
econf
Load environment variables into your struct members in one shot
-
rust_lisp
A Rust-embeddable Lisp, with support for interop with native Rust functions
-
flyway
Flyway-rs project, Database change control,similar to flyway in Java
-
synonym
Customizable derive macro to create newtypes. It peeks into the underlying type to choose which traits should be implemented.
-
elastic-query-builder
ElasticSearch Query Builder
-
ext-trait
Annotation to easily define ad-hoc / one-shot extension traits
-
thiserror-context
A wrapper around thiserror, giving you the ability to add context
-
tern
Embedded database migrations in SQL or Rust
-
mach_object
Mach-O File Format Parser for Rust
-
taurpc
A type-safe IPC layer for tauri commands
-
tor-units
macros for types which are constrained within a range, ensuring invalid values are unrepresentable
-
capnp_conv
capnp write/read traits to convert from structs to readers/builders
-
agb_fixnum
abstracting over fixed precision numbers. Designed for use with the agb library for the Game Boy Advance
-
familiar
reserve
-
nar_dev_utils
用于NARS相关项目开发的实用工具包
-
certain-map
A typed map which can make sure item exist
-
copyless
Ways to eliminate memcpy calls when using the standard library
-
lazy-static-include
lazy_static_include_bytes
andlazy_static_include_str
macros to replaceinclude_bytes
andinclude_str
macros -
cache_diff
Generate clean, human readable diffs between two cache structs
-
case_insensitive_string
A case insensitive string struct
-
libh3
Safe Rust Bindings to Uber's Hexagonal Hierarchical Spatial Index - H3
-
tasru
A method to map and understand dwarf symbol information
-
show-option
displaying Options
-
reflectapi
code-first web service API declaration and corresponding clients code generation tools
-
elicit
SmartPointer-like structure for polymorphism
-
peggen
Generate recursive-descent & precedence climbing parsers
-
cexpr
A C expression parser and evaluator
-
downcast
Trait for downcasting trait objects back to their original types
-
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. -
cargo-pkg-info-struct-builder
used as a build dependency which provides structured access to Cargo Package Info
-
impls
Determine if a type implements a logical trait expression
-
derive_destructure2
Destructure structs that implement Drop
-
timely_bytes
Disjoint mutable byte slices from a common allocation
-
fixed32
Fixed Point types
-
cursive-extras
Extra views for the Cursive TUI library as well some helper functions and macros
-
oxrdf
providing basic data structures related to RDF
-
structz
Anonymous struct implementation in rust
-
traitsequence
Traits to abstract over sequences
-
stringleton
Extremely fast string interning library
-
sod-actix-web
Service Oriented Design - Actix Web
-
rbx_dom_weak
Weakly-typed Roblox DOM implementation for Rust
-
rust_writer
useful for editing a Rust file from Rust code
-
rudi
out-of-the-box dependency injection framework for Rust
-
typed-oid
Typed Object IDs
-
bool_ext
defines and implements a complete set of
Option
/Result
-style Boolean functional combinators on Rust’sbool
primitive type -
buildstructor
Macro to derive a builder from a constructor function
-
pumpkin-solver
The Pumpkin combinatorial optimisation solver library
-
bio-types
A collection of common biomedical types for use in rust-bio and rust-htslib
-
enumeration
An extension to rust enum
-
scaffolding-core
A software development kit that provides the scaffolding for building applications and services using OOP
-
diagnosticism
Miscellaneous discrete and simple diagnostics facilities (for Rust)
-
redb_model
Redb model derive macro and DTO type conversion
-
dioxus-class
Dioxus class
-
iterate-trait
Experiment with methods on IntoIterator
-
tokenlock
cell types that decouple permissions from data
-
quoth
scannerless (no-lexing), developer-friendly parsing library for implementing DSLs and syntax parsers in Rust
-
async-transmit
Trait for transmitting data to peers asynchronously
-
enum-assoc
Procedural macro to associate constants with enum variants
-
defer
excecution of code, inspired by go's defer statement
-
oo-bindgen
DSL-based binding geneator for C, C++, Java, and C#
-
safe_math
Math without overflow, creates an enum and a macro to help mitigate any overflow while multiplying and adding
-
fp_rust
Implement fp features for Rust
-
ruut-functions
parse math functions from string (1D,2D,3D,ND) and perform symbolic derivation, gradient, hessian
-
alternating-iter
Provide an iterator adaptor which alternate between two iterators
-
structx
Simulating anonymous struct and named arguments in Rust
-
ref_iter
Dynamic borrowing iterator
-
struct-field-names-as-array
generating the field names of named structs as constants
-
asmov-common-traitenum
using fieldless enums as schema definitions
-
conv
number of conversion traits with more specific semantics than those provided by 'as' or 'From'/'Into'
-
optfield
A macro that generates structs with optional fields
-
nonbox
NaN boxing without boxing
-
px-wsdom-macros-decl
wsdom crate
-
ptr-union
Pointer union types the size of a pointer by storing the tag in the alignment bits
-
gofer
Gofer.rs makes it easy to fetch data from any URL
-
dynamodel
derive macro to implement conversions between your object and
HashMap<String, AttributeValue>
-
hlist2
Compile-time heterogeneous list implementation
-
sdml-parse
Parser for Simple Domain Modeling Language (SDML)
-
tuplex
Rust tuple extension
-
rrplug
framework for R2Northstar plugins
-
ra_ap_la-arena
index-based arena without deletion
-
collect-with
enhanced collection operations with capacity control
-
steckrs
A lightweight, trait-based plugin system for Rust applications and libraries
-
spacetimedb-primitives
Primitives such as TableId and ColumnIndexAttribute
-
cast
Ergonomic, checked cast functions for primitive types
-
reflux
A microservice framework aimed at scalability, flexibility and ease of use
-
decmathlib-rs
Port of the Intel Decimal Floating-Point Math Library decimal128 type to Rust
-
pipe-trait
possible to chain regular functions
-
concat-idents
Allows concatenating multiple identifiers and using them everywhere
-
bash-builtins
implement loadable builtins for bash
-
hierr
RUST Error
-
clone_cell
A Cell that works with a restrictive form of Clone
-
ecsilarant
Sketch of an ECS for the future
-
auto_ops
Macros for easy operator overloading
-
salsa-macro-rules
Declarative macros for the salsa crate
-
time-test
Measure how long your test cases take with one simple macro
-
route_match
A context-agnostic http routing utility
-
ra-ap-rustc_next_trait_solver
Automatically published version of the package
rustc_next_trait_solver
in the rust-lang/rust repository from commit 496145b9cc023aef4bb1f16c0964a53d0da36c88 The publishing script for this crate lives at:… -
type-toppings
Opinionated extensions to standard types
-
rst-common
A shortcut to common Rust crates
-
state-department
state management and dependency injection in Rust
-
rvstruct
A helper macros implementation for Value Classes in Rust
-
compile_time_sort
Sort arrays and slices of primitives in const contexts
-
custom_error
Define custom errors without boilerplate using the custom_error! macro
-
unsafe_cell_slice
A microlibrary for creating multiple mutable references to a slice
-
rancor
Scalable and efficient error handling without type composition
-
dyn-context
mechanism for lifetimes erasing
-
linear_type
Linear types for rust
-
page-turner
A generic abstraction of APIs with pagination
-
trait-cast
Get your own Any with support for casting to trait objects
-
macro-toolset
Some useful macros
-
cfg-elif
Formatter-friendly conditional compilation at item and expression positions
-
swift-rs
Call Swift from Rust with ease!
-
blanket
macro to derive blanket implementations for your traits
-
semval
Semantic validation
-
swamp-error-report
Swamp error report
-
thallium
A basic game engine
-
expect-exit
Result.expected(): display an error message and exit without a panic
-
opentalk-diesel-newtype
Newtype derive for diesel types used in OpenTalk crates
-
flarrow-builtins
flarrow (flow + arrow) is a rust runtime/framework for building dataflow applications
-
doc-comment
Macro to generate doc comments
-
dialogue-macro
An extension to dialoguer that simplifies command-line interaction interfaces
-
caret
Macros for declaring non-exhaustive C-style enumerations, with named members
-
evcxr_repl
A REPL for Rust
-
copyvec
A contiguous growable array type, with a fixed, stack-alllocated capacity that implements Copy
-
rshyper
focuses on hypergraphs
-
relend
A generalized reborrowing mechanism that extends beyond simple references. It also allows for implementing traits that work with reborrowing for custom types.
-
reactivate
Thread Safe Reactive Data Structure. Made with ❤️ for 🦀
-
windows-bindgen
Code generator for Windows metadata
-
wellen
Fast VCD and FST library for waveform viewers written in Rust
-
undo_stack
A minimal undo stack for user defined types
-
gdnative-bindings
The Godot game engine's automatcally generated bindings to Godot classes
-
stack_dst
A wrapper that allows storage of unsized values of up to a fixed size inline (without boxing)
-
relib
framework for reloadable dynamic libraries
-
rutie
The tie between Ruby and Rust
-
crustal
generating C/C++ code
-
rioc
Zero cost dependency injection macros
-
struct-metadata
Macros for attaching metadata to structs
-
sandpit
A concurrent garbage collected arena
-
globals
Painless global variables in Rust
-
pike
A macro collection to pipe |> your functions calls, like in functional languages such as F#, Elixir and OCamel
-
cfg_rust_features
Set cfg options according to probing for Rust compiler, language, and library features
-
sovran-typemap
A thread-safe heterogeneous container with type-safety
-
rsffish
wrapper for fairystockfish based on https://github.com/mind-sports-games/Fairy-Stockfish-Lib
-
stylish-html
stylish
helpers for writing styles as HTML elements -
collate
Traits and a data structure to support collation and bisection
-
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)
-
hex_lit
Hex macro literals without use of hex macros
-
drop_bomb
A runtime guard for implementing linear types
-
mu_rust_helpers
Helper functions for UEFI Rust applications
-
rs_envflag
An easy way to define flags by environment variables
-
tokio-tasks
Task managment for tokio
-
text-block-macros
Create a multiline string literal
-
enum-ptr
Ergonomic tagged pointer
-
implementation
The implementation crate
-
wallee
Flexible concrete Error type built on std::error::Error with caller location tracking
-
io-streams
Unbuffered and unlocked I/O streams
-
accessorise
Add accessors to your objects
-
version-ranges
Performance-optimized type for generic version ranges and operations on them
-
borrowme
The missing compound borrowing for Rust
-
thiserror-core
derive(Error)
-
mayheap
An abtraction over alloc & heapless
-
actuate
A reactive user-interface framework
-
spire_enum_macros
Procedural macros to facilitate enum usage, such as when delegating implementations, extracting variant types, or creating enum tables
-
conflate
Merge multiple values into one
-
focusable
A trait for types that can be focused
-
supertrait
enables default associated types and const fn trait items in stable Rust
-
concrete-type-rules
Rules and validation for concrete types
-
relax
Derive Partial<T>
-
maybe-borrow
Macros for conditionally returning borrowed data
-
schematic_types
Shapes and types for defining schemas for Rust types
-
kismesis
A static site generator with plugins and a custom markup language
-
const_fn
A lightweight attribute for easy generation of const functions with conditional compilations
-
nonzero_ext
Extensions and additional traits for non-zero integer types
-
radicle-std-ext
Monkey patches of std types
-
partially
Partial trait, and an optional macro to mirror a struct, wrapping each field in an Option
-
orx-closure
An explicit closure with absolute seperation of the captured data from the function
-
dlopen
opening and operating on dynamic link libraries (also known as shared objects or shared libraries). This is a modern and more flexible alternative to the already existing libraries like libloading or sharedlib
-
clsx
A flexible class name composition utility for Rust, inspired by clsx and tailwind-merge
-
spade-hir
Helper crate for https://spade-lang.org/
-
nu-std
The standard library of Nushell
-
twitch_types
common types for Twitch
-
pretty-type-name
a shorter version of std::any::type_name
-
ux2
Non-standard integer types like
u7
,u9
,u10
,u63
,i7
,i9
etc -
cbor-data
using CBOR as in-memory representation for working with dynamically shaped data
-
append-only-bytes
Shareable append-only bytes
-
js-source-scopes
extracting and dealing with scope information in JS code
-
impl-opaque
Macro for declaring complex struct and initializer
-
static_file_util
generating and managing static files in Rust applications
-
typeid
Const TypeId and non-'static TypeId
-
cmp
convenience macros and function for comparing
-
univec
A vector that can hold elements of any single type
-
nnn
Generate your newtypes from a single macro
-
self-rust-tokenize
Turns instances of Rust structures into a token stream that creates the instance
-
safecast
Traits to define safe casting between types
-
result-like
Option/Result-like monad interface for your own enum
-
yield-return
Implement a coroutine like C#‘s
yield return
using Rust’sasync
,await
-
sumtype
Generate zerocost sumtype of iterators or closures
-
unsafe-fields
unsafe to access or modify fields with safety invariants
-
proc-bitfield
expressively declare bitfield-like structs
-
intuicio-core
Core module for Intuicio scripting platform
-
ferment
Traits for FFI conversions and some helper methods
-
portable-io
“ A subset of Rust
std::io
functionality supported forno-std
-
cdumay_error_yaml
YAML error
-
derive-merge-struct
A derive macro to partially update a named struct
-
from-string
that provides a FromString trait with a String to String noop
-
dcc-lsystem
Lindenmayer system together with some rendering tools
-
compact_strings
A more compact but limited representation of a list of strings or bytestrings
-
pathbufd
PathBuf with Display + formatting macro
-
string_capacity
Moved to capacity_builder
-
libgraphql
building GraphQL tools, clients, and servers
-
maybe-owned
MaybeOwned
(andMaybeOwnedMut
) type similar to std’sCow
but it implementsFrom<T>
andFrom<&'a T>
and does not requireToOwned
-
orx-self-or
Defines SoR (self-or-ref) and SoM (self-or-mut) traits that are useful in reducing code duplication and pushing forward the ownership transfer decision from the type designer to the consumer
-
binmarshal
Pack and unpack structs and enums into and out of binary data streams
-
bon-sandbox
Not a real crate! It’s just a showcase of examples used by
bon
’s documentation to demonstrate the rustdoc output for code generated by builder macros. Don’t use this crate, it… -
fnrs
some useful functions i like
-
mstr
2-word, immutable Cow<str>
-
qcl
A Query Check Language written in Rust
-
non_structural_derive
nonstructural derives for auto traits
-
hermit-sync
Synchronization primitives for kernels
-
pilgrimage
A Kafka-like message broker in Rust
-
ownable
Derive macro for structs/enums with Cow, which can convert Type<'a> to Type<'static> and more
-
egui-bind
showing keybinds
-
pipa
Pipe Operator Library for Rust
-
numeric_cast
Safely cast between numbers
-
dyn-hash
Hash trait that is dyn-compatible
-
steel-core
Core compiler and VM implementation for steel
-
mantra-rust-macros
macros to create requirement traces and coverage logs for the
mantra
framework -
mapper
Mapping macro to help to reduce mapping boilerplate
-
assert_matches2
A version of the assert_matches! macro that brings variables from the pattern into scope
-
re_error
Helpers for handling errors
-
derive_generic_visitor
Boilerplate for building rust visitors
-
hax-frontend-exporter
mirrors of the algebraic data types used in the Rust compilers, removing indirections and inlining various pieces of information
-
hifa-xml-schema
Structure generator from XSD source file
-
zed
A minimal, Redux-like state management library for Rust with advanced features
-
flat-drop
Wrapper that drops recursive objects iteratively to avoid stack overflows
-
termite-dmg
Termite Data Model Generator is a crate meant to generate boiler plate code for data models
-
assume
Macro for stating unsafe assumptions in Rust
-
iterstats
Statistics for rust iterators
-
pair
Safe API for generic self-referential pairs of owner and dependent
-
plrust-trusted-pgrx
Minimal set of
pgrx
rexports for plrust, which the authors have deemed trusted -
restructed
Quickly derive subsets of your structs
-
p3-maybe-rayon
Feature-gated wrapper around rayon
-
amonoid
A general-purpose monoid library
-
simple_pg
extentions and utilites for working with postgres
-
poise_error
An opinionated plug-and-play library for error handling in Discord bots made with poise
-
urlquerystring
A high-performance, zero-allocation URL query string parser
-
borrow
Zero-overhead, safe implementation of partial borrows. This crate allows you to borrow selected fields from a struct and split structs into non-overlapping sets of borrowed fields.
-
command-error
Detailed error messages and status checking for
std::process::Command
-
binread
helping read structs from binary data using ✨macro magic✨
-
anyhow-http
Customizable HTTP errors built on anyhow
-
barexp
that automatically generates mod.rs files for your project
-
vector-traits
Rust traits for 2D and 3D vector types
-
static-keys
Reimplement Linux kernel static keys for Rust userland applications
-
zip_clone
Zip an iterator to a repeately cloned object
-
jkcenum
Rust enum library
-
env_var_helpers
Macros and functions that help provide access to environment variable values
-
run-on-drop
Run code when an object is dropped
-
funcall
A lightweight Rust library that turns functions into JSON-callable tools
-
transpose-future
Transpose Option<impl Future>
-
axum-openapi3
Facilitate the generation of OpenAPI 3.0 documentation for axum applications
-
shadow_counted
An iterator that counts every iteration in a hidden counter, nested iterators may commit the count to parents
-
efcl
The most simple, small, and fast terminal color text library
-
untrusted_value
aim to provide a type-safe way to handle and sanitize potentially untrusted values like user input
-
hotload
Zero cost hot update dynamic library; supporting DLL, SO
-
ape
reading and writing APEv2 tags
-
cortex-ai
An asynchronous flow-based processing framework for building flexible data pipelines with conditional branching and error handling
-
rustkey
— rust library for tillitis TKey application development
-
bignumbe-rs
Large, medium-precision numbers
-
grit-data-prison
providing the struct Prison<T>, a Generational Arena that allows full interior mutability to each and every element
-
fx-callback
A subscription based callback to inform subscribers about relevant data events within structs
-
kindest
Costless typed identifiers backed by UUID, with kind readable in serialized versions
-
async-retry
Async Retry
-
droppy
Friendlier dropwatch
-
ra2-mix
Red Alert 2 MIX file format library for reading and writing MIX archives
-
ra_ap_hir_ty
The type system for rust-analyzer
-
ff-arcium-fork
building and interfacing with finite fields (Arcium fork)
-
flipperzero-test
Rust test harness for Flipper Zero
-
inline-c
Write and execute C code inside Rust
-
linked_list_r4l
Linked lists that supports arbitrary removal in constant time
-
base64_type
type wrapper for Vec<u8> that uses base64 for serialization
-
tighterror
A minimalistic error representation framework
-
baxe
that simplifies error handling in Axum
-
prima_bridge
implement the bridge pattern
-
enum_cycling
Small macro for working with enums
-
error2
error handle library for Rust
-
despatma
Design Pattern Macro like Loki
-
key-path
Key path for Rust
-
copy_from_str
An extension trait to copy a string into another string
-
service-builder
A lightweight, type-safe service construction library for Rust that provides compile-time dependency injection through builder pattern
-
path_scan
A lightweight Rust procedural macro for parsing path patterns (URLs, routes) with variable capturing, static binding, and compile-time checks
-
superstruct
Versioned data types with minimal boilerplate
-
ffxiv_types
Useful types for FFXIV-related projects
-
list_tools
一个自己研发的Vec<T>
-
ffi_helpers
help make working with FFI easier
-
with_drop
Nostd wrapper for using a closure as a custom drop function
-
try-specialize
Zero-cost specialization in generic context on stable Rust
-
env_init
Small crate to help initializing environment structs
-
maybe-uninit-ext
Extended maybe-uninit types
-
jist
Welcome to Jist a lightweight and efficient programming language built in Rust, designed for simplicity, flexibility, and fast performance with a clean and readable syntax. Github: https://github.com/jon429r/JistR
-
random_variant
To be used with all variant, contains the derive macro
-
makefile-lossless
Lossless Parser for Makefiles
-
vine
framework inspired by Spring Boot
-
graphql-starter
GraphQL starter kit
-
rsta
Rust Statistical Technical Analysis (RSTA) - A library for financial technical analysis indicators
-
typle
Generic tuple bounds and transformations
-
ufotofu
Abstractions for lazily consuming and producing sequences
-
prost-unwrap
A procedural macro for prost-generated structs validation and type-casting
-
round
your floats with precision from 1 to 10
-
code-path
A code path macro
-
flexcell
A flexible cell that allows safe circumvention of double borrow issues
-
gen_ops
Macros for operator overloading for generic types
-
good-ormning-runtime
Runtime code for good-ormning
-
zoet
Adds
#[zoet]
macro to reduce boilerplate when implementing common traits -
frclib-core
A collection of utilities to be used across the FRC in rust ecosystem
-
metatype
Helper methods to determine whether a type is
TraitObject
,Slice
orConcrete
, and work with them respectively -
windows-metadata
Windows metadata reader
-
gesha-rust-types
Rust types for Gesha proejct
-
sod
Service Oriented Design
-
derive-regex
Easily parse a regex into a struct or enum variant
-
take-until
A take_until extension for iterators
-
drop_code
A macro that allows you to implement code that will be automatically executed after the function code has finished, be it the end of the function or even a panic state
-
columnation
Unsafe columnar containers for native Rust types
-
fallthrough
Pattern match with fallthrough, in the style of C switch
-
hyperlight-guest
build guest applications for hyperlight
-
captur
Macro to capture whole structs from disjoint fields in a closure
-
mod_use
pub mod xxx; use xxx::*;
-
surreal_devl
Contains core logic of surreal derive
-
problem
Error handling for command line applications or prototypes
-
class-rs
Reads/writes a .class file into/from an almost 1-to-1 matching struct
-
vtid
generating volatile type IDs
-
cubeb
Bindings to libcubeb for interacting with system audio from rust
-
rustilities
offers a few utils for Rust development
-
deltoid
calculate and apply deltas to structs and enums
-
checked-rs
encoding validation semantics into the type system
-
tamago
generating C code
-
anony
Anonymous struct
-
octseq
Abstractions for types representing octet sequences
-
is-odd
Returns true if the given number is odd
-
pretty-error-debug
If the process ends with an
Error
, write out theError
message and chain -
game_inventory
An inventory system independant of item data
-
prange2
Parse numeric ranges for indexing
-
default-constructor
Macros for creating pseudo-dsls that constructs structs through default construction and field conversion
-
parsy
efficient parser combinators library
-
concat-string
macros for concatenating string slices into owned strings
-
tisel
Effective type-based pseudodynamic dispatch to impls, enums and typeid
-
jacklog
Easy way to get logging the way Jack always wants anyway
-
re_string_interner
string interning library
-
mutcy
Zero-cost safe mutable cyclic borrows using borrow relinquishing
-
iter_variants
A way to iterate over all variants of a rust struct/enum
-
encdec
binary object encoding / decoding helpers
-
suika_mime
handling MIME types in the suika web stack
-
abstract-impl
Create abstract implementations for traits
-
variadics_please
Implement things as if rust had variadics
-
mode
A behavioral state machine library written in Rust
-
syllogism
allow for some specialization using stable Rust
-
refinement-types
Refinement types
-
irgo
macro to use go-defer-like in Rust
-
eoe
exiting processes on errors gracefully
-
garnish_lang_traits
Shared traits for garnish core libraries
-
ucpack
serialization format used in the Arduino Alvik
-
c8str
String types that are both utf-8 and null terminated
-
rukt
dialect for token-based compile-time scripting
-
std-next
Opinionated utilities and polyfills
-
selfie
Experimental, macro-free and allocation-free self-referential structs
-
fmt-derive
A more robust and versatile derive macro for Debug and Display
-
catboost
inference library for Rust
-
capwriter
Fast saving and loading with annotating cap for vector and slice
-
torcher
firewall generation tool written in Rust
-
xacro
A xml preprocessor for xacro files to generate URDF files
-
restd
A re-implementation of various std features
-
composable
Easy composition of functional traits, functions or closures
-
polyvalue
A weak-typed analog for rust
-
dpc-pariter
Parallel iterator processing
-
coi
Dependency Injection library
-
rocketmq-common
Apache rocketmq common
-
assert_approx_eq
assert approximately equal
-
not-found-error
Convert Option to Result using convenient functions
-
steepen
Create multiple iterators from a single iterator by separating elements
-
lure
Shift left with Lure, a Rust crate that provides a macro for creating lazy Regex instances with compile-time validation, ensuring invalid patterns fail to compile
-
autotrait
Reduces boilerplate by auto-generating trait definitions from impl blocks for dynamic dispatch
-
substr-iterator
Substring extractor based on characters without allocation
-
easy_node
Smart pointer for graph nodes
-
slugify
Macro for flexible slug generation
-
thiserror-ext
Useful extension utilities for
thiserror
-
menva
Manage environment variables
-
entity_data
A container for entity component data
-
geqslib
Equation solving made easy in Rust and beyond!
-
odesign
optimal design of experiments library written in pure rust
-
tfhe-versionable
Add versioning informations/backward compatibility on rust types used for serialization
-
bypass
Thread-local dynamic variables
-
generativity
Generation of unique invariant lifetimes
-
flag-bearer
Generic async semaphores
-
named-tup
Create named tuples using the tup!() macro
-
db-helpers
Various macros to help with database queries and tables
-
command-macros
Macros for creating std::process::Command with shell-like syntax
-
sitrep
Frontend-agnostic progress reporting
-
to_boxed
defines ToBoxed Trait and its derive
-
deki
A base for most of my rust projects (tailored to myself)!
-
circuit_breaker
Circuit Breaker pattern for building resilient and fault-tolerant systems
-
tls-api-stub
TLS API implementation that returns error on any operation
-
nix-compat-derive-tests
Nix protocols and data formats
-
dilib
A dependency injection library for Rust
-
forward_ref
Rust's forward_ref_* macros for easier implementation of operator overloading
-
option-ext
Extends
Option
with additional operations -
bint
Bounded Integer in Rust
-
std-traits
Traits for types in the standard library
-
naan
A fast, easy, and tasty functional programming prelude
-
flarrow-file-ext
flarrow (flow + arrow) is a rust runtime/framework for building dataflow applications
-
get_set_macro
Procedural macro to generate customizable getters and setters in Rust
-
staged-sg-filter
A staged programming implementation for Savitzky-Golay filters. Loops go brrr.
-
indexed_valued_enums
Create enums resolving into values, and get their variants back through their values or their discriminant, inspired by Java
-
ct-python
Execute Python code at compile time to generate Rust code
-
non-empty-str
Non-empty strings
-
gan
Just do it! A small tool provides ergonomic value handling with ignore/ ok/ some semantics
-
branch_hints
that provides likely and unlikely branch hint functions in stable Rust
-
transitive
derive macros for Rust
-
width_counters
Atomic counters with variable bit widths and customizable atomic ordering
-
processmanager
manage process lifecycles, graceful shutdown and process faults
-
structre
Static-checked parsing of regexes into structs
-
mitex-lexer
Lexer for MiTeX
-
tomli
CLI for quering and editing TOML files
-
never
A stable version of the unstable never type (!)
-
gramatika
A minimal toolkit for writing parsers with Rust
-
opaque_typedef
Supports defining opaque typedefs
-
guard
Macro implementation of RFC 1303: a guard-let-else statement a la Swift
-
fast-concat
Fastest macro for concatenating strings
-
iter-index
More flexible alternative to Iterator's enumerate() method
-
pyo3-error
Unified error causality chains across Rust and Python
-
quickbits
Fast bit manipulation routines for Rust's native integer types
-
no-break
Typesafe extraction of continuation values from unbreakable control flows
-
fastpeek
A different way to peek iterators
-
variadiz
Variadic function support for rust
-
thermal_hydraulics_rs
A Thermal Hydraulics Library with some useful traits,enums and functions for heat transfer and fluid mechanics
-
constptr
NonNull without mutability
-
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
-
dowhile_rs
Do while macro for rust with labels and nesting support
-
tc-error
TinyChain's generic error struct
-
tea-error
creating custom errors for tevec
-
concat_const
const
&[u8]
and&str
concatenation -
olis_string
Small-string optimization for Rust, aims to replace std::string::String
-
iter-scan
Iterator scan methods that don't suck
-
nil
Noxmore's Ixperimental Lutilities
-
lunka
Pretty thin bindings to Lua 5.4
-
supply
Provider API for arbitrary number of lifetimes
-
stub-macro
stub!() is a better version of todo!() that can be assigned to a variable
-
type_cell
Attach values statically to a type using static get/set methods
-
appcfg
Unix style command line parameter and configuration file parsing library
-
borrow-or-share
Traits for either borrowing or sharing data
-
primitive-from-enum
macros for get primitive enum from complex
-
moore-svlog-syntax
The SystemVerilog parser implementation of the moore compiler framework
-
precomputed-hash
intending to be a base dependency to expose a precomputed hash
-
asn1obj
Rust Asn1 format decode/encode
-
xlsx_batch_reader
An Excel file(xlsx/xlsm) reader by batches, in pure Rust
-
getopts-macro
Using macros to concisely define the getopts
-
typestate
A proc macro DSL for typestates
-
gdnative-async
Runtime async support for godot-rust
-
tomldoc
generate documentation for toml configs defined with serde-derive
-
mac
A collection of great and ubiqutitous macros
-
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
-
linux-errnos
A list of error numbers
-
fromage
A cheesy Rust hack for converting between non-local types
-
cast_checks
A procedural macro to check for invalid casts
-
threadporter
First aid kit for !Send + !Sync values ⛑️
-
eventastic
opinionated fork of Eventually-rs. It enforces the use of transactions and handles idempotency.
-
warnings
defining debug only runtime warnings with a way to opt-out
-
try_hard
Malleable error handling for rust
-
mdtrans
Markdown parser and transformer using
pest.rs
, focused on flexibility to a project’s needs -
hinted
small crate for providing a size hint and exact size on an iterator
-
floxide
A directed graph workflow system in Rust
-
degeneric-macros
Hides struct generics into trait associated types
-
aliri_braid
Improve and strengthen your strings by making them strongly-typed with less boilerplate
-
pgde
A macro library for consuming PostgreSQL row data into structs
-
strung
Easy access of struct fields in strings using different/custom pre/postfix: "Hello, {field}"
-
embed_it_utils
The utils for [
embed_it
] -
triton-isa
The instruction set architecture for Triton VM
-
typeables
type aliases. By SixArm.com.
-
sigmut
a state management framework designed to be used as a foundation for UI frameworks
-
panic-message
Get a panic message from a panic payload
-
trycatch
Throw and catch exceptions in rust
-
kolorwheel
Color palette generator for GUI applications
-
iterator-sorted
Stable functions for checking iterator sorting
-
rustc-ap-rustc_errors
Automatically published version of the package
rustc_errors
in the rust-lang/rust repository from commit 9a27044f42ace9eb652781b53f598e25d4e7e918 The publishing script for this crate lives at: https://github… -
swamp-script-derive-tests
tests for swamp macro
-
anthill-di
Rust di containers system
-
slugify-rs
generate slugs from strings
-
copstr
COpy STRing module
-
runestr
User-perceived characters related types and data structures
-
easy-ext
A lightweight attribute macro for easily writing extension trait pattern
-
lebe
Tiny, dead simple, high performance endianness conversions with a generic API
-
deterministic_default_hasher
A deterministic initialisation of the stdlib default hasher
-
derail
An alternative to
core::error::Error
-
macro-bits
performing macro-based bit manipulation
-
assert_hex
display assert panics in hexadecimal {:#x?} format
-
v8_derive
Derive macros and helpers for Rusty v8
-
minlin
minimal linear algebra made to be as convinient as possible
-
cust
High level bindings to the CUDA Driver API
-
transitionable
A no_std compatible type to transition
T -> T
where you have an&mut T
-
argcall
Enables enums and structs to be callable by associating functions with their variants or fields
-
pyderive
Derive macro of Python special methods and a class attributes for PyO3
-
unchecked_wrap
Convenient UncheckedSync/Send wrapper types
-
nohashmap
Use HashMap syntax in Rust for non-hashable types
-
psp22
Minimal implementation of PSP22 token standard in pure ink!
-
hexga_map_on
Define the map_on! macro that can be used to impl a lot of trait quickly using macros
-
first-err
Find the first Err in Iterator<Item = Result<T, E>> and allow iterating continuously
-
imstr
Cheaply clonable and slicable immutable strings
-
autofloat
Pure Rust library for efficient automatic differentiation
-
visibility
Attribute to override the visibility of items (useful in conjunction with cfg_attr)
-
overloaded_literals
Overloaded Literals to construct your datatypes without boilerplate and with compile-time validation
-
rsciter
Unofficial Rust bindings for Sciter
-
permitit
Cute little library to permit a specific error
-
misfortunate
Perverse implementations of safe Rust traits
-
kittycad-execution-plan-traits
Types for KittyCAD execution plans
-
haskell_bits
Rust implementations of various Haskell typeclasses and functions
-
bounded-vector
Vec wrapper that guarantees upper and lower bounds on type level
-
non-empty-vec
NonEmpty
vector implementation, ensure non-emptiness by construction -
flarrow-flows
flarrow (flow + arrow) is a rust runtime/framework for building dataflow applications
-
gravitron_macro_utils
Gravitron's Macro Utils
-
cell_wrappers
set of macros for ergonomically working with TCells and TLCells from the qcell crate
-
cmajor
Rust bindings for the Cmajor JIT engine
-
asm_block
Translate tokens to string for Rust inline assembly
-
cooked-waker
A safe interface for creating async Wakers
-
rust-code-analysis-web
Run a web service to compute and export code metrics
-
custom_error_core
Define custom errors without boilerplate using the custom_error! macro
-
lune-std-datetime
Lune standard library - DateTime
-
newer-type
Support defining newtype wrapper with inheriting trait implementations
-
nitinol
event sourcing
-
slice-utils
A collection of slice utils, like itertools
-
rspack-allocative
Inspect rust object tree and output it as flamegraph
-
dims_macro
Macros for Generating Systems of Units
-
encdec-base
encdec simple encoder/decoder base types and traits
-
equator
Composable assertion library
-
seasick
FFI-safe nul-terminated strings with ownership semantics
-
nougat
(lifetime) GATs on stable Rust
-
maybe-single
A singleton. Maybe.
-
rust_examples
rust 的学习中的一些例子
-
dyn-iter
Wrapper around
Box<dyn Iterator<Item = V> + 'iter>
to simplify your code -
any-fn
Dynamically-typed functions to represent any functions in Rust
-
patched
Macro for patch like structure
-
ur
Uniform Resources
-
enumtrait
macros for polymorphism using enums
-
calibrator
methods for calibration of scalar and vector measurement systems
-
defmac
A macro to define lambda-like macros inline
-
culpa
error-handling syntax in Rust
-
cubob
Structured output helpers for display mode
-
delegate-attr
Attribute proc-macro to delegate method to a field
-
saptest
testing Super Auto Pets teams
-
hzrd
Shared mutability containers based on hazard pointers
-
hypotaxis
Uninterrupted method chaining
-
crate-inspector
inspect the public APIs of Rust crates
-
niloecl
axum handler pattern for twilight interactions
-
cew
Personal Rust utility library
-
spade-types
Helper crate for https://spade-lang.org/
-
yukon
trait for the ability to cheaply duplicate an object
-
tear
Typed early returns and loop control + Syntax sugar for try!-like error handling
-
flagger
Enum flag generator
-
ra_ap_edition
Rust edition support crate for rust-analyzer
-
tuple_list
macro-free variadic tuple metaprogramming
-
ringstack
A very simple circular buffered stack implementation
-
retrieval
Allows the retrieval of trait implementations
-
actuate-winit
Winit window bindings for Actuate
-
heterob
conversion between bytes/bits and heterogeneous lists (tuples)
-
ty-tag
TypeId for lifetime containing types via type tags
-
extend-fn
Use arbitrary FnMut when something that must implement Extend is needed
-
arrcomp
Python-style list comprehension syntax for contiguous memory Rust arrays
-
unty
Explicitly types your generics
-
discriminant-rs
Convert enum to integer type
-
retry-backoff
Retry Backoff
-
intertrait
Allow for inter-trait casting
-
makepad-live-id
Makepad live id symbol interning
-
refreshable
wrapper around a value that changes over time
-
gazebo
A collection of well-tested utilities
-
struple
Convert structures from and to tuples
-
enumcapsulate
Safe casting for newtype enums and their variants
-
trybuild-internals-api
A fork of trybuild with the internals exposed as a public API
-
reductor
Generic abstractions for combining and nesting reduction patterns for iterables
-
rw-exact-ext
Extension of std::io to read and write data types with exact amounts of bytes
-
clone-spl-discriminator
Solana Program Library 8-Byte Discriminator Management
-
ranged_integers
An integer restricted to a compile-time defined bounds driven by const generics
-
noco
no code, no problem
-
drop-stream
A stream that wraps another stream with a closure that is called once it is dropped
-
kind
Costless typed identifiers backed by UUID, with kind readable in serialized versions
-
trait-enumizer
Proc macro to automatically generate enum based on method signatures (with appropriate helpers)
-
ff_ce
building and interfacing with finite fields
-
pinned-aliasable
Pin-based stopgap for unboxed aliasable values in self-referential data structures
-
easy-err
An easy Error wrapper
-
wiwi-macro-decl
declarative macros for wiwi, a library, of, Stuff™ (implementation detail; do not depend on this crate directly)
-
seal-the-deal
Attribute to use on the
trait
methods (or associated functions) that you wish to “seal”, a.k.a., render themfinal
-
availability
describing availability of items
-
generics
macros for parsing generics (with optional where clause) in
macro_rules!
-
zirv-macros
A collection of useful macros for everyday programming
-
wutil
A lightweight library that contains useful functions, wrappers, and macros
-
mopa
My Own Personal Any: get your own Any with additional functionality
-
shive
lightweight IOC service container writen for the Rust applications
-
culprit
error crate with the goal of identifying precisely where and in which context an error occurs
-
re_tuid
128-bit Time-based Unique Identifier
-
separator
Formats numbers into strings with thousands separators for readability
-
zerror_full
macro for implementing helpful errors
-
size-of-no-padding
A procedural macro to calculate the size of a type without padding
-
derive-insert
GetOrInsert
trait for enums and its derive macro -
iter-identify_first_last
A helper iterator, flagging first and last elements
-
ruru
Native Ruby extensions in Rust
-
adjacent-pair-iterator
An iterator over adjacent pairs in another iterator
-
truc_runtime
Rust code generator for safe, fixed size, evolving records - runtime
-
advancedresearch-higher_order_core
Core structs and traits for programming with higher order structures in Rust
-
structmapper
help you generate code that mapped one struct to another
-
sbpf-asm-macros
Ergonomic macros for low-level sBPF ASM functionality
-
hidreport
HID Report Descriptor and HID Report parser
-
state_machine_future
Easily create type-safe
Future
s from state machines — without the boilerplate -
next-web-mqtt
Next Web Mqtt
-
map
map!
macro andmap_insert!
macro, to create a HashMap collection and insert key-value pairs. Inspired by thevec!
macro. -
safelog
Conditionally suppress confidential information from logs
-
mate-rs
lightweight arithmetic expression interpreter
-
flexi_func_declarative
exposes the fb! macro to create a function with a flexible signature
-
nonany
Integer types with customizable niche values
-
proc-easy
Macros to make writing proc-macro crates easy
-
stock-symbol
A data type for representing stock symbols
-
akvakulturregisteret_rs
API for det nye offentlige Akvakulturregisteret
-
advent_of_code_traits
Minimal, flexible framework for implementing solutions to Advent of Code in Rusts
-
cecs
Entity database for the game 'Cao-Lo'
-
core-ext
Useful extensions to core::convert library
-
char-device
Character Device I/O
-
manifest-dir-macros
function-like macros to check or operate paths relative to CARGO_MANIFEST_DIR at compile time
-
flatcc
Build-time convenience utilities for flatbuffers
-
ctrlgen
Generate enums for message-passing services
-
atomicell
Multi-threaded RefCell on atomics
-
schemafy_lib
Generates serializeable Rust types from a json schema
-
tartan-bitfield
Define structures with accessors for particular bits or bit ranges
-
bounds
interact with bounded and unbounded ranges
-
defmt-parser
Parsing library for defmt format strings
-
nzliteral
Macro simplifying use of NonZero literals
-
easy-envar
Enables easy retrieval and export of environment variables in
build.rs
-
bigerror
handle big errors ¯\_(ツ)_/¯
-
dungeon-cell
Store (almost) any value as one type without dynamic memory
-
cgp-error
Context-generic programming error components
-
tantivy-derive
Generate code to converts struct from and to tantivy documents
-
docify_clone
Docify allows you to live-embed at compile time pieces of code from throughout your project as rust doc examples
-
lexi-matic
A Lexer Library
-
iter-chunks
Extend Iterator with chunks
-
iderive
Drop-in replacement for derive that doesn't directly depend on generic bounds
-
iced_af
The iced application framework project
-
path-dsl
DSL and macro to help deal with Paths and PathBufs
-
rdcl_aoc_helpers
Helpers for Advent of Code
-
data-stream
serialization library based on streams
-
slip-10
SLIP10 implementation in Rust
-
xcfg-rs
configuration file parser for Rust
-
sql_tool_kit
合并 sql_tool_core 和 sql_tool_macros 并一起导出,后续新增的功能都将从这个库中导出
-
tps_minicbor
A CBOR encoder and decoder suitable for
no_std
embedded targets -
checked_decimal_macro
fixed-point numeric library targeting blockchain development. Originally created and used as a part of the Invariant Protocol. The current version leverages macros, traits and generics…
-
fmt-interspersed
write an iterator's items, interspersed with a separator, to a destination
-
errs
handling errors with reasons
-
guarded
Guard macros
-
frunk-enum-core
Implemenation of genericized enums for use with frunk
-
native_messaging
Async implementation of MDN native messaging. Provides the ability to install host manifest.
-
enum-variants-strings
Derive macro for converting instances of enums to and from strs using variant names
-
unzip_iter
Unzip an iterator to iterators
-
palindronum
Number palindromes
-
add_macro
more additional macros to help you write code faster!
-
bogdan_hello_macro
adds the method hello_macro that generates a greeting based on the name of the struct
-
options
The package provides a data structure for managing named parameters
-
hkt-pin-list
Self managed HKT intrusive linked list
-
konst_macro_rules
detail of the konst crate
-
windows-helpers
Helpers for the windows crate
-
error-ext
Error utilities
-
vsprintf
Rust bindings to the libc vsprintf function
-
currying
anything implementing
FnOnce
. Arguments can be passed one at a time, yielding a new something implementingFnOnce
(and possiblyFnMut
andFn
) which can be called with one less argument. -
simple-logging
logger for the log facade
-
stackbox
&own
ing references in stable Rust - no_std-friendly Box -
plain_hasher
Hasher for 32-byte keys
-
crony
cron runner that spawns another thread to run your cron jobs
-
narr
Numeric Calc
-
tardar
Extensions for diagnostic error handling with
miette
-
numtest
Unit testing for numerical methods
-
to-display
A trait that is Display or can be converted to Display
-
ffi-enum
Simply write and use
enum
s like rust native enums, freely passing through ffi -
cowstr
Copy-on-Write shared strings
-
kernelx
𐲕
-
bossy
Opinionated convenience wrappers for
std::process::Command
and friends -
f3l_filter
3D Point Cloud Library
-
comparable_test
comparing data structures in Rust, oriented toward testing
-
screeps-game-utils
Additional utility functionality for Screeps: World not included in screeps-game-api
-
ebnsf
A CLI to generate railroad (syntax) diagrams from EBNF specs
-
fgoxide
Utility/QoL code for writing command-line / file processing tools
-
singleton-manager
A programatical singleton manager
-
shared-type
Shared type alias and several traits to simplify working with Arc<Mutex<T>>
-
hotswap
Easy code swapping in running executables
-
lichen
Scripting DSL (for Dialogue Graphs, et al)
-
vector3d
3D vector type
-
internal_iterator_rec
Recursive extension for the
internal_iterator
crate -
map_range_int
map a value from one range to another
-
buggy
A less panicky replacement for unreachable!() and unwrap
-
poison-guard
maintaining sane state in the presence of panics and failures
-
enum_ext
procedural macro that enhances enums with additional methods and conversions
-
generator-combinator
Composes combinators to generate patterns of increasing complexity
-
failed-result
A small crate for converting various failed value to result with corresponding error type
-
io-adapters
Adapters to convert between different writable APIs
-
lachs
automatically creating a lexer based on a given enum
-
extension-traits
Annotation to easily define ad-hoc / one-shot extension traits
-
atri_plugin
AtriPlugin
-
typed_builder_rules
Opinionated and very limited macro_rules reimplementation of the typed_builder macro
-
natrix_shared
Shared code for Natrix framework
-
coercible_errors
Zero-cost error handling for generic traits
-
romap
A trait for read-only-maps
-
macro-attr-2018
macro_attr!
macro that enables the use of custom, macro-based attributes and derivations -
murrelet_livecode_macros
livecode macros for murrelet, a livecode framework
-
cassandra_macro
Create Cassandra tables and CRUD CQL prepared statements from Rust structs. (custom derive: cassandra_macro_derive)
-
datafusion-functions-window
Window function packages for the DataFusion query engine
-
blue_typemap
A TypeMap Dependency Injection method for dynamic function parameters
-
from_variants
Rust macro to automatically generate conversions for newtype enums
-
ffxiv_types_cn
Useful types for FFXIV-related projects
-
abcgen
A procedural macro to generate boilerplate code for objects implementing the 'Actor' pattern
-
one-dto-mapper
One DTO mapper
-
singleton-attr
singleton procedural attribute and derive macro
-
inline-option
A memory-efficient alternative to Option that uses a pre-defined value to represent None
-
vcell
Cell
with volatile read / write operations -
kurtbuilds_regex
Wraps the regex library to also provide macros
-
assert_has_field
macro for checking if a struct has a specific field
-
flarrow-url-scheme
flarrow (flow + arrow) is a rust runtime/framework for building dataflow applications
-
dyn_std
Dynamic (object-safe) version of std traits
-
elor
Base generic implementation of an Either type
-
ellie_core
Core modules for ellie
-
isbn
handling ISBNs
-
cve-rs
Blazingly fast memory vulnerabilities, written in 100% safe Rust
-
snowferris
various unique ID formats for Rust
-
friperms
framework for creating typed permission models for whatever system you could phatom
-
decurse
Macro to make recursive function run on the heap (i.e. no stack overflow).
-
macro_error
A macro to display error message
-
sayaka
some simple colorful debugging functions
-
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
-
predicates
boolean-valued predicate functions
-
tryiter
functions for Iterators of Results
-
org-rust-exporter
exporter for org mode documents parsed with
org-rust-parser
-
ocl-macros
Macros for easier/faster working with the ocl crate
-
generic-bytes
A derivable trait for conversion to and from an array of bytes with a type-level size
-
chalk-macros
Macros for Chalk
-
typed_index
A strongly typed Index that know what it is indexing
-
unwrap-ord
Wrapper type to easily convert Ord to PartialOrd. inspired by std::cmp::Reverse
-
datafusion-functions-extra
Extra Functions for DataFusion
-
carykh-macro-rust
macro for finding strings that contain self-referential numbers. Inspired by carykh. This description contains twenty-seven words, fifty-four vowels, and ninety-nine consonants.
-
enum_index
Trait and macros for extracting Enum variant index
-
debugless-unwrap
Unwrap Result<!Debug, !Debug> and Option<!Debug>
-
dyn_struct
Construct dynamically sized types safely
-
choices
HTTP configuration service by defining a struct
-
wings_marshal
WASM plugin system for Geese
-
fluent-string
Fluent versions of String mutation methods
-
lucene_query_builder
A procmacro derive crate to generate lucene query builder for Rust structs :
-
approxim
Approximate floating point equality comparisons and assertions
-
partial_derive2
makes all the properties of a struct type an optional property
-
hb_error
Useful macros and traits for creating and handling errors
-
stecs
Experimental static compiler-checked ECS library
-
rust_observer_log_macro
Log macro dependency for rust observer
-
smt-str
working with SMT-LIB strings in Rust
-
metrics-exporter-scope
Metrics scope exporter
-
linearity
providing various operations commonly found in branchless programming
-
enum_downcast
Safe downcasting for enums
-
null-pointer
0x0.st file uploader
-
easy-error
error utilities
-
ointers
What do you call a pointer we stole the high bits off? An ointer
-
marker_trait
Implement a blanket implementation for a marker trait
-
nonasync
A set of utilities useful for building a non-blocking non-async APIs
-
methods-enum
Two macros for easy implementation of 'state' design pattern and other dynamic polymorphism using enum instead of dyn Trait
-
torq_lang
A programming language for concurrent dataflow
-
enum_discriminant
Procedural macro to add functions on enum types to get discrimnant value from variant or create unit variant from discriminant value
-
coded
concrete error type with an
ErrorKind
enum matching Google’s “canonical error codes” -
guard-clause
Syntactic sugar for writing simple guard clauses
-
ser_mapper
Mapped DTO serialzation wrapper for DBO/Model
-
lazy-init
Lazy initialization
-
macro_lisp
Lisp-like DSL for Rust language
-
dicebag
Dice rolling!
-
const_struct
macro that allows const structures to be passed as const generics
-
peckr
Rust pointer type that allows packing additional data along with the underlying memory offset
-
decimal
floating point arithmetic for Rust
-
isr-macros
Macros for ISR
-
memprint
A way to print memory layout of a struct
-
succinct
data structures for Rust
-
trybox
stable,
no_std
-compatible, fallible heap allocation -
nolife
open a scope and then freeze it in time for future access
-
coroutine
in Rust
-
effing-mad
The hottest algebraic effects library in Rust
-
data_models
used to lookup the sizes of various C-types of historical data models
-
envish
Search for environment variables
-
hexga
include all other console hexga crate in one !
-
control-flow
A hack to control control-flow outside closures
-
sealed_trait
making sealed traits more accessible
-
qm-utils
functions and macros
-
partial_application
partial function application via the partial! macro
-
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
-
home-prelude
Prelude library to support home applications
-
xmacro_lib
macro engine for producing multiple expansions
-
should_match
Pass a test if the output matches a pattern
-
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)
-
tuplemagic
manipulating tuples through various operations like mapping, filtering, nesting, and reducing
-
kstring
Key String: optimized for map keys
-
chain-reader
Combining multiple [
Read
] instances into a sequential read pipeline with configurable error handling 将多个 [Read
] 实例组合为具有可配置错误处理的顺序读取管道 -
lucidity
A distributed orchestrator platform for Rust
-
datafusion-session
-
defer-heavy
A versatile and easy to use defer statement for Rust. Similar to Go's or Zig's defer.
-
parameterx
flexible and type-safe parameter management system for Rust applications. This library provides multiple ways to store and retrieve typed values using a key-value structure, with support…
-
shuriken-bindings
Safe bindings for the [Shuriken bytecode analyzer
-
sourceannot
render snippets of source code with annotations
-
declarative_enum_dispatch
Declarative macro generating boilerplate for enum dispatch
-
smol-symbol
compile-time globally unique, 25-character, 128-bit symbols similar to the Symbol type in Crystal Lang
-
plectrum
An easy way to represent lookup tables in a db as rust enums
-
stackerror
A pragmatic error handling library for Rust that provides helpful strings for debugging, and structured data for runtime error handling
-
match-commutative
Match on patterns commutatively, reducing the use of duplicated patterns. ↔️
-
softfloat-sys
Rust bindings for Berkeley SoftFloat 3
-
seventy
Newtype sanitization and validation
-
iter-comprehensions
iterator comprehensions
-
implicit-fn
A macro that adds support for implicit closures to Rust
-
deptypes
Dependent types
-
oint
oint ('optional int') provides total operations on arithmetic
-
hook
A filtering mechanism where functions (filters) can be registered, prioritized, and applied sequentially to values associated with named hooks. In Rust.
-
thin_cstr
An experimental crate which provides a truly thin std::ffi::CStr
-
fromsuper
Macro helpers to derive new sub-structs from existing super-structs, potentially unpacking Options
-
market
Infrastructure for producers and consumers
-
effective
An effects library, an alternative to keyword generics
-
pubserve
generic observer trait
-
facet-spez
Auto-deref specialization helpers for the Facet reflection system
-
strawboat
A native storage format based on Apache Arrow
-
nipdf-cff-parser
that parses CFF files, part of nipdf library
-
eventually
using Event Sourcing in Rust applications
-
incomplete
incomplete!(), a compile-time checked version of unimplemented!()
-
throw
Efficiently add statically-calculated stack traces to errors
-
cge
Common Genetic Encoding (CGE) for directly-encoded neural networks
-
async-safe-defer
Minimal async- and sync-capable
defer
crate -
tskit
rust interface to tskit
-
unwrap-macros
Convenience macro for unwrapping result and option
-
outcome-46f94afc-026f-5511-9d7e-7d1fd495fb5c
Augmentations for error propagation
-
simple_parse
A declarative converter for Rust type to and from binary
-
sodium
FRP (Functional Reactive Programming)
-
cdumay_error
Streamlining Error Handling in Rust
-
mago-type-syntax
core utilities useful for building lexers and parsers within Mago
-
emboss_common
Common types and constants for emboss
-
zero_v
implementing iterators over function outputs for collections of types implementing a common trait, without using vtables/ dynamic polymorphism
-
named-block
Macro implementing early-exit-from-any-block
-
pin-macros
primarly used to simplify the proccess of working with self-referencial structures
-
has-some
The opposite of is_empty (and is_empty for filters)
-
rustato
A global state management library for Rust applications
-
bty
Streamlined definition and usage of branded types in Rust
-
hexga_bitflags
Bitflags utilities
-
async-session-types
Asynchronous Session Types
-
summum-types
A sum-type macro crate with all the conversions, accessors, and support for abstract methods across variants, and interoperability between sum-types
-
deep_safe_drop
Safe dropping of deep trees that otherwise could cause stack overflow
-
io-enum
#[derive(Read, Write, Seek, BufRead)] for enums
-
chassis
Compile-time dependency injection framework
-
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 -
either_of
working with enumerated types that contain one of 2..n other types
-
const-macros
Various macros for const contexts
-
cell
A replacement of std::cell::RefCell adding advanced support for mapping borrows
-
webidl-utils
working with the WebIDL AST, by extending weedle2
-
jnt
full of just neat things
-
facet-opaque
Type-erased pointer helpers for Facet types
-
useful_macro
Collections of useful macros
-
syrette
The convenient dependency injection framework
-
dirty-fsm
A quick and dirty state machine library
-
typemap-meta
compile-time macro to create type-to-value maps
-
once_cell_serde
Single assignment cells and lazy values
-
ghost
Define your own PhantomData
-
reffers
Smart pointers: ARef, that allows even further owner erasure than OwningRef. Strong is a memory efficient Rc + RefCell in one. And more!
-
type_description
Machine-readable type descriptions
-
tree-splicer
grammar-based test case generator (black-box fuzzer)
-
hado
Monadic do notation using a macro
-
openapi_type
OpenAPI type information for Rust structs and enums
-
adhesion
A set of macros for design by contact in Rust. The design of this library was inspired by D's contract programming facilities.
-
ref_wrapper
Wrapper of dynamically borrowed data
-
dyn-dyn
Flexible trait object downcasting using ptr_metadata
-
min-max
max! and min! macros
-
fixed-macro-types
Macro aliases used in the
fixed-macro
crate -
proto-mapper
A Macro library for easier mapping between custom models and proto generated code
-
coc
A useful macro collections for struct
-
luigipipes-rs
write ETL
-
annasul_macro
annasul: macro library
-
the-string-macro
The missing
string!
macro to constructString
value from string literal -
leetcode_prelude
Some useful macros and definition for exercising in leetcode
-
semester
High efficiency classnames macro
-
rs-std-ext
An extension for the standard library
-
atom
A safe abstraction around AtomicPtr
-
ckb-verification-traits
The CKB verification traits
-
var_num
Variable length number implementation that can be used as a drop in replacement for any number primitive
-
variant_count
Derive macro for enum which adds to it the count of variants
-
structify
A procedural macro to transform functions into structs with state and execution dependencies
-
iter_fixed
Iterator of fixed length
-
extended_matrix
A matrix calculation module
-
gull
type generation
-
instruct-macros-types
Instructor Macro Types are a collection of simple types that we export to work with the instruct-macros crate
-
as_num
Checked conversions between Rust's numeric types
-
inline_dyn
A container type for storing dynamically-sized types inline
-
grouping_by
allows the user to group an iterator by various ways
-
variant_counter
Rust's Enum variant counter
-
bip_bencode
Efficient decoding and encoding for bencode
-
ord_subset
Tools for working with the Ord subset of certain PartialOrd types, like floats
-
temporary_enum_delegate_0_3_0
trait delegation functionality for enums and structs
-
subslice-to-array
Extract fixed-range subslices as arrays, with compile-time checks
-
scoped-panic-hook
Adds scoped, nestable, thread-local hooks for panics and some utilities for capturing and analyzing panics more conveniently
-
limbo_ext
Limbo extensions core
-
anyreader-walker
reading streams of compressed and uncompressed data without knowing the format in advance
-
prctl
This package provides safe abstraction to the linux prctl() interface. Some functions may be architecture-specific.
-
sid
Id. Tiny crate providing strongly typed ids and an id-based vector.
-
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
-
fmttools
Tools for modifying text without allocating any intermediate buffers or unsafe code
-
letter-sequence
A method to create sequence displayed as uppercase or lower letters, or digits
-
laxcow
Clone-on-write smart pointer with relaxed trait constraints
-
iter-enum
#[derive(Iterator, DoubleEndedIterator, ExactSizeIterator, Extend)] for enums
-
maybe_path
Zero overhead static initializer for Path
-
hexga_base
Basic set of functionalities common to all hexga crate
-
pingora-error
Error types and error handling APIs for Pingora
-
std_utils
Standard utilities for Rust
-
assemblist
Define your builder patterns as you use them
-
enum_delegate
Easily replace dynamic dispatch with an enum, for speed and serialization
-
assert_unordered
A direct replacement for
assert_eq
for unordered collections -
ouroboros_examples
Examples for the ouroboros crate
-
deranged
Ranged integers
-
dddk_core
Tactical DDD framework based on command_bus, event_bus and query_bus. It offers annex feature such as authorization, logging ...
-
yadir
Dependency Injection Registry for Rust
-
rusttype
pure Rust alternative to libraries like FreeType. RustType provides an API for loading, querying and rasterising TrueType fonts. It also provides an implementation of a dynamic GPU…
-
warnalyzer
Show unused code from multi-crate Rust projects
-
str-macro
The str!() macro, similar to vec![] but for strings
-
overflower
A compiler plugin to easily select overflow behavior for all integer operations of an item
-
comprehensive_dns
A DNS resolver for https://crates.io/crates/comprehensive
-
multer-derive
derive for constructign type from multer Multipart
-
px-wsdom-dom
wsdom crate
-
interpolate
form of string interpolation
-
enum_handler
A macro to generate a handler trait for enums variants
-
stratagem
A trait library that enables state management and command execution with built-in undo support, inspired by the Command design pattern
-
cuda_std
Standard library for CUDA with rustc_codegen_nvvm
-
erased-discriminant
Type-erased version of core::mem::Discriminant<T>
-
ra-ap-rustc_type_ir
Automatically published version of the package
rustc_type_ir
in the rust-lang/rust repository from commit 496145b9cc023aef4bb1f16c0964a53d0da36c88 The publishing script for this crate lives at:… -
ref-ops
An escape hatch for implementing
ops
traits for references to newtypes -
tuple_key
A serialization format for lexicographically sorted tuples
-
enum-primitive-derive
enum_primitive implementation using procedural macros to have a custom derive
-
debug-fn
A function adapter that implements Display and Debug
-
thread-scoped-ref
that is similar to a thread local storage but allows to store references / dyn Trait within a scope
-
catalyser
A comprehensive collection of extensions to simplify and enhane rust development
-
set_derive
Using Macros to Implement List comprehension Similar to Python Language
-
dare
daring flexible data representation
-
shorter-bounds
Write shorter bounds with a trait alias macro
-
applying
Apply functions in method-position
-
tiptoe
An easy-to-support intrusively reference-counting smart pointer
-
accursed-unutterable-type-id
A worse version of std::any::TypeId
-
fruit-salad
Compare apples and oranges (and more). Trait object reference casting and trait object comparisons.
-
trustmebro
macro that magically turns unsafe code into ‘totally safe, bro’ with no consequences. Ideal for those who want to assert dominance over the compiler and live on the edge of catastrophe.
-
imageproc
Image processing operations
-
unwrap-infallible
Unwrapping Result values with compile-time guarantee of infallibility
-
byte_set
Efficient sets of bytes
-
numeric_literals
Easily cope with numeric literals in generic Rust code
-
simple_search
searching objects
-
fn_macro
函数宏
-
cpclib-asm
cpclib libraries related to z80 assembling
-
bit_roles
Granular role management based on bit flags
-
r-ex
Zero-bloat Rust core library extensions
-
transient-btree-index
allows you to create a BTree index backed by temporary files
-
singleton-cell
A more powerful Ghost Cell allowing the use of any singleton as the key
-
inherent
Make trait methods callable without the trait in scope
-
aspect
Toolkit for Rust
-
embed-nu
Embed the nu engine in your rust application
-
event-listener-primitives
Low-level primitive for building Node.js-like event listeners
-
reltester
Automatically verify the correctness of [Partial]Eq/Ord implementations
-
err_mac
no dependency macro for creating error enums with automatic
From
implementations -
retrying
General-purpose retrying library for Rust with macros and functions
-
error-graph
Allows non-fatal errors in a tree of subfunctions to easily be collected by a caller
-
fn_zip
zip trait for functions, allowing two functions to be combined before being called
-
tonlib-core-anychain
Data structures library for tonlib-client
-
common-error
High performance universal error code management for Rust in Rust
-
bflib
a BrainFuck-to-Rust transpiler using Rust proc macro
-
lazyinit
Initialize a static value lazily
-
tiny-input
Tiny input macros
-
state-shift
Macros for implementing Type-State-Pattern on your structs and methods
-
type-uuid
Safe, stable IDs for Rust types
-
enumx
Ad-hoc enum extension
-
simconnect
Rust bindings for SimConnect
-
differential-dataflow-master
An incremental data-parallel dataflow platform
-
sst
sorted string table abstraction
-
strum-lite
Lightweight declarative macro for sets of strings
-
rvs
defining and evaluating random variables using a simple DSL
-
goof
A reusable, composable, aggregate and
no_std
-friendly error library -
pbrt
https://pbrt.org/
-
moro-local
Experimental structured concurrency support for async Rust (similar to trio's nurseries). Works with non-Send futures on stable Rust.
-
float_plus
Additional features for float values
-
wrapp
Add additional functionality to Rust errors using a wrapper
-
split-every
Split for every n occurrences of a pattern iteratively!
-
koute/nes
emulator written in Rust
-
clap-doc
Create markdown descriptions for
clap::Command
s -
kmacros
Useful macros
-
veho
a iterable toolset
-
ai_iter_utils
A short description of my package
-
cryo
Extend the lifetime of a reference. Safely.
-
zh_num
Convert ASCII numbers and zh words
-
sirena
Digital audio signal processing primitives
-
recursive_reference
way to walk on recursive structures easily and safely
-
docsplay
A derive macro for implementing the display Trait via a doc comment and string interpolation. Fork of displaydoc
-
rhai-rusp
Rhai bindings for the Rust USP toolkit
-
singlemap
rust single map a macro
-
nova
Macro to derive newtypes with support for serde and sqlx
-
chasa
A parser combinator with
many
taking iterator, conditional branching, and method chain -
prev-iter
Iterator which allows you to view the previous element
-
lef21
Exchange Format (LEF) Integrated Circuit Layout Parser & Writer
-
hello-world-in-rust
Hello World!
-
kube-core
Kube shared types, traits and client-less behavior
-
pre
Compile-time assistance for working with unsafe code
-
tri_ton
A Macro for Handling Exceptions
-
multihash-derive
Proc macro for deriving custom multihash tables
-
rlz
Relative Lempel-Ziv (RLZ): a LZ based compressor against a large static dictionary
-
core-nightly
Nightly build of libcore from the rust repo
-
reax
A reactivity system for Rust that infers dependencies between functions
-
slog-bunyan
Bunyan formatter for slog-rs
-
progress-streams
Progress callbacks for types which implement Read/Write
-
medi-rs
mediator library for Rust
-
std-ext
Extend the standard library functionality
-
objid
Generate a random object identifier
-
ebacktrace
error wrapper which captures a backtrace and can carry an optional textual description
-
irox-types
Enums and structs to describe Rust's basic type system
-
rust-quiz
Medium to hard Rust questions with complete explanations
-
tupletools
functions for tuples
-
sly_static
Seamless Rust Static Initialization: Effortless and Efficient
-
pipelining-macro
A convenience macro for the pipeline syntax pattern
-
imgref-iter
A small crate for iterating over the rows or columns of
imgref
buffers -
mapcomp
Python-like list comprehensions for standard containers
-
shoggoth
Generic and type-level programming for Rust
-
illicit
An implicit thread-local environment which is indexed by type
-
async_fn_traits
Trait synonyms for “Fn[…]”-trait bounds returning futures
-
hash256-std-hasher
Standard library hasher for 256-bit prehashed keys
-
locate-error
Add location info to errors
-
opensearch-dsl
Strongly typed OpenSearch DSL
-
nade
Adding named and default arguments to Rust functions
-
scientisto
A light-weight Rust implementation of the github/scientist library used for careful refactoring of critical code paths
-
k8s-controller
lightweight framework for writing kubernetes controllers
-
result-ext
Extends
Result
with additional operations -
rust2fun
functional programming in Rust
-
error-iter
Error::sources on stable Rust
-
traitreg
Create a registry of implementations of a trait
-
retry-policy
Retry Policy
-
bbtk
A collection of frequently used libraries that should be in stdlib
-
option-chain
A macro for using
?
operator in functions that don’t returnOption
-
dyn-error
Error-related utilites for Rust
-
odesolver
solving ODE's
-
tiny-ordered-float
Tiny version of OrderedFloat
-
derive_constructors
Deriving From, TryFrom and create new_with_*args* functions
-
yikes-intenum
Augment integer-based enums with an unknown variant; a macro that makes you say "yikes!"
-
nject
Zero cost dependency injection module
-
gur
A undo-redo framework
-
yoyo
Animation library for Polyhorn
-
sized-dst
Owned container for dynamically-sized types backed by inline memory
-
glam-traits
Traits for the vectors in glam
-
tectonic_errors
A boxed error type for Tectonic, with supporting utilities
-
lsp-document
Helpers to convert between LSP documents and Rust strings
-
hip-runtime-sys
Bindings for the HIP runtime
-
wx-core
微信数据解析工具
-
defer-rs
Deferred execution Rust utilities
-
high_mem_utils
bunch of mem safe abstractions,some involving transmute
-
zipped
recursively unzipping tuples, Options of tuples and Results of tuples
-
kinded
Generate enums with same variants, but without data
-
emplacable
Return unsized values from functions
-
netcdf3
A pure Rust library for reading and writing NetCDF-3 files
-
haz
A thin abstraction over polymorphic environments
-
scoped-writer
Scoped writer utility
-
spawns
Async runtime agnostic thread context task spawner for Rust
-
ad-hoc-iter
Ad-hoc exact size owning iterator macro and other optional utils
-
ddi
Dynamic dependency injection library for rust
-
notzero
macro for constructing
std::num::NonZero*
from constants -
os-query-builder-rs
Open Search query builder
-
fuck-backslash
replace the backslash with slash in-place in your PathBuf
-
internship
Interned string and more
-
sawp-ffi
FFI helper macros and traits
-
panda-re
The official library for interfacing with PANDA (Platform for Architecture-Neutral Dynamic Analysis)
-
string-literals
Rust macros to more easily create String types
-
banquo
An offline monitor for Signal Temporal Logic formulas
-
ez-err
error handling library with support for ergonomic and fast error handling
-
arc_macro
A macro wrapper around Arc::new() for convenience
-
assert-within
Macro for testing that (generic) floating point numbers are within some tolerance
-
audiotags-dev-macro
macros used during the development of audiotags
-
std_nightly_to_stable_3db085279c83
-
simple_detailed_error
Stack and specify errors explainations saying what happened, why, how, where, how to solve it and its causes
-
cfgenius
Conditional compilation with macro support in Rust
-
xtaskops
Goodies for working with the xtask concept
-
dddk_security
Security module of dddk_core. Impl features regarding command_bus pattern and security
-
stackstring
A fixed-size string
-
hand
Easy to use, pretty cmd log for lazy devs
-
selfref
Semi-pain-free self-referential pinned types
-
numeric
N-dimensional matrix class for Rust
-
std_io_iterators
An iterator for
STDIN
and a wrapper forSTDOUT
. Allows easy piping, and graceful closing of application if pipe breaks -
desaturate
This package aims to makes it easier to maintain a single code base for both regular and async functions
-
collapse
Trim and collapse consecutive whitespace to a single space
-
boolean-enums
Generate enums with Yes and No variants. Supports no_std and serde.
-
pin-init
Safe pinned-initialization in Rust
-
enum-repr
Derive enum repr conversions compatible with type aliases
-
is_slice
Macro to answer the question: is it a slice?
-
posix-errors
Posix error codes and handy functions for using them
-
serde_table
Write structs in an easy table format
-
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… -
flow-control
Declarative macros for common flow-control use cases such as break, continue, and return
-
axerrno
Generic error code representation
-
cantor
A general toolkit for working with types that have a small number of values
-
plain_enum
Mimicing Java's enum::values() and EnumMap
-
schema_org_types
Schema.org schemas as Rust types
-
ruma-identifiers-validation
Validation logic for ruma-common and ruma-macros
-
interning
Thread-Lcoal and Global Interning Library
-
hexga_generational
GenVec, ideal for MAS (Multi-Agent System), where each agent can be removed at any time and has references to other agents
-
redb_model_trait
Redb model trait
-
unreachable
code optimization hint in stable rust
-
ownref
Provide the smart pointer type that bundles the data with its owner
-
stream_assert
Macros to simplify testing of
Stream
based APIs -
tggen
A mildly competent autogenerated telegram bot api wrapper (helper crate)
-
memtable
Inmemory tables for use in Rust
-
almost
comparing floating point numbers
-
envro
load environment variables from a .env file into the process environment variables
-
uwuizer
Rust Macro to UwUize your text. UwU.
-
delegare
delegate struct easy
-
arkham
TUI made simple
-
tailsome
Blanket traits providing
.into_ok()
,.into_err()
, and.into_some()
for happier method chaining -
tryvial
Small crate for ok-wrapping and try blocks
-
rsor
Reusable slice of references
-
nonicle
Tools for type-safe, canonical data representations
-
enum_pipeline
way to use enums to describe and execute ordered data pipelines
-
slice-diff-patch
providing utility functions for diff and patch of slices
-
clamp_to
Clamp integer and float values to the values that fit within both the original number type and the receiving type
-
smart-string
A collection of string types and traits designed for enhanced string manipulation
-
dec-number
Decimal Floating Point Arithmetic for Rust
-
davisjr
HTTP framework designed around simplicity and ease-of-use
-
standback
New standard library, old compiler
-
shorten
A collection of convenience functions, macros and traits to shorten repetitive code
-
open-vaf
A compiler frontend for VerilogA aimed predominently at compact modelling
-
bumpalo
A fast bump allocation arena for Rust
-
devela_depend
Optional external dependencies for
devela
-
unused
Allows for unused generic parameters that do not act like they are owned
-
brain_flak_macro
Brain-Flak macro
-
axum-embed
Serve embedded files with axum
-
defer-lite
A lightweight high-performance implementation of Go's defer statement
-
keypath
Derivable, type-safe Swift-style keypaths
-
serde-textual
derive Display/FromStr by using serde
-
scoped_thread_local
Highly flexible Scoped thread local with HKT builtin
-
xdc
eXperimental Dynamic Casting - support library
-
derive-name
Derive macro to get the name of a struct, enum or enum variant
-
const-exhaustive
Enumerate all values of a type at compile time
-
lurk-ipld-macro
lurk-ipld macro
-
simple-life
async lifecycle trait and convenient macros
-
squeak
providing types allowing execution of callbacks in response to values being broadcast or mutated
-
doless
macro to simplify struct mapping and function utilities
-
color-core
Color shared definition
-
head-tail-iter
An iterator that repeatedly splits head & tail
-
jget
Rust tools
-
fluent-asserter
write tests assertions with a fluent interface
-
tcp-struct
Share structs over tcp
-
intuple
Convert structs and enums into tuples (of refs) and back - recursive, ignore fields
-
anyerr
Dynamic error library with rich error wrapping and context support
-
set_field
Set fields on structs by string
-
air-macros
Macros for the TNJ Assembly Intermediate Representation (AIR)
-
iterator-ext
An extension to Rust's Iterator
-
diesel_derives_traits
Traits for diesel_derives_extra
-
ptrplus
Additional funtionality for pointer types
-
sylt-typechecker
Typechecker for programs in the Sylt programming language
-
tapir
Adding tapping functionality to rust
-
peeking-iter
An iterator adapter that allows infinitely-deep peeking
-
xavier
lightweight and versatile XML parsing library designed to streamline the process of handling XML data with ease and efficiency
-
zkp-macros-decl
Procedural macros
-
smart_access
A minimalistic "lazy bidirectional pointer" framework
-
linq
Language Integrated Query in Rust
-
rpi-derive-key
deriving secure device-specific keys on Raspberry Pi
-
libipld-macro
ipld macro
-
projecture
Easy arbitrary type projections without proc macros
-
hlua
Zero-cost high-level wrapper for Lua
-
audi
Generic listener abstraction
-
nonminmax
Primitives types which cannot be their minimum/maximum value
-
num-sign
enum Sign { Positive = 1, Negative = -1 }
-
enum_macro
Useful macro for enum
-
scad
generating OpenSCAD models using rust
-
cifg
A macro for defining #[cfg] if/else blocks; alternate to cfg-if
-
intern-arc
An interner that deallocates unused values
-
typed-sql
A strongly typed sql serialization/deserialization framework
-
fmu_from_struct
A derive macro for automatically setting up FMU models in Rust
-
cowlang
Python-like scripting language
-
sensulator
sensor simulator, provides noisy readings of ideal measurements
-
libccp
Rust bindings for libccp, a library for implementing CCP-compatible datapaths
-
roopert
object-oriented toolkit for Rust
-
name-it
Give a name to async fn return types
-
axmac
Readable indexing macros for 1-4 dimensional data structures
-
state_maschine
A State Machine Framework written in Rust
-
fold-license
Folding licenses from multiple dirs with
cargo
/Cargo.toml andyarn
/package.json -
cubiomes-sys
Raw ff binding for the cubiomes library
-
lifterr
A small set of adapters extending Rust's error-handling capabilities
-
ara_parser
A fault-tolerant, recursive-descent parser for Ara Programming Language 🌲
-
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… -
bestbefore
A procedural macro for marking code with expiration dates
-
permeable
A permission-demand trait. Decouples the permission-demander from the permission / auth provider.
-
ddd-rs
Domain-Driven Design (DDD) building blocks, for Rust applications
-
strck_ident
Checked owned and borrowed Unicode-based identifiers
-
id_sys
data structures which can be marked such that they only work with similarly marked integer data types
-
rustrix
Supports macro and basic operations for matrix
-
intuicio-framework-pointer
Raw pointer framework module for Intuicio scripting platform
-
serde_fs
[De]serializing data structures as files
-
common_macros
common macros like
hash_map!
orhash_set!
(WIP) -
postfix-macros
Postfix macros on stable Rust, today
-
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) -
init_with
Helper trait to initilize an array with a function
-
shared_singleton
trait provides singleton pattern state management with shared container
-
ref_thread_local
A macro for declaring thread-local
static
s like using both oflazy_static!
andRefCell
-
efmt_core
Core library for efmt crate
-
panicking
std::thread::panicking
analog available in theno_std
context -
rustc-std-workspace-std
Workaround for rustbuild
-
rust-fp-categories
A Functional Programming Library in Rust, Category
-
unroll_range
Repeats a block of code for each number in a specified range
-
ak_macros
faster development and simpler syntax with Macros Ak-Macros Group
-
crete
Ergonomic, thread-safe & flexible state management
-
docpos
Compact-document items after defining them (fn, struct, enum) + document fn parameters with rustdoc (⑂roxygen)
-
sod-crossbeam
Service Oriented Design - Crossbeam
-
sqnc
Traits and adaptors for sequences
-
fd_bs58
Optimized Base58 codec for 32 and 64 byte numbers
-
oop
Object-Oriented Inheritence in Rust
-
cmdstruct
A lightweight macro for implementing commands with a struct
-
rust_book_code
The code of rust book
-
aranya-buggy
A less panicky replacement for unreachable!() and unwrap
-
yansongda-utils
rust 中一些关于我自己的常用工具
-
rust_kafka_like
A Kafka-like message broker in Rust
-
boost-rs
boosting your develop productivity on Rust
-
pipeop
Adding the pipe operator to Rust with a declarative macro
-
sql_tool_core
这个库是 sql_tool_macros 库的核心,存储 trait
-
isnt
Inverted versions of boolean-valued stdlib functions
-
dev_bestia_url_utf8
url utf8 encode/decode
-
source_generator
Basic source code generation features
-
async_to_iter
Convert async functions to generators on stable Rust
-
peekable-fwd-bwd
Iterator Peekable with multi-forward-peek and multi-backward-peek
-
big_s
Rust’s missing
String
literal -
yadi
Dependency Injection framework for writing applications with Rust programming language
-
dbg_unreachable
Switch between unreachable! and unreachable_unchecked with a single macro
-
buffer
Safe, write-only, generics-free buffer abstraction
-
kust
Kotlin-like APIs for Rust
-
vec3
-
non-empty-slice
Non-empty slices
-
dyn-eq
Test equality between trait objects
-
pinus
A prickly BTreeMap. You can insert through shared references and values are pin-projected.
-
tupl
Perform generic operations on tuples
-
summavy_codecs
Fast field codecs used by tantivy
-
higher-kinded-types
"Generic generics" / higher-kinded APIs in stable Rust
-
u-plus
Pretty Unicode code point literals: U+12345 instead of '\u{12345}'
-
oxydized-money-macros
Companion library to oxydized-gains providing convenience macros
-
benri
Convenient macros wrapping the standard library
-
messages
Runtime-agnostic actor library
-
box-dyn
Macro to derive the implementation of Trait for Box<T: Trait>
-
isclose
A collection of trait and macros for comparing approximate equality
-
derive_destructure2_examples
Examples for crate derive_destructure2
-
smd_tests
Tests for the smd! macro
-
atomic_non_null
An atomic wrapper around NonNull
-
bitmask
generator for enum scoped bit flags
-
enum_variant_macros
Macros to generate From & TryFrom for enums
-
fluid-macro
Write long method chains as a series of steps instead, and more!
-
chainerror
Make chaining errors easy
-
wurm
Non-fatal, strongly typed errors
-
hashed-type-def
hash based type identifier: hash code is computed on the basis of type definition
-
repeated
Allows you to repeat a block of code a number of times
-
detalib
Rust bindings for the Deta Base and Drive HTTP API
-
entrance
A command line argument parser library which provides type assisted tools
-
array_trait
A generic trait for any array, with item as type and length as const parameter
-
simplicio
Gets rid of the boilerplate in rust
-
validity
A type safe wrapper for enforcing arbitrary properties at compile time
-
diatom-std-core
Diatom core standard library
-
codespan-derive
derive(IntoDiagnostic) for easy codespan integration
-
portaldi-core
Core functionalities for portaldi
-
jsi
Write React Native JSI modules in Rust
-
enum-display
A macro to derive Display for enums
-
collected
Summation, product, maximum and more special collectors for Rust iterators
-
ratelimit_rs
The ratelimit package provides an efficient token bucket implementation
-
partial-borrow
Partially borrow a struct
-
wtflip
A language in a Rust macro... or something.
-
peak-result
trait that extends the standard Result enum to allow you to run some code in case of error or success
-
wec
Useful vec!-like macros
-
type-variance
Marker traits for subtype variance
-
birds
Combinators using Rust macros
-
sbse
skylar's simple errors
-
with_builtin_macros
Helper for macro_rules authors to chain their macros with builtin ones (such as
env!
,include!
, orconcat_idents!
) -
pnet_macros_support_bandwhich_fork
Support library for libpnet_macros
-
async-iterator
An async version of iterator
-
ryu_floating_decimal
Fast floating point to floating decimal conversion. See the crate 'ryu' for more details
-
bytify
macro that can write given const-expr values into a continuous byte array
-
tor-async-utils
Async/futures helpers for use with Tor
-
phantasm
Small lib that helps with variance
-
fieldx_plus
Design patterns built on top of fieldx crate
-
copilot-rs
SDK for interacting with chat models, providing easy-to-use functions and tools
-
look_inside
Look inside structs, enums, and unions!
-
elise
A concurrent GC
-
equationx
parsing and evaluating simple mathematical expressions/equations
-
shadow-clone
A macro to clone variables into the current scope shadowing old ones
-
enum-rotate
Rotate and iterate your enums
-
smallint
optimized arbitrary precision integers
-
rusty-hkt
Higher-kinded types for Rust
-
plrust-trusted-pgx
Minimal set of
pgx
rexports for plrust, which the authors have deemed trusted -
phantom-enum
macro library for creating phantom enums
-
iter_ref
Traits for iterating over referenced data without consuming the iterator
-
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
-
ptrscan
Pointer chain scanner
-
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…
-
hazmat
A collection of helpers for working with hazardous materials in Rust crates
-
log_limit
A rate limiting logging crate
-
seesaw
generate traits from C header files
-
tracel
SDK
-
axocli
common code for setting up a CLI App and handling errors/printing
-
is_empty
Easily check if the struct is empty
-
ratpack
HTTP framework designed around simplicity and ease-of-use
-
subprocess-test
Convenience macro for creating tests which run in child process
-
redox_simple_endian
A create for defining endianness within your data structures, to make handling portable data structures simpler
-
audiotags-macro
macros used during the development of audiotags
-
wopt
A procedural macro that automatically generates an Option-wrapped version of a struct, reducing boilerplate for optional updates
-
strunemix
allows to build a struct with a form of its fields, by deriving enums of them
-
rustler
Safe Rust wrappers for creating Erlang NIF functions
-
ctjs
compile time javascript as a rust proc macro
-
easy_strings
Ergonomic, garbage collected strings for Rust
-
todo_using
A super small crate only exporting a single macro to "use" parameters
-
valq
macros for querying and extracting value from structured data by JavaScript-like syntax
-
rust-enum-derive
(and program) for generating rust enums and associated traits from text files
-
scanmut
Insert/remove multiple items from Vecs in O(n) time
-
ngram_iter
An iterator of arbitrary N-grams of rust Copy types
-
comp
Pure-macro Do notation and List-comprehension for Option, Result and Iterator
-
offsetter
Macro for creating structs with fields at specified offsets, by automatically inserting padding
-
check-ends-macro
A couple of macros to simulate match with starts and ends of a string
-
errormake
A macro for automatically creating Error structs
-
build-env
Extract information about the build process from the environment
-
urid
idiomatic URID support
-
splop
Helper functions to determine the first/last repetition of something
-
edisp
Dispatch-on-collect for Rust enums
-
derive-adhoc
An ergonomic way to write derive() macros
-
oxyroot
attempt to make library reading and writing of
.root
binary files which are commonly used in particle physics -
valued
Describe your data in terms of basic data structures. Get serialization and other facilities for free
-
actix-web-error
Derive ResponseError for your errors
-
string-eyre
Convenience traits for dealing with errors that don't want to eyre
-
wrapping_macros
A macro for wrapping arithmetic
-
nested-struct
Create nested structs using a macro
-
oc-hook-macros
Some convenient macros for hooking Objective-C functions
-
doc-image-embed
Embed images in Rust documentation
-
dess
Differential Equation System Solver (DESS) is a Rust crate implementing fixed-step and adaptive-step solvers and designed especially for modeling physical systems. Seven explicit ordinary differential equation (ODE)…
-
sha2-derive
exporting a derivable
Hashable
trait that works withsha2
-
simple-undo
Easy to use undo-redo library
-
anyhow_ext
Extension of anynow
-
typestate-builder
Derive-macro-based generator that combines
Typestate
andBuilder
patterns -
eager
macro expansion
-
esync
This package contains some useful synchronization primitives
-
for-loop-iterator
Iterators like traditional for loops
-
struct_scheme
structure scheme display
-
try-guard
A guard! macro inspired by the guard Alternative function from Haskell
-
match_opt
A macro for turning a partial match into a full match returning an option
-
cron_macro
cron macro
-
uiio
stdio protocol for debugging
-
oso
open source policy engine for authorization that’s embedded in your application
-
static_interner
Similar to
internment
crate, but with interface and performance tweaks -
newtype-ops
Mass-derive many operators for newtypes. Wartier than newtype_derive.
-
dmx-struct
A struct that holds a DMX Addresse with parsing capabilities
-
lyneate
beautiful code underlining and error reporting
-
cbsk_mut_data
ref mut tool
-
enum-extract-error
A companion crate for
enum-extract
that exports an error type -
dbg_mac
Handy debug only macros
-
en
The easiest numeric traits!
-
function_string_builder
A string builder that takes a user-provided function
-
print_typewriter
easy way to print strings on character at a time
-
input-macro
No-nonsense input!(...) macro for Rust
-
option-like
Create your own Option-like enum
-
leptos_datatable
A leptos component for creating tables with data validation
-
slice_map
A generic container to store a single type of data into unevenly sized slices
-
crossdylib
Cross-platform shared state across shared libraries/modules
-
combine_traits
A Macro to create Traits wich are just a combination of existing ones
-
macro_clap
Command-line argument parsing to its simplest
-
cell-project
Safe interface for cell projection
-
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…
-
diffuser-edit
Edit diffuser models without GPU and Python
-
swamp-script-error-report
Swamp script error report
-
read-restrict
Restrict the number of bytes read from a reader
-
typesets
Enables generating subtypes and supertypes of a given type via derive macros
-
size-trait
Traits for restricting the size of type parameters
-
gesha-macros
Macors for Gesha proejct
-
kti_cqrs_provider_rs
CQRS provider with ioc container
-
iter_accumulate
An iterator adaptor that accumulates the elements and yields the current accumulated value for each iteration
-
xstd
eXtended STandarD library
-
fieldfilter
trait that lets you filter stuff!
-
kathy
Const-evaluated swift-style keypaths
-
tailwag_macro_inline
The logic for A collection of macros to support the tailwag crate
-
derive
providing a minimal example of a derivable trait (via companion crate derive-derive) for testing and illustration
-
num_string
perform conversion between string and number
-
stylish-core
The semver-stable subset of
stylish
-
srce
Self-Ref Cell Environments
-
debug2
Space Efficient Pretty Printer
-
esvc-traits
Traits for ESVC
-
vnum
Create enums with a constant value associated to every variant
-
escher
Self-referencial structs using the async/await transformation
-
cdumay_error_standard
define standard errors
-
poolite
A lite threadpool library
-
enum-derive-2018
macros for deriving additional functionality for enums
-
md_match
A macro to support md-match syntax
-
liftor
Functors for Rust lifetimes
-
hash_table_datastruct
Adds a HashTable type, allowing to store values in a table with integer-indexed rows and hashable keys for columns
-
filestructure-rs
sloppily create a filestructure in memory and write it to disk
-
byte-strings
Rust byte strings manipulation, for a better and safer C FFI
-
comparator
A Java-like Comparator type
-
json_extract
This macro reduces boilerplate when using serde_json::Value variants when trying to get into a nested property
-
conventus
Traits for assembling and disassembling items
-
log_err
Log error messages from Unwrap and Expect with log crate
-
task_scheduler
easilty schedule an FnOnce to run in the future
-
strongly
A proc macro to create strongly-typed primitives
-
kommons_macros
a set of macros with utils
-
vec-string
To print Vec<Display>
-
poetic
parse and interpret poetic source code
-
infix_macro
macro that generates the neccesary boilerplate to use "*operator*" infix functions
-
macon_api
builder macro-based generator with its own idioms
-
teloc
compile-time DI framework for Rust
-
as-result
Traits for converting types which may be interpreted as or into a result
-
irox-structs
Traits for Struct Types - linearly serialized big/little endian bytes
-
intercom
writing COM visible Rust components
-
materially
A macro for material implication
-
persian_str_rs
functions for working with Persian strings in Rust
-
boundnum
Bounded number type
-
bittorrent-primitives
collections of basic types for BitTorrent projects
-
object-id
Unique object ID with no generation
-
pattern_code
Given a path patterm matched source code
-
cronjob
scheduling your methods
-
libmw
constructing a pipeline of middleware functions
-
for_each_repeat
Iterator::for_each
that can repeat current iteration -
rayon-par-bridge
Process Rayon parallel processing with a traditional sequential Iterator
-
str_stack
string allocator for allocating many write-once strings. This library is primarily useful for parsing where you need to repeatedly build many strings, use them, and then throw them away…
-
spanned_error_message
Pretty error messages with spans outside of proc macros
-
enum_to_enum
Derives possibly effectful conversions between enums
-
match_to_str
match pattern to str
-
lock-free-freelist
A fast lock free limited length free list for multiple producer and consumer
-
variadic_generics
A first attempt in using traits & tuples to work around Rusts lack of variadic generics
-
from_variant
Automatically derive From impls for enums
-
bit
helpers to manipulate bits and bit ranges
-
dto_derive
Derive for automatic mapping DTOs to Entities and vice versa
-
sod-mpsc
Service Oriented Design - Multi Producer Single Consumer
-
derive-ctor
Adds
#[derive(ctor)]
which allows for the auto-generation of struct, enum, and union constructors -
actify
An intutive actor model with minimal boilerplate
-
const-type-layout
Derivable const trait to view and compare the layout of a struct, union, or enum
-
rustkell
haskell like functions in rust
-
transmute_guard
Transmute between types that have been marked as safe by the marker type
-
krenz
collection of my frequently used functions and macros
-
base1112031
way to represent numbers using all Unicode characters except ASCII control characters
-
async-select
select!
multiplex asynchronous futures simultaneously -
ioc
An Inversion-of-Control library in Rust
-
tuple_split
An extension for the tupleops crate which adds a trait for splitting tuples
-
breakable-block
A shim library for a stable implementation of what is proposed in RFC 2046
-
urlqstring
A URL query string for rust
-
ctor-lite
Run code at program startup or shutdown
-
scope-guard
RAII scope guard
-
rustc-ap-syntax_pos
Automatically published version of the package
syntax_pos
in the rust-lang/rust repository from commit 625375400cdd172877e81c3ce44ce68f2011af2d The publishing script for this crate lives at: https://github… -
html5ever_macros
High-performance browser-grade HTML5 parser − compiler plugins
-
lisbeth-error
Span handling, error generation and reporting crate
-
curmacro
usefull macros like struct getters and setters creation macros
-
multi-structs
Macro for generating a merged struct from multiple sub-structs
-
refview
Get a reference view of some fields into a struct
-
targets
Some helpers to get you started with declarative programming in Rust
-
ghost-lite
custom PhantomData types
-
custom-format
Custom formatting for Rust
-
brado
brazilian docs validator
-
libpy
imports functions from the python standard library
-
retryable
Automatic function retry macro
-
ftkit
A small set of utilities for newcomers learning Rust
-
label
functions and iterate over them
-
pisserror
A golden rip-off of thiserror
-
inline-const
Inline consts implemented as a macro
-
noticeable
lazy observables
-
ctrl_macros
Control flow macros for Option and Result
-
fast-rustc-ap-rustc_errors
Automatically published version of the package
rustc_errors
in the rust-lang/rust repository from commit 15812785344d913d779d9738fe3cca8de56f71d5 The publishing script for this crate lives at: https://github… -
mat-rs
no_std implementation of mathematical matrix types
-
lewp-css
Domain model for CSS Stylesheets. Allowing effective minification and transformations such as autoprefixing and removal by other crates. Updated and maintained version for lewp.
-
test_help-rs
Test helpers for Rust
-
tuplify
Generic hlist/tuple library
-
unwind-unsafe
Zero-sized marker types which do not implement UnwindSafe or RefUnwindSafe
-
extract-variant
Destructure expressions into, and return assignments from, a single pattern
-
struct_gen
Automagically generate structs
-
discard-while
Get the first non-matching element, and the amount of discarded elements
-
dogma
Named
,MaybeNamed
,Labeled
,MaybeLabeled
,Collection
, andCollectionMut
traits -
ndless-static-vars
storing static, program-wide parameters for Ndless
-
i-codegen-code
Common tools supporting the
derive-codegen
crate -
cargo-toml-macros
Convinient macros for pulling fields from your Cargo.toml. Prettier than std::env
-
iterator-endiate
Extension method for (exact size) iterators which yields tuple containing whether item is last in iterator
-
concat_strs
Macro for quickly building a String from components
-
algebloat_macros
RustAlgebloat utility macros
-
access-json
Use serde to query large nested structures in Rust. For low-effort, read-only FFI.
-
cart_prod
Cartesian product of iterators
-
type-registry
Static type registration
-
mdo
Monadic do notation for rust using macro and duck typing
-
slip
A hassle-free utility to encrypt error handling strings in your public binaries to protect your business logic
-
error-chain-mini
error-chain for minimalist
-
xkcd_unreachable
macro xkcd_unreachable!() inspired by https://xkcd.com/2200/
-
rustructure
Run-time introspection on compile-time flagged structures
-
mcurry
Macros for creating curried functions
-
splitmut
Safely retrieves multiple mutable values from the same collection
-
flat_vec
macro to flatten nested Vecs. Particularly useful when you want to write a rules of egg which contains rules both => and <=>.
-
qol
Quality Of Life functions and macros
-
closure
A macro for capturing variables on a per variable basis
-
context-mapper
Single rust macro for generating different maps
-
try_buf
no-panic API for bytes::Buf
-
crates-io-macro-crate
An example macros-by-example crate for demonstrating a regression
-
trait-union
Stack-allocated trait objects
-
kind-derive
Derive generator the kind compiler
-
jmdict-enums
Autogenerated enums for the jmdict crate. Do not import directly.
-
unwrap_let
macro for quickly unwrapping a refutable pattern
-
love_rust
so I don't have to re-write the same thing everytime
-
dependent_view
Wrappers to produce weak trait objects from reference types
-
esrs
A Prima.it-opinionated library to achieve cqrs/es
-
impl-converter-helper
declarative macro library to help you implement the
From
orTryFrom
trait for your type -
futwaiter
The container of Future's that has the ability to complete them all at once
-
handlevec
Small abstraction over index-style iteration over a vector, with deletion, insertion, and other operations on the vector while iterating
-
read_buffer
ReadBuffer, a wrapper to safely read into a buffer from a Read
-
rerast_macros
Macros for use in Rerast rules
-
substrs
substring functionality for the str type in Rust
-
resultit
Iterator adapters for iterators over results
-
tracers-macros
Macros which generate tracers and the code that fires the tracers. See the 'tracers' crate for further instructions
-
envsafe
safely combine dotenv files with existing environment
-
len-trait
Len trait for collectons
-
source-location
Container struct for source location data + construction macro
-
fastperm
A dead-simple, extreme fast permission flag system for Rust with no dependencies
-
ordered_iter
Ordered iterators
-
list_comprehension
A macro for Haskell-like list comprehensions in Rust
-
docima
Generate images at build time & embed them in the Rust documentation
-
bump-into
a no_std bump allocator sourcing space from a user-provided slice
-
pipeliner
nice interface for parallel programming with iterators
-
helper
provided some useful proc macros for Rust
-
int-to-c-enum
TryFromInt - A convenient derive macro for converting an integer to an enum
-
readonly
Struct fields that are made read-only accessible to other modules
-
globiter
Replace with description
-
bon-cli
Dev tool for working with the
bon
crate -
repr-trait
Traits to represent Rust reprs
-
fractran_macros
A compiler plugin that converts Fractran code into Rust at compile time, letting your Fractran programs be optimised by LLVM to super-fast native code
-
big_mac
A metamacro toolkit for writing complex macros
-
supply-chain-trust-crate-000022
Single assignment cells and lazy values
-
scalar_map
map
for scalar types -
pending_unwind
converting unwindings into
pending
-
crosstrait
Cast from
dyn Any
to other trait objects, with no_std, no alloc support -
pfn
Provide fn_trait’s
call
,call_mut
, andcall_once
on Stable Rust -
private-gemm-x86
x86 matmul impl
-
scanfmt
easy to use macro for parsing a string
-
splitbits
Concise bit field extraction
-
citadel
-
rollercoaster
Extra iterators for grouping, sorting, arithmetic, and more
-
oxidd-core
Core traits and types of the OxiDD decision diagram framework
-
dependent_ghost
Matt Noonan's 'Ghosts of Departed Proofs'
-
oneline-eyre
A fork of
simple-eyre
which outputs errors on a single line -
mini-macro-magic
Export tokens to other modules and crates. Now with 100% less proc macros!
-
iter_from_fn
Create iterator from repeatedly aplying a function that takes no parameters
-
copy_impl
Macro for effortlessly duplicating impl block code across various types in Rust
-
alone_ee
Small event emitter for rapid development of weak dependency in applications. simple. powerful. predicted
-
noders
NodeJS-like event loop environment for Rust
-
easy_switch
A macro for traditional C-style switch statements
-
fast-floats
Fast-math wrappers for floats; experimental and unstable; for experiments
-
magic_static
Global singletons initialized at program start, an alternative to lazy initialization
-
layout-lib
view the data layout of a struct
-
singleton-trait
Singleton trait for types with unique values and Erased type for zero-sized ownership proofs
-
custom_derive
(Note: superseded by
macro-attr
) This crate provides a macro that enables the use of custom derive attributes -
io-read-line-prototype
Prototype for io::read_line
-
simple_scan
Iterator extensions for simple scan operation
-
woah
A Result type that differentiates between local errors (which can be handled) and fatal errors (which cannot)
-
description
like Display, but 'static
-
stuff
Stuffing things into pointers
-
std_prelude
prelude that the rust stdlib should have always had
-
axum-typed-routing
Typed routing macros for axum
-
dom_renderer
rendering html (or other DOMs) strings
-
atruct
macros for anonymous structs in Rust
-
classes
Dependency-free macro that simplifies the process of building class strings for DOM elements
-
tao-of-rust
《Rust编程之道》随书源码
-
rs_osrm_serde
rust wrapper for osrm, folk from TehGoat/rs_osrm
-
swamp-semantic
semantic types for swamp
-
thiserror-nostd-notrait
derive(Error)
-
simple-color
color struct
-
builder-pattern
A derivable macro for declaring a builder pattern
-
shared-expiry-get
concurrent async get with expiration for Rust
-
map_retry
Zero dependency trait that provides retry function that works with iterators
-
error_status
Model common error context with HTTP 4xx and 5xx code
-
derive_struct_fields
way to work with struct fields programmatically
-
futures-macro-await-preview
Definition of the
await!
macro for thefutures
crate -
radiation
Convert Rust type into raw bytes and vice versa
-
typify-impl
typify backend implementation
-
persisted
Persist arbitrary program state quickly and easily
-
kaboom
Intuitive library for Next-Gen application exiting
-
finte
convert between integer and Rust enum
-
fullypeek
Peek forward in an iterator as far as you'd like, memory allowing!
-
vm6502
A 6502 virtual machine backend
-
multiline-str
multiline string Rust macro, which allows you to write multiline strings in a more readable way. It allows for any combination of space-joined and newline-joined strings.
-
cardseed
Pseudo-random numbers derived from playing cards using PBKDF2
-
rusty-typesh
A flexible type pattern matching system for Rust
-
drop-bin
Defer running expensive destructors until later
-
ignore-result
Adds a
Result<_, _>.ignore()
method to ignore the return value of a function call without panicking in case of error -
temp-inst
safe lifetime-erased representations for objects with lifetime parameters. Can be used to pass an object across an API where lifetime parameters would prevent it.
-
match_any
declarative macro, that matches an expression to any of the patterns and executes the same expression arm for any match
-
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
-
common_regex_rs
Set of common regex for Rust
-
strflags
A string-enum and string-flags with fixed variants that can also accept arbitrary data
-
rust_hawktracer_normal_macro
helper crate for hawktracer profiling library
-
checked_clamp
Clamp alternative that returns a result instead of panicking
-
kti_cqrs_rs
CQRS pattern in Rust
-
tuple_utils
A set of utilities to enable higher level operations over tuples
-
trait-alias-macro
Trait Bound Alias using Macros
-
zkp-error-utils
Assertion like macros for returning
Result::Err
-
core_float
based on the Rust Core Library and aims to provide an identical set of APIs for f32 and f64 floating-point types
-
shallowclone
Traits for working with copy-on-write types more efficiently
-
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
-
apply_conditionally
Chain and apply methods on objects conditionally
-
switch_statement
switch statement macro
-
ts-type
types for working with TypeScript type representations in Rust
-
typed_macros
Adds typing to your macro's arguments, making it a lot less of a pain to deal with them
-
checked-float
making invariant-enforcing floating point wrappers
-
unwind_safe
Readable unwind-safe code thanks to a try-finally-looking builder pattern
-
analisar
A Lua parser for Rust
-
dry-mods
Macros to make your module management DRY
-
enum_primitive
Macro to generate num::FromPrimitive instances for enum that works in Rust 1.0
-
macroquest
Write MacroQuest plugins in Rust
-
extrust
intended as an extension of the standard library
-
genz
Uniqueness of types via invariant lifetimes
-
flarrow-message
flarrow (flow + arrow) is a rust runtime/framework for building dataflow applications
-
bitrange
plugin to map bits in integer values to fields
-
io-arrays
Random-access I/O
-
signrel
Trait expressing relationship between integers of different signedness
-
quantified
Specify the universe: None, Some, Excluding, and All
-
collar
easy array collection
-
aranya-trouble
A wrapper to implement the Error trait
-
mail-headers
[mail/headers] header parts for the mail crate (inkl. header map and standard header impl)
-
higher_order_functions
A small collection of traits for implementing higher order functions
-
extprim_literals
Plugin for creating extra primitive types literals (u128!(n), i128!(n))
-
traverse
Proof-of-concept trait for internal iterators called traversals
-
detach
helper type for being able to detach/reatach a member item
-
random-trait
random trait meant to produce random generic types
-
simple-eyre
One of the simplest error reporters one can build ontop of eyre, defining only an error report
-
bitmatch
A macro to allow matching, binding, and packing the individual bits of integers
-
lignin-schema
An HTML schema interface through which lignin Node trees can be created with efficient compile-time checking
-
trait-set
Support for trait alias feature on stable Rust
-
formy
derive macro to turn structs into html forms
-
new_flattened
Macro to flatten nested calls of
new
s -
intfloat
Fast and simple hashable float alternative using ints
-
cgp-field
Context-generic programming field traits
-
diva
Opinionated convenience wrappers for
std::process::Command
and friends -
rexpr
Rust Json Object access Runtime
-
rombok
boilerplate generation macros like lombok
-
structmap
Procedural macro library for converting between Rust structs and associative containers
-
tree-struct
A general-purpose Tree implementation in Rust
-
buffed
Traits & implementation of parsing buffered IO
-
funkjon
One of the worst macros this world has ever been (dis)graced with
-
ambient-authority
Ambient Authority
-
eso
Type machinery to build Cow-like containers
-
loop-let
An immutable loop structure that can be used as an expression
-
error_mancer
Quickly define custom error enums for a function
-
fat_type
A type which permits thin references to arrays and dynamic types
-
lambda-types
Puts the lambda calculus in Rust...'s type system
-
rustils
Utilities for rust
-
veccell
variant of Vec with interior mutability
-
oofs
Error handling library that generates and injects context for you
-
smartcow
a cow for smartstrings
-
zerogc-context
Handles the context of a zerogc collector
-
modular
arithmetic in rust
-
arrow-cast
Cast kernel and utilities for Apache Arrow
-
enum-unit
Generates unit-variant enums from existing enums
-
cargo
package manager for Rust
-
htmxpress
Procedural macros for generating htmx strings
-
fallback-if
Fall back to an alternative given some predicate
-
linreg
Calculates linear regresssions of two-dimensional data. Does not use stdlib, only depends on numeric traits.
-
phantomdrop
Go-like deferring of function calls
-
const_power_of_two
working with constant generics that are powers of two
-
doxed
making Rust doc strings available at runtime
-
galvan
A higher-level programming language that transpiles to Rust
-
stump
Simplified command line logging
-
zkp-criterion-utils
Criterion helpers to benchmark over size and number of processors
-
itermap
Iterator tools for maps (
HashMap
,BTreeMap
, etc.) -
await_macros
Macros that expand to
(expr).await
-
dev_bestia_string_utils
string manipulation
-
borrow_channel
A channel for borrows
-
py-comp
A macro implementing a Python-like generator expression
-
jsonrpc-test
test framework for JSON-RPC
-
httpwg-macros
Macros to allow generating httpwg unit tests
-
iota-rs
macro for other Go refuges who miss const blocks and iota
-
the-newtype
The Newtype trait
-
bitty_write_macro
A drop-in
write!
replacement that optimizes non-formatting writes for code size -
asahi_macros
Workspace crate for Asahi framework
-
loop_chain
Macro for writing nested Loop expressions
-
sync_stream
Aggregate multiple streams by polling stream items in order, keeping the consumption of multiple streams in sync
-
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…
-
telocs
compile-time DI framework for Rust
-
error_hook
error hook
-
isolator
A lightweight library for isolating Rust functions
-
standard_test
A set of tests checking the properties of your impls of std traits
-
seestr
pointer-wide nul-terminated strings with ownership semantics
-
io-ensure
Prototype of the
std::io::ensure
family of macros -
byteorder_slice
Byteorder like crate for &[u8]
-
gilder
Golden testing library
-
lgio
Lightweight, generic, no_std IO
-
pennereq
Port of the Penner easing equations to rust
-
clone-macro
Super simple utility macro for cloning before moving into a move closure/block
-
validus
A string validation library
-
surprise-me
Derive macro to generate random type instances
-
context-rs
Pass values down the async call stack, with no_std and no_alloc support
-
floretta
Automatic differentiation for WebAssembly
-
pipeline
A macro collection to pipe |> your functions calls, like in F# or Elixir
-
cyclic_data_types
Cyclic data types are series of structs, enums, types and functions to create a series of fast data types
-
tensor-macros
A compile time optimised tensor library
-
sylt-machine
VM for running programs in the Sylt programming language
-
rstgen
Even simpler code generation for Rust
-
binjs_es6
ES6 component of the Binary AST reference implementation
-
errify
Function error context provider
-
slice-copy
Go style copying for slices
-
into-static
Upgrading to static lifetimes
-
foreign-types-shared
An internal crate used by foreign-types
-
tracing-assert-macros
A macro for capturing trace logs
-
lithium
Lightweight exceptions
-
iter-n
functions returning impl Iterator to return one of several distinct types
-
windows_quote
Code gen support for the windows crate
-
flow_impl
Definition of an Implementation trait for flow functions, and a derive macro
-
rs-flow
Create flows to execute based in components created and yours connections
-
backyard-nodes
Nodes representing PHP code AST
-
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:…
-
r4
A compact macro that generates iterators using for comprehensions and natural Rust syntax
-
kwarg_macros
Keyword argument plugin
-
package_info
exposing Cargo Package Information to Rust code
-
warrant
A Swift-guard-like macro for Rust
-
totally-ordered
No dependency, no-std totally ordered f32/f64
-
unwrap-enum
generate methods to access enum variants
-
struct-validation
trait and derive to validate structs and return a list of errors
-
type-census
Track the number of extant instances of your types
-
apply_attr
A syntax extension providing higher-order attributes to Rust
-
transaction
abstraction library (a.k.a. transaction monad)
-
cex
Checked exception simulation
-
rsb_derive
An opinionated macro implementation for Rust struct builder pattern with compile-time validation
-
frunk_core
Frunk core provides developers with HList, Coproduct, LabelledGeneric and Generic
-
pflow-metamodel
Declarative Petri-nets using a rust DSL
-
generator_extensions
Basic extensions to Generator types to bring parity with Iterators
-
shoogah
Add some syntactic 'shoogah' to Rust
-
dyngo
Type-safe dynamic (type-erased) generic outparams
-
extensor
the main extensor crate for building arbitrary valent tensors and more
-
datafusion-functions-table
Traits and types for logical plans and expressions for DataFusion query engine
-
multindex
Index slices with multiple const indices/ranges
-
arcstr
A better reference-counted string type, with zero-cost (allocation-free) support for string literals, and reference counted substrings
-
then
bool::then functions but named properly
-
funcall-macros
Procedural macros for the funcall library
-
fix_me
A very simple macro that lets you write temporary code that WILL NOT build in release mode
-
xcsp3-rust
that help constraint programming solvers implemented by Rust to read XCSP3 files
-
iex
Idiomatic exceptions
-
nested-ref
References to data contained in one or more nested RefCells
-
racros
Collection of rust macros
-
matches2
A macro to evaluate, as a boolean, whether an expression matches a pattern
-
rovv
provide the anonymous row type (poor-man's row polymorphism) in rust
-
xylem
Building context-sensitive type conversion
-
packer
Pack static files into your binary at compile time
-
transitive_from
Helper macros for creating hierarchies of transitive
From
implementations -
min-specialization
Experimental implementation of specialization
-
hatch_result
A result-like struct that returns on Ok, instead of on Err when ? operator is used
-
nb-from-env
A convenient way to construct structrual configuration from environment variables
-
derive_is_enum_variant
Automatically derives
is_dog
andis_cat
methods forenum Pet { Dog, Cat }
-
rustollens
A small and experimental library with a type-level representation of booleans with companion connectives for compile-time sort-of fun with logic
-
superfusion
A general purpose project merger library
-
zkp-logging-allocator
Wrapper around the system allocator that logs large allocations
-
lifted
Higher-kinded types in Rust
-
graphql_client_codegen
graphql_client
-
sw-errors
error parsing and pretty-printing, used across the swtools toolset
-
generic-mutability
Allows the creation of APIs that are generic over mutability
-
swamp-script-ast
ast types for swamp script
-
source-chain
Formats StdError with it's source chain
-
tor-basic-utils
General helpers used by Tor
-
vesta
Extensible pattern matching
-
user_stable_vtable
A partial implementation of [RFC 2955], written in stable rust
-
arbintrary
Proof of concept for arbitrary integer sizes using generic const
-
split-optional
It split from a source
str
toOption<&'a str>
per an element -
structural
Field accessor traits,and emulation of structural types
-
packetize
encode and decode your packet with stream channel
-
element-ptr
A macro to make accessing elements through raw pointers easier
-
iter2
Iterator
chain
ing,cmp
ing and more as free functions taking twoIntoIterator
s -
with-api
macro for shrinking scope
-
mint
Math interoperability standard types
-
rvs-c-api
C-API for Rvs - A library for defining and evaluating random variables using a simple DSL
-
consume_on_drop
A zero-cost abstraction that allows Drop::drop to consume self by value
-
eliza_error
“Times are bad. Children no longer obey their parents, and everyone is writing an error handling library.” — Cicero
-
quick-error
A macro which makes error types pleasant to write
-
ser_raw
fast serializer
-
ironplc-dsl
Domain-specific language objects for IEC 61131 language elements
-
fed
A sketch implementation of anonymous, tagged unions in stable Rust
-
collections_macros
a collection of macros to make making collections easier
-
call-once
A type that can only be called sucessfully once
-
derive_variants
derives an additional enum from a nested enum that contains only variants and no nested fields
-
string-builder
string builder type
-
usize_cast
Compile time checked cast from and to
usize
/isize
-
tagname
get the name of a variant in your enum as a string
-
bherror
TBTL's library for error handling in Rust
-
cismute
Safely transmute type to itself in generic contexts
-
chillpill
A more powerful (and more restrictive)
std::panic::catch_unwind
-
unchecked-index
Unchecked indexing wrapper using regular index syntax
-
trait_enum
Easy enum wrapper that implements all traits that the wrapped objects implement
-
ataraxy
Discord slash commands framework for Serenity
-
macro-while-mut
Macro that allows create while-cycle with mutable condition state
-
merge2
Merge structs into single by values
-
grade
A convenience macro for gtk-rs
-
static_assert_macro
so-called
static_assert
-
introsort
Fast sorting compatible with #[no_std]. Also has (optional) support for efficient and robust sorting of floating point numbers. Currently, introsort only builds on nightly
-
ternop
A tiny macro that implements a ternary operator for Rust
-
approx_eq
A macro for comparing equality of two values up to an arbitrary error in the *relative* difference
-
brain_rust
A BF transpiler to rust written as a rust declarative macro
-
try-drop
Batteries included error handling mechanisms for drops which can fail
-
x-bow
Precise State Management Library
-
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… -
taxi
Navigation library for Polyhorn
-
vk_method
Standart of VK Method
-
function-compose
lib to allow composition of sync and async rust functions
-
gavl
A fast implementation for a map and a set using an AVL tree
-
statenum
enabling enums in state-pattern logic
-
yui
An attribute reader generator for Rust
-
babygiant-alt-bn128
implementing a multi-threaded version of the baby-step giant-step algorithm on the Baby Jubjub curve (it is the curve whose base field is the scalar field of alt-bn-128 aka bn254) to decrypt u40 integers…
-
facet-poke
Build and alter arbitrary Facet types
-
sod-bus
Service Oriented Design - Single Producer Multi Consumer
-
spawn_interval
Call a subroutine at a constant time interval
-
validator_types
Basic type for validator and validator_derive
-
cargo-manifest
Helper crate to parse and manipulate manifests -
Cargo.toml
files -
arrays
Construct an array from an iterator
-
cfg-or-panic
Replace function bodies with
unimplemented!()
when condition is not met -
awint_internals
Internal utilities for the
awint
system of crates -
enum-to-types
Macro for generating pseudo-enums for type-level programming
-
throws
A macro for easy creation per-function errors
-
adrop
fast dedicated thread drop
-
self-reference
Helper
-
roopert_macro_common
object-oriented toolkit for Rust (common data)
-
macro-utils
Some macros to make code writing more elegant and funny
-
should_error
The test should fail with Err
-
option_into_controlflow
Option into ControlFlow conversion
-
tupleops
work with tuples
-
win-events
A poor attempt to implement WaitForMultipleObjects and the ManualReset, AutoReset and Pulse types
-
negative
impls in stable Rust
-
first_crate
dealing with vectors calculations more convenient
-
hex-serde-util
A helper crate for manipulating hex strings with serde
-
hexga_tools
miscellaneous stuff, when somethings will be too big it will be on a separate crate
-
impl_ops
Macros for easy operator overloading
-
incrstruct
Build self-referencing structs using two-phase initialization
-
fuzzypath
Quick & dirty fuzzy path comparison
-
gamo
A Range like struct for user defined types
-
to_vec
convenient to_vec, to_set and to_map methods on iterators
-
atomic_cell
Lock-free thread-safe mutable memory locations
-
swiss-army-knife
Common utility code to support linux-support and other projects
-
extrude
A macro for unwrapping an enum value into an Option
-
project-uninit
Macros for safe references to and initialization of fields in MaybeUninit structs
-
rich-result
Rich result type differentiating between recoverable & fatal errors
-
niceowner
A stupid library that allows you to own a value, even if it comes from a reference. No cloning.
-
destruct
structs and enums for simpler combinator implementation
-
safe_unwrap
allows unwrapping and annotating that the unwrap will never fail. Does not require
std
. -
modifier
Fluid chaining APIs for both mutable ownership types
-
noneifempty
Convert T to None if empty
-
alternator
Tools for building effect system -like functionality by abusing async
-
spans
Split an iterator into contiguous spans
-
rustica
functional programming library for the Rust language
-
qed
Compile-time assertions
-
orx-linked-list
A linked list implementation with unique features and an extended list of constant time methods providing high performance traversals and mutations
-
aspect-weave
An Aspect Toolkit for Rust
-
orfail
Error handling library for portable unrecoverable errors
-
cmd-macro
makes std::process::Command simple to use
-
fb_cloned
Cloned macro
-
abi_stable_shared
detail of abi_stable
-
remit
Rust generators implemented through async/await syntax
-
polimorphism
Function overloading via a procedural macro
-
see-through
traits to provide access to internal fields of generic structs
-
iter_peek_end
current element the last one of a peekable iterator ? (
is_last()
andis_not_last()
) -
loglevel
way to set your log level
-
select_indices
Iterators for taking multiple shared/exclusive references from a slice
-
displaythis
derive(Display)
-
into_index
Helper traits allowing indexing into vectors and similar types by other types than
usize
-
more_collection_macros
Adds new macros to rust for creating collections
-
anonymous-trait
Anonymous trait implementation with capturing the environment
-
new_type
Experimental implementation of newtypes by type level logic
-
xdi
Rust di containers system
-
advance-iter
A small crate to help with "stepping through" iterators
-
funfun
Macros for working with closures
-
turbostate
Finite State Machine
-
near-safe-cell
A more ergonomic 'UnsafeCell' wrapper/replacement
-
try-traits
Alternatives to std lib traits that can fail
-
token-ref-cell
Interior mutability cell using an external token to synchronize accesses
-
onlyerror
Obsessively tiny error derive macro
-
fast_async_trait
Fast async traits for Rust
-
size
expressing, formatting, and interacting with file sizes
-
nclosure
composable, nameable closure types with separated states and functionality for use in APIs where anonymous types are unavailable
-
try_ops
try catc... ops macro
-
read-byte-slice
An iterator over chunks of bytes as slices from an underlying reader
-
kozo
syntax sugars for structs
-
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
-
endian_trait
A trait for Endianness conversions that can be implemented on most types
-
mods
Simpler module declaration
-
spawn_timeout
Call a subroutine after a constant time interval
-
dyn_traits
Magically derive non-object-safe traits
-
wrapping-macro
wrapping macro
-
join_to_string
Join a list of items to string/buffer
-
litenum
minimal convertion utilities between literal and enum
-
cor_iter
Correlate of two iterators
-
typed-generational-arena
A safe arena allocator that supports deletion without suffering from the ABA problem by using generational indices. Now with typed indices and custom integer types for generations!
-
is-same
A trait for comparing object equality
-
swamp-types
types used in Swamp
-
scope-exit
The util to call procedure when exit current scope. scope exit. like defer in go.
-
enum_properties
A macro for declaring static properties on enum variants
-
string_mac
A lazy man's String macro
-
topdown-rs
A top-down parsing library
-
rudeboy
Rlua User Data Extension Boy - Derive/attr macros and traits for easily exporting user data to RLua
-
affair
A Tokio-based worker abstraction layer
-
slist
Algebraic lists with statically determined size that live on stack
-
rama-error
error types and utilities for rama
-
interior_mutability_pointer
A wrapper around
Rc<RefCell<T>>
allowing immediate access to inner methods -
cgp-component
Context-generic programming core component traits
-
components-arena-traits
Does not intend for direct use
-
kmacros_shim
Useful macros
-
batch_oper
some batch operation macro for some operations
-
cereal
data serialisation library
-
take_mut
Take a T from a &mut T temporarily
-
maflow
Flow macros: basically unwrap for return, continue and break
-
filters
Build filters/predicates with the builder pattern
-
yolo-block
Like a
try
block, but automatically unwraps the result -
humane_commands
Allows you to write more shell-like Commands
-
type-layout
Derivable trait to view the layout of a struct, useful for debugging
-
mapro
A tiny macro library for creating std::collections
-
kappendlist
Append to a growable list in O(1) without needing &mut
-
hetseq
Defines traits and types to work with heterogenous sequences
-
uni_rc_lock
trait which may represent either Rc<RefCell<T>> or Arc<RwLock<T>>
-
lens-rs
lens implemented in rust
-
units
Measure for Rust. Easy to use, type-safe and customizable.
-
user-panic
Error messages
-
tylar
Type-Level Arithmetic in Rust
-
checked_ops
Automatic checked arithmetic operations in Rust
-
indexing
Sound unchecked indexing using “generativity”; a type system approach to indices, pointers and ranges that are trusted to be in bounds
-
stackstack
A singly linked list intended to be chained along stack frames
-
det
Calculate the determinant using a macro
-
unreachable_checked
unreachable!()-like macro that causes linking error instead of panicking. May be used to statically ensure some code won't panic.
-
iterify
Turn any type into an iterator with closures!
-
set_slice
A macro for assigning values to slices
-
catch-unwind
Wrappers for catch_unwind that handle the edge case of the caught panic payload panicing
-
hex-display
Display impl for byte slices which provides a hexdump
-
fstrings-rust
Python3 fstring interpolation in Rust
-
composing
Tools to compose functions
-
errer
Flexible error management for Rust. An middle-ground between failure and SNAFU
-
ast2str
pretty-printing ASTs and other recursive data structures
-
litto
Building blocks for DSL scripting language interpreters that interact with native Rust code
-
stringish
A smaller and easier copy-on-write string
-
microparsec
parser combinator crate for Rust
-
define_into_enum
Defines Into<T> on an enum where all variants wrap T
-
rustcomp
Adds vector, map, set, and iterator comprehensions to Rust
-
proclock
cross-process locking API
-
iter-flow
Functional programming utilities for Rust
-
slid
labeled IDs
-
take-static
Static items that provide mutable access only once
-
pipette
Polymorphic function pipelines without traits or macros
-
statum-core
Compile-time state machine magic for Rust: Zero-boilerplate typestate patterns with automatic transition validation
-
gluesql-derive
Derive traits for GlueSQL
-
atomic_refcell_try
Threadsafe RefCell
-
vec_vec
When dealing with
Vec<Vec<T>>
is unavoidable -
ref-map
Helper trait for Option and Result to map references
-
uninitialized
Opt-in unsafe uninitialized memory
-
version
A very simple library who's job is to return the version of your crate if you're building with Cargo
-
recursion-schemes
cache-aware stack safe recursion (this is the really haskell brained one)
-
const_typed_builder
Compile-time type-checked builder derive using const generics
-
inline_default
Macro for inline Default implementation
-
algtype
Conversion between data and its representation, like Haskell Generic
-
swahili-dsl
A Swahili-based DSL made for educational purposes
-
thiserror_string_context
Adds context string to error enums generated with thiserror
-
const_str_slice_concat
const concatenation of string slices
-
rustitude-core
create and operate models for particle physics amplitude analyses
-
enstream
Conversion from Future to Stream
-
conditional-assignment
very simple, small crate to help make conditional assignments more ergonomic
-
diatom-std-os
The diatom programming language
-
pigeon-core
Generate recursive-descent & precedence climbing parsers. (traits)
-
rustbench
A lightweight Rust procedural macro for benchmarking function execution time
-
unzip3
Same as Iterator::unzip, but for 3 items. Based on Rust 1.6 implementation.
-
fix_fn
Macro to create recursive closures (similar to the Y combinator)
-
serde-struct-tuple-enum
Procedural macro for deserializing an enum of structs from tuples
-
hex-slice
Extends the std::fmt::*Hex traits to slices
-
rs_state_machine
A business-oriented state machine library
-
const-assert
Assert struct for const generics
-
brazier
A mediator implementation in Rust, heavily inspired by the .NET MediatR package (https://github.com/jbogard/MediatR)
-
rustato-macros
Macros for the Rustato library
-
viewbuilder
Cross-platform UI framework
-
resp-protocol
REdis Serialization Protocol
-
on_drop
on drop
-
podio
Additional trait for Read and Write to read and write Plain Old Data
-
partial-default
PartialDefault, a trait similar to Default but with fewer guarantees
-
mago-syntax-core
core utilities useful for building lexers and parsers within Mago
-
storagevec
Feature-gated heap-based/stack-based map and vector structures
-
okey
Everything is Result::Ok
-
iceyee_error
Error Message
-
any_ref
To capture and move things that are NOT 'static with memory safety
-
lox_utils
General helpers used by Lox
-
iter-opt-filter
Adds an optional filter to iterators
-
ibmfloat
IBM floating point number types
-
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. -
greattraits
My own collection for traits extending standard library types
-
let_clone
Declarative macro to clone multiple values at once
-
loggy-neko
thread-safe logging tool with dynamic log level configuration
-
chainer
A cursed crate that allows for global call chaining with access to chained function results
-
scope-functions
Kotlin-inspired scope functions for use in almost any situation
-
parameterized_test
A macro to support providing arguments to test functions
-
phtm
Re-exports for common uses of
PhantomData
-
cute
A macro for Python-esque comprehensions
-
uncheck-ord
Wrapper type to easily convert Ord to PartialOrd. inspired by std::cmp::Reverse
-
enum-to-string-traits
EnumToString
derive macro which implements the methodsas_str()
andas_dbg()
to enums with no associated values -
structural-convert
Derive conversion traits (From, Into, TryFrom, TryInto) when fields are structurally similar in enums or structs
-
empty-option
Convenient wrappers for taking/replacing values from mutable references to
Option
s and enforcing invariants -
newtype-enum
Traits to convert between enums and their variant types
-
fluent_builder
builder API
-
option_macro
a convenience macro
-
ufcs
Helper trait to call free functions using method call syntax
-
chain_linq
.NET's LINQ in rust as a declarative macro
-
rwtypes
Adds methods to read/write binary numbers to the Read and Write traits
-
iter-python
Python generator expressions and 'list' comprehensions
-
shrinkwraprs
Auto-derive for Rust conversion traits -- make working with newtypes a breeze
-
borrow_with_ref_obj
Versions of Borrow[Mut] that return reference objects (Ex. std::cell::Ref)
-
callable
closures implementing PartialEq and argument operations
-
multiref
Multireferences: a safe way to do [&T] -> &[T]
-
aidanhs-tmp-parse-generics-shim
A stable shim for the proposed RFC #1583; provides macros for parsing generics and where clauses
-
derive-alias
Alias multiple derives as one
-
quixutils
Common helpers and utils
-
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
-
ffh
ffh makes it easy to read and write files
-
unify
Trait-based equality constraint for Rust
-
n-functor
Faux-derive a
map
function for types with one or more type parameters -
alua
generating lua lsp annotations from Rust types
-
tuple-traits
Additional tuple traits to enable ergonomic types
-
dirk_framework
Dependency Injection for Rust
-
upget
Super simple trait that patterns the value "updae" and "get"
-
steloc
compile-time DI framework for Rust
-
bitflags-derive
bitflags-aware #[derive] macros
-
always_equal
A wrapper for types that can't implement Eq
-
xmt
Batteries-included CLI output library for Rust
-
sod-tungstenite
Service Oriented Design - Tungstenite
-
constant
evaluation tools for Rust
-
typederror
A wrapper around anyhow that allows for a primary error type
-
coe-rs
Type coercion
-
mod
project that provides two simple and useful utility functions for converting between Option and Result types
-
berusty
Me practicing Rust
-
fb_stats_traits
Traits for stats crate
-
event-observer
observer pattern by rust
-
therror
derive(Error) with a twist (based on thiserror)
-
matrix_match
Macro to match on two values at the same time
-
interlink
Framework for writing async code
-
delay_init
Macro to declare lazily initialized types
-
error
A fancy error type for highly generic cases
-
mathelogos
as a functional programming language
-
smurf
SMall Useful Rust Functions
-
contains
A Container trait
-
code-docs-rs
reading field names, types and comments
-
fancy-ip
Fanciest way to initialize IP addresses
-
disown
Drop ownership via a method
-
abort_on_panic
Intercept panic! from unsafe locations and abort the process
-
trait-bound-typemap
create typemaps with additional trait restrictions and implementations
-
transactional_iterator
Iterator that allows to commit or abort progress
-
fkl-dot
Feakin is a architecture design and visual collaboration tool. This is the parser for Feakin.
-
tor-error
unified type-erased error type returned by many (esp. high-level) Tor APIs.
-
beaver
setting up Rust objects inspired by factory_bot
-
rstring-builder
String builder type
-
not-so-fast
data validation with derive macro
-
anyflux
Generic flux-like state management
-
inline_newtype
newtype macro inspired by kotlin's inline class
-
stable-pattern
Stable port of std::str::Pattern and friends
-
context-iterators
Iterators adaptors with associated read-only data
-
stable_borrow
A marker trait indicating that borrows are address-stable
-
containerof
Macros and traits facilitating the use of intrusive structures in Rust
-
once-option
OnceOption
type, similar toOption
, with the constraint that once emptied it cannot be re-set to contain a value. Useful for members that need to be consumed on drop or cannot be re-set otherwise (e… -
assert-impl
Macro for static assert types implement a trait or not
-
box-macro
Literally just the macro
box_!
which isBox::new
-
fn_name
Macros that produce the name of the function they're invoked within
-
peresil
simplistic string parsing library
-
have_len
container empty ? (
is_empty()
andis_not_empty()
) -
scopefn
Scope functions for Rust
-
lit2
Collection helper libraries and “literal” macros for HashMap, HashSet, BTreeMap, and BTreeSet
-
assert-type-eq
Macro to assert types across potentially different crate versions are compatible
-
stats_traits
Traits for collection-like types to calculate statistics
-
optargs
Easily create macros for functions with optional arguments
-
zonbi
Type-Erase tools for non-
'static
types -
hexga_array
that impl trait / new functions for array
-
merg
Merge multiple values into one
-
fourcc
Syntax extension to generate FourCCs (four-character code)
-
dynamic-plugin
Write compile-time-checked, dynamically-loaded plugin libraries for your Rust software
-
nan-tag
NaN-tagged pointers in Rust, storing an f64 in the same space as a pointer
-
chonk
A lightweight parser combinator framework
-
dynamic-cast
The fifth pillar of OOP: dynamic casting
-
wrapped-list
Macro for wrapping elements of a list with an object, function, or another macro at compile time
-
pure_decimal
A decimal type with no NaN and Infinity
-
type-operators
A macro system for creating type operators in Rust and writing type-level logic
-
strong
Strongly typed String
-
instancebuilder
Convenient way of managing dependency injection
-
bloc
A state management library
-
nstd-sys
Cross platform general purpose C library written in Rust
-
buco
A compile-time builder pattern implementation for Rust
-
typedopts
Type aware command line parser
-
static-cond
Macro for performing comparisons during macro expansion
-
forwarding_gen
Syntax processing for emulating OOP Inheritance in Rust by forwarding trait methods
-
cgp-type
Context-generic programming core component traits
-
jealousy
A wrapper arount the envy crate, providing an easily implementable trait
-
kaydle-primitives
Low level primitive parsers for KDL, intended as a building block for higher level parsers or deserializers
-
nohash-hasher
std::hash::Hasher
which does not hash at all -
drop_ok
.drop_ok
syntax sugar forResult
. It’s instead of.map(|_|())
. -
attr_alias
Reduce attribute repetition with aliases
-
cfixed-string
Pass Rust strings to C with potentially not needing heap allocation
-
predicate
Use enum to predicate something, support & and | operator
-
introspectable
Basic introspection via the Introspectable trait
-
bg
builder + generics
-
tap-trait
Inspect and mutate values without leaving the method chain
-
rcrefcell
Wrapper type for Rc<RefCell<A>>
-
inheritance
Avoiding code repetition in Rust with OOP inheritance
-
ident-mash
Mash idents together inside macro_rules!
-
swamp-ast
ast types for swamp
-
nix-compat-derive
Nix protocols and data formats
-
integer_or_float
A data type holding an ‘integer or float’ (a data type in the Unified Font Object specification, among others)
-
error-context
Methods and types that help with adding additional context information to error types
-
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. -
index_vec
Newtype-style helpers for
Vec
andusize
-
dynamic
A dyanmically typed value with fast downcasting
-
multiconst
destructures an expression into multiple constants
-
thisctx
Easily create error with contexts
-
controlflow_inspect
inspect_* methods for ControlFlow
-
structinator_traits
traits allowing transfer of data from iterators to structs
-
vec_remove_if
Extract elements from a vector based on supplied criteria
-
eros
Context aware, ergonomic and precise error handling
-
namedarg_rustc_macro
namedarg main package
-
has_fields
Some macros helpful for processing forms with optional fields
-
anyint
traits and structs for working with integers of any bit size
-
bos
Flexible Borrowed, Owned or Shared (B.O.S.) smart pointers. Like std's Cow but with Rc/Arc and without the ToOwned requirement
-
lazy_thread_local
Lazily initialised per-object thread-local storage
-
tt-call
Token tree calling convention
-
endors
Validation library
-
len_constraints
Traits and types to implement type-pinned length constraints in your API
-
chained
lazily chaining functions
-
arch-into
safe type conversions between pointer-sized types (usize/isize) and types with fixed size
-
string-newtype
New Type idiom helper for string-like types
-
plmap
Parallel pipelined map over iterators
-
frankencell
An alternative to
qcell
andghost-cell
that instead uses const generics -
epui
Equisized (primitive) unsigned ints for primitive ints: u8 for u8, u16 for i16, etc
-
declarative_type_state
A collection of declarative macros to reduce boilerplate code when implementing type-state patterns
-
uutils_term_grid
formatting strings into a grid layout. Fork of term_grid.
-
aggregate
attributes of structs for runtime
-
rent_to_own
A wrapper type for optionally giving up ownership of the underlying value
-
svgmacro
Write any SVG easily from Rust!
-
io-arc
Proof of concept Arc with IO trait delegation
-
iso3166-1
ISO 3166-1 data
-
wdl-macros
Macros used within the
wdl
crate ecosystem -
maparr
macro to build a static
Map
based on const array -
ferric_parser
The Parser and currently the code gen for the ferric group of languages
-
std-io-peek
Peek trait
-
daml-macro
Helper macros for working with the Daml Ledger API
-
borrown
Borrowed or owned, simplified for no-std
-
batbox-tuple-macros
Macro for calling your macro for all tuple sizes
-
compost
Adds a macro to decompose tuples into tuples containing a subset of their values
-
maybe_null
A pointer type for handling potentially null values without accidental dereference
-
guilt-by-association
Macro for declaring/implementing traits with fake associated consts (in stable Rust)
-
visita
Elegant implementation of the Visitor Pattern
-
tany
Type-erased container with inline storage for small values
-
tagged-pointer-as-enum
A set of structs, traits and macros to implement tagged pointers
-
borrowck_sacrifices
Necessary sacrifices to keep the Borrow Checker happy and developers sane
-
serde_gelf
Gelf serialization using serde
-
tosserror
derive(Toss)
-
negative-impl
Negative trait implementations on stable Rust
-
cursor
A more free Rust-Iterator
-
erroneous
Minimalistic helper for using errors
-
bevy_cell
Attach Bevy's Handles/Entities statically to Types
-
perhaps
Maybe monad implementation with a more intuitive name. Using Certain and Dubious instead of Just and Nothing
-
levitate
Just works solution to numbers, mainly aimed at floats and mathematical use cases
-
unwrap_goto
unwrap Option an Result or goto
return
/cotinue
/break
as you want -
maybe-owned-trait
Either an owned or borrowed value, with type known at compile time
-
qwutils
some utilities
-
lang_extension
Rust Lang Extension
-
kv-derive
Derive struct conversions from and to key-value vectors
-
tuple_tricks
A couple of traits on tuples that allow inductively building new traits
-
chain_tools
A set of traits allowing for more a erganomic style of chain programming
-
printf-compat
printf reimplemented in Rust
-
html5ever-atoms
Static strings for html5ever
-
simple-di
dependency injection for Rust
-
better-as
Explicit type casting
-
mail-headers-ng
[mail/headers] header parts for the mail crate (inkl. header map and standard header impl)
-
take-if
A tiny utility for conditionally taking the contents of an option
-
scones
Generates simple constructors for structs
-
whiskers-widgets
Dynamic UI sub-system for whiskers
-
struct-builder
Derive a builder for your structs
-
polymorph
A set of utilities to better enable polymorphic behavior in Rust
-
derive_environment
modifying structs via environment variables
-
ownit
Easily turn borrowed type into owned values
-
read-primitives
traits to read primitive types from any type that implements std::io::Read
-
map-to-const
Easily convert HashMap<K, V> to constant [(K, V); N] values
-
trace-error
Extensions to Rust's error system to automatically include backtraces
-
field-projection
Field projection experiment
-
ghosts
Type-check non-existing
Phantom
code for Fun And Profit™ -
arraytools
A variety of helpful methods for working with fixed-size arrays
-
cisness
Runtime 'live witness' of two types being the same
-
respan
Macros to erase scope information from tokens
-
macroland
macro shorthands of various types in Rust
-
lifelink
Erase covariant lifetime parameters from anything, with generic associated types
-
zconvertenumn
Convert number to enum
-
temp-stack
A data structure for contexts or similar stack structures that are allocated on the call stack, using the temp-inst crate for lifetime erasure
-
archery
Abstract over the atomicity of reference-counting pointers
-
anysafe
any safe
-
finite-state-machine
A type and trait based finite state machine macro
-
cs-utils
Common utilities
-
arr_ty
Macros for smart array initialization (best for trait object element types)
-
dupit
copy or clone a value
-
struct2vec
Rust structure to slice
-
unibox
Universal Box that can store any type using static or dynamic memory
-
thisisplural
#[derive(Plural)] for creating frictionless new types with any collection type like Vec or HashMap
-
rubber_duck
Enables building functions that can be called with named arg syntax
-
cargo-subcommand-metadata
Embed metadata into a Cargo subcommand, so that
cargo --list
can show a description of the subcommand -
static_init
Safe mutable static and non const static initialization, and code execution at program startup/exit
-
with-thread-local
A micro crate that simplifies a bit the use of the std macro
thread_local!
-
loopcell
cell for multiple routes of access that are only used one-at-a-time in sequence
-
expression_format
format Rust expressions in a string, similar to f-string formatting in Python
-
array_init_macro
initialization macro for arrays
-
thin_delegate
Auto implementation of trivial delegation to inner types
-
keepops
Extension traits for keeping the input of mapping functions
-
sc2-macro
Procedural macros for rust-sc2 API
-
drop_some
.drop_some
syntax sugar forOption
. It’s instead of.map(|_|())
. -
total_float_wrap
Floating point wrapper implementing Hash and Ord according to IEEE 754 totalOrd
-
tuple_length
determining the length of a tuple
-
duplex
trait: interactive streams
-
usage
A convenient alternative to the newtype pattern
-
checked_array
A checked API for array types
-
typesafe-builders
Infallible compile-time checked builders for your structs
-
stdont
Kitchen sink of utils that I'd like to see in std
-
clonesure
A helper macro to create closures which will clone its environment
-
int_ranges
ranges tools for integer
-
vet
Arbitrary type validation
-
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
-
injectables
procedural macro library that enables field injection between Rust structs through #[injectable] and #[inject_fields] attributes. The library handles visibility rules, generic type resolution…
-
static-cow
Cow
at the type level: a framework of traits for writing types that are generic over ownership of their contents -
smart
dynamically-dispatched smart pointers
-
bounded_types
type representing bounded integers, implemented using const generics
-
collect-all
vec! for everything: easily make literals of any collection!
-
fused_error
working with composable errors
-
rustility
A collection of utilities I often find myself using in Rust
-
safe
A
#[safe]
attribute for explaining whyunsafe { ... }
is OK. -
iter_mod
A macro for enumerating all the constants in a module
-
another_pipe_macro
Adds a macro for composing functions
-
type-sets
Sets implemented in the rust type-system
-
simplerror
A zero-dep macro to declaratively define error enum types and their common trait implementations
-
typed_key
Strongly-typed string keys for configuration
-
wherr
Enhance Rust errors with file and line details using the
#[wherr]
macro for clearer debugging -
html_stack
A stack based dsl for writing html. This is not an html template!
-
nagios-range
types to parse and operate on Nagios ranges
-
irox-enums
Traits for better Enumerated Types
-
json-keypath-iter
Iterator for traversing serde json objects, yielding a flattened path and value of each element
-
tearor
Easily turn data races into data corruption!
-
mut_family
A GAT-based library for writing code that is generic over exterior/interior mutability and mutability of references
-
disuse
The way to notify the implementation which return value is disuse
-
as_base
Cast trait objects to some base class
-
aligned_ptr
Wrappers of functions defined in core::ptr and core::slice modules with alignment and null checks
-
identifiers
working with rust identifiers and keywords
-
pages
A dynamically-sized heap-backed data page. Comprises a user-chosen header and data array packed into a single allocation.
-
stringlit
A macro to convert from str to String
-
damock
Derivable data mocking for tests
-
type_utilities
Implementing more methods to rust type primitives
-
numeric-enum-macro
A declarative macro for type-safe enum-to-numbers conversion
-
roxygen
Seamlessly document function parameters with rustdoc
-
rusty-value
Create a generic inspectable value from any rust type
-
derive_builder_fork_arti
Rust macro to automatically implement the builder pattern for arbitrary structs
-
push_mut
Push a value to the back of the vector, and return a mutable reference to it
-
rvs-parser
Parser for Rvs - A library for defining and evaluating random variables using a simple DSL
-
zc_io
zero-copy I/O
-
constany_blank
Convert any function to constant
-
option-filter
Option::filter polyfill for Rust 1.26 and older
-
utils-results
The easiest and most intuitive error handling solution
-
displaydoc-lite
Implement the Display trait using your standard doc comments
-
deferrer
defer! macro for deferring functions
-
errling
A collection of intrinsically useful errors
-
tyfling
todo
-
telecomande
A small crate providing a primitive for the execution of asynchronous tasks by processor through commands
-
goto
A safe but not complete implementation of the goto operator
-
explicit_cast
explicit widening, truncating, and sign casting of primitive integers
-
macro-dep-test
testing version resolution for associated macros
-
amass
Automatically generate
From
impls for nested enums, even across crates -
oneshot-fused-workaround
Fused wrapper for futures::channel::oneshot
-
destruct-lib
Destruct structs and enums for simpler combinator implementation
-
assert_into
For when writing .try_into().unwrap() feels too long
-
trait-gen
Trait implementation generator macro
-
format-buf
Drop-in replacement for format! macro, which can write to existing buffer
-
open-ambient
Open files and directories with constant paths
-
unsaferef
An unsafe reference without explicit lifetime
-
try-iterator
Adds a few fallible methods to iterators
-
bstringify
stringify! that yields byte string literals instead
-
const_type
define enum-like const-types, but with aliases for variants
-
bongonet-error
Error types and error handling APIs for Bongonet
-
cmd_error
print an error message and exit while unwrapping Options and Results
-
static-include-bytes
Like the built-in
include_bytes!
macro but produces a static array definition -
dyn_struct2
Construct dynamically sized types safely. Supports arbitrary unsized types, not just slices
-
nes
New Error System for rust
-
float-derive
that allows deriving Eq and Hash for types that contain floating points
-
pipe-chain
Combinators & parser library
-
bulwark
Panic-aware scope guards
-
value_unit
every unit imaginable. Also contains a handy macro
-
display_container
implement Display
-
type-factory
unique opaque types
-
impl_serde_serialize_error
Macro for fast implementing error methods in serde::Serializer trait
-
arraylib
Tools for working with arrays
-
macro-attr
macro_attr!
macro that enables the use of custom, macro-based attributes and derivations. Supercedes thecustom_derive
crate. -
fmt_adapter
newtype adaptors to and from any formatting trait
-
fdb_tuple
convert between FoundationDB Tuple Layer tuples and Rust tuples
-
jsonbuilder
A json builder used to create JSON structures using a simple DSL
-
same-types
Ensure that two types are the same
-
lua-macros
Useful macros to join Lua with Rust
-
on_demand
A macro to generate aux macros for on-demand usage
-
const-anonymous-functions
macro to create const anonymous functions
-
struct2map
Procedural macro library for converting between Rust structs and associative containers
-
generic-global-variables
tools for implement generic global variables
-
assert-cmp
Convenient assertion macros that print the failed expressions and their evaluated values
-
msiz_rustc-ap-syntax
Automatically published version of the package
syntax
in the rust-lang/rust repository from commit 74d5c70b174f06843049af2d764ff57ddc81c81c The publishing script for this crate lives at: https://github… -
lazier_static
A thin wrapper around
std::sync::OnceLock
providing cached, static, lazy initialization -
error-macro
error macro
-
config-docs
A trait and derive macro to generate documentation for your structs
-
asenum
Small derive macro to safely convert the numerical value of an enum to the enum
-
jod-thread
std::thread which joins on drop by default
-
zst
Zero-sized generic type with the associated type exposing the type parameter
-
ocm
Outcome type for a value and its errors
-
io-cast
a high-level io function similar to Python's input function
-
multi_try
Safely combine results
-
macro-stateful
help record state in a global scope
-
memory-size-type
A data type for dealing with memory sizes
-
literal
Literals for Rust's collections
-
enum-tools
Automatically derive functions and trait implementations for enums
-
arrcat
Array concatenation
-
shared_error
SharedError wrapper for cloneable Error
-
anon_enum
Enum types with fully-generic variants
-
symbolism
Unique symbols made from human readable tags
-
exit
Custom exit status codes with ? in main
-
default_macro
My default!() macro
-
fstrings
Python3 fstring interpolation in Rust
-
guest_cell
Storage space for externally-owned private data
-
engineer
master builder!
-
strdeser
A struct serializer for rust empowered with a macro
-
unwrap_helpers
Helper macros for unwrapping
-
nearly_eq
Nearly(Approximately) equal traits and assertion
-
into_variant
Easily convert your types into the corresponding enum variant
-
championship
Generate championship fixtures using the round-robin tournament algorithm
-
result-inspect
Adds the missing Result::inspect() function
-
display_with
Return opaque impl Display and/or impl Debug types via display_with and debug_with
-
tagged_cell
Fast, initializable, and thread safe static variables
-
option-cell
OptionCell: OnceCell but derivable from Option
-
similar-structs-macros
Quality-of-life macros for more concise struct/enum definitions
-
mixed_array
Construct arrays of mixed types
-
untrusted_value_derive_internals
aim to provide a type-safe way to handle and sanitize potentially untrusted values like user input
-
fallible_map
fallible mapping over
Option
and iterators using functions that can returnResult
s -
isrepr
Generating validation from arbitrary memory to repr(C) types
-
slyce
Python-like slices
-
sorted
compile time guarantees for sorted sequences
-
tuple-fn
call functions and closures with tuple of arguments
-
if-none
Early break/continue/return if an optional expression evaluates to
None
-
closure_capture
Capture variables are moved into closure or async block
-
scalar_types
A module that wraps scalar types in an endian safe type
-
orderless
Orderless/named functions in Rust.
add!(b = 2); // 4
. -
read-human
Read things from a human on the command line
-
using
A macro for simpler builders with method cascading
-
holder
getter setter auto gen with holder trait
-
newtype-derive-2018
macros for deriving common traits for newtype structures
-
fallible-option
Fallible is an Option with inverted Try-semantics
-
generic-lexer
A generic lexer using a simple match function
-
what-i-want
Some tools to help with the return value
-
delegatemethod
Delegate method calls to a field
-
mic
Facilitates answering to competitive programming problems
-
soft_assert
Non-panicking assertions
-
array-fu
Construct arrays using simple syntax
-
async-anyhow-logger
An easy crate for catching anyhow errors from an asynchronous function, and passing them to your logger
-
anygma
makes it easy to define arrays containing different types
-
internal
fields in Rust
-
kinds
Higher-Kinded Types simulated by GATs
-
id_cache
A cache data structure which generates sequentially-assigned ids for unique values
-
io-window
Seekable I/O adapter that limits operations to a byte range
-
sac
A macro for constructing collections
-
unit19
whp-unit19
-
derive_di
realized the dependency injection pattern
-
retroqwest
A reqwest REST client generator
-
num_alias
macros to declare 'type checked' aliases for integers and floats
-
no-std-thiserror
thiserror but no_std compatible
-
shellexpand-fork
Shell-like expansions in strings
-
valico
JSON Schema validator and JSON coercer
-
mopa-maintained
My Own Personal Any: get your own Any with additional functionality
-
unnest
Macros for an unnested control flow
-
onhtml
A dsl for writing html. This is not an html template! Not complete but easily extensible.
-
derive-ex
Improved version of the macro to implement the traits defined in the standard library
-
rs-utilities
Some utilities
-
facet-types
Core types and traits for the facet reflection library
-
err-convert-macro
Errors converting macros
-
tartan-c-enum
Define FFI-safe enums that support unknown values
-
columnation-master
An experimental columnar arena
-
pure_cell
Alternative to GhostCell that provides safe interior mutability via const expressions
-
cartesian_array_product
Arrays of the cartesian product of a set of items
-
meticulous
Result extension to add more meaning to unwrapping
-
injectify
impl Trait in structs
-
type-layout-syn2
Derivable trait to view the layout of a struct, useful for debugging. Patched for syn 2.
-
arrutil
Functions for manipulating arrays from slices
-
existential
quantification over lifetimes
-
maller
that calls closures depending on the input data
-
cflp
A context-free-language parser generated by procedural macros
-
assert_ok
A macro that asserts a Result is Ok
-
iterr
Combinators for dealing with iterators of
Result
s -
descriptive_toml_derive
Procedural derive macro for serializing a struct into a TOML template with field descriptions that is easily edited and deserialized
-
status
Error container
-
sanitizeable
derive structs without certain fields
-
fluent-impl
A procedural macro that generates chaining methods from non-chaining ones in an impl block
-
pointer-identity
Wrapper type to treat the pointer address of types as identity rather than the value
-
once_map
Single assignment and lazy maps
-
field-visibility
Attribute to specify the visibility of all fields in a Rust struct
-
macro_const
A macro for creating corresponding macro definitions for constants which evaluate to the same values
-
blk_count_macro
macro for counting a number of comma-separated tokens at compile time
-
cmp_any
Comparison for &dyn types
-
sqlx-executor-alias-macro
SQLx Executor alias macro
-
hooks-core
Compile-time, async hooks
-
whiteout
macros that erase the type of any value into an impl Trait for a given trait
-
arraybox
A box with fixed capacity, backed by a byte array (it can be stored on the stack too). Implements fixed capacity
ArrayBox
. -
dyn_safe
Take control of the Semver hazard of the
dyn
safety of your traits! -
generic_once_cell
A bring-your-own-mutex version of once_cell
-
dispatchtable
Small library used to specify function dispatch tables HashMap<K, Box<Fn(..)>>
-
zisvalidator
A validator for struct and enum
-
ternary-rs
emulating the ternary operator from C/C++ (among other languages)
-
dispair
(Disp-Err) is a zero-dependency (other than
std
) library that provides a simple wrapper struct that implementsError
for any type that implements bothDebug
andDisplay
-
array-lit
Macros for array and
Vec
literals with superpowers -
test-results
A series of utility macros for outputting testing results
-
aliri_braid_examples
Examples demonstrating usage of the
aliri_braid
crate -
derive-for
Macro for defining structs using the same derive procedural macros
-
elicit_macro
SmartPointer-like structure for polymorphism
-
rand_macros
#[derive]
-like functionality for therand::Rand
trait -
cargo-verify
Prettier error messages for the verified crate
-
heraclitus-compiler
Compiler frontend for developing great programming languages
-
dst
Data structures for DSTs
-
index-fixed
convert slices into arrays using indexes ([T] -> [T;N])
-
heredom
Tuple notations to describe XML-like trees
-
serde_extra
Various de/serialization methods
-
rs_envflag_macros
An easy way to define flags by environment variables
-
pino_utils
general rust utility functions and macros
-
spidermeme
Traits to test for type equality and type inequality
-
pin-projections
Declarative macro for creating projection functions for pinned objects
-
tested-trait
Associate tests with traits
-
array_manipulation
Methods for manipuling arrays in a Vec-like fashion. It will (probably) get into core once const expressions get less experimental.
-
init-token
one-time safe initialization of static, without overhead
-
update_cell
A Cell<Option<T>> that you can update
-
maplit2
Collection helper libraries and “literal” macros for HashMap, HashSet, BTreeMap, and BTreeSet
-
zkp-macros-lib
procedural macros implemented using
proc_macro2
-
tuple-conv
Allows converting tuples of one element to vectors
-
cloneable-file
Cloneable file descriptor
-
actuate-core
A reactivity framework
-
derive-into
derive macro for easily creating conversions between structs and enums
-
downcast-trait
Allow casting between traits
-
candy
Syntaxic sugar for Rust: macros for lighter error handling code, and more
-
brainfuck_macros
A compiler plugin that converts brainfuck code into Rust at compile time, letting your BF programs be optimised by LLVM to super-fast native code
-
eieio
Error Implementing
Eq + Clone
replacingstd::io::Error
-
id-arena
id-based arena
-
thin-slice
An owned slice that packs the slice storage into a single word when possible
-
merge-hashmap
Merge multiple values into one
-
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.
-
into-result
convenience trait for converting something into a
Result
orOption
-
thistermination
add the Termination trait to error enums inspired by thiserror
-
scones_examples
Examples (and tests) for the Scones crate
-
make_public
A procedural macro to make struct fields public
-
template-builder
making idiomatic, declarative, builder-like patterns that use the struct literal syntax
-
gtk_widget_macro
A derive macro helps you handle Gtk widgets
-
collect_array
Allows for collecting an Iterator into an exactly sized array
-
slicefields
Allows for data structures whose members are sub byte aligned (e.g. a one bit alignment)
-
defew
A new() derive macro for structs
-
build-deftly
Derive custom builders, using the derive-deftly macro system
-
convertable
Non-reflexive version of From and Into
-
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. -
dynerr
Macros for dynamic error handling
-
bind_match
Convenience macro similar to
matches!
but binds to variables in the pattern and returns anOption
of the result -
binary-utils
Binary utilities
-
object-safe
Implement object-unsafe traits for trait objects
-
type_traits
Collection of utilities related to types and their properties
-
constduck
Compile-time ducktyping and reflection using const generics
-
lifetime
Traits and derive macros to change the lifetime of a type, allowing efficient reuse of your stucts or enums with any lifetime requirement
-
supercow
A generic way to accept general reference-like values without proliferating generics
-
typeable
Exposes Typeable, for getting TypeIds at runtime
-
xpr
A general purpose generic expression template library
-
fn_chain
Helper macro/function to create function chaining
-
if-let-return
macro for
if let ... pattern
-
quick-error2
A macro which makes error types pleasant to write
-
errore
error handling and tracing
-
byte-slice
Byte slice manipulation macros
-
multi-trait-object
A type to store an object with all associated traits
-
sum_type
A convenience macro for creating a wrapper enum which may be one of several distinct types
-
into_ext
Extension trait for the “Into” trait, offering a method “.into_::<T>()” to specify the target type of conversion
-
leaky-cow
Leak the contents of a Clone-On-Write pointer
-
derive_default_builder
derives a builder implementation relying on all fields implementing Default
-
static_leak
Leak references with static lifetimes from static Mutexes and RwLocks
-
triomphe
A fork of std::sync::Arc with some extra functionality and without weak references (originally servo_arc)
-
async-rusqlite
A tiny executor agnostic wrapper around rusqlite to make calls to it async
-
nbytes
Rust compile-time evaluation of byte unit conversions
-
error-utils
Some rust macros to simplify common error handling patterns
-
cgp-core
Context-generic programming core traits
-
anyinput-core
An internal helper library of anyinput
-
cow_arc
CowArc can be useful for decreasing memory allocations by sharing immutable memory
-
get-field-by-type
Get a value of field, based on the type of a field
-
specialize-call
A macro to invoke a function with type-arguments substituted according to a runtime value
-
serde_str_helpers
Helpers for using serde with strings
-
turbonone
macro for calling functions with Option<T> arguments
-
io-extra
An extension trait for
std::io::Error
, with shorthand constructors for variousstd::io::ErrorKind
s -
piping
Pipeline syntax in Rust.
4isize |> double(__) |> __ as usize
. -
slice_trait
A generic trait for any slice, with item as a type parameter
-
random-number-macro-impl
Generate random numbers quickly
-
tinytest
Write more compact unit tests with a small macro
-
rewrap
Result<Result<T, E>, F>
->Result<T, F>
-
tyenum
Attribute macro for type enums
-
okk
approach to replacing the
Ok(())
-
value-enum
Macro for generating enums associated with values
-
archway
Rust traits for Rc and Arc interoperation
-
rev_slice
A newtype for operating on a reversed view of a slice
-
clone-into-box
cloning trait objects
-
debug-map-sorted
Sorted Debug impl for HashMap
-
pia
that adds packed integer arrays for mass storage of oddly sized variables
-
anymap
A safe and convenient store for one value of each type
-
bidirectional_enum
Automatically generates conversions between an enum type and any other type
-
field_iterator
A derivable trait for iterating over the fields of a struct
-
coproduct
Generic coproduct type with minimal memory footprint
-
vec_box
A single macro to create a vec of boxed elements, for trait objects
-
uninit-tools
that allows working with uninitialized memory entirely in safe code
-
stack-trait
Stack trait with entry API for the LIFO element
-
slots-slice
manipulating slices of optional values
-
exun
Handle unexpected errors
-
into_inner_drop
A helper library for implementing into_inner method for drop types safely
-
const-it
const evaluation; slicing, error handling
-
oxc_index
Newtype-style helpers for
Vec
andusize
-
test-macro
macro for writing Rust test code in an easy way
-
generics2
macros for parsing generics (with optional where clause) in
macro_rules!
- enhanced fork of generics -
io_err
serializable
std::io::Error
with improved ergonomics -
power-assert
Power Assert in Rust. Provides better assertion message.
-
crashreport
Automatic GitHub crash reporting system for any Rust crate
-
oneoff
one-off types
-
failchain
Ergonomic companion library for failure
-
bit_fiddler
Macros for common bit operations with multiple convenient patterns
-
larc
Lazy Arc/Weak pointers
-
strser
A struct serializer for rust empowered with a macro
-
fancy-default
A better
derive(Default)
implementation -
selective_assertions
Macros for asserting equality of structs with the flexibility to exclude or focus on specific fields
-
to_unit
ToUnit; Any type to () syntax sugar
-
disjoint-borrow
Disjoint mutable borrows of slices
-
thiserror_core2
derive(Error) (no_std-enabled using core2)
-
hash-that-set
Implements hashing for sets and maps themselves. Enables a map of maps to values, or a map of sets to values.
-
newtype_derive
macros for deriving common traits for newtype structures
-
velcro
Convenience macros for initializing vectors, hash maps and other Rust collections
-
input-stream
IO streams similar to C++'s streams