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