#macro

  1. pin-project-lite

    A lightweight version of pin-project written with declarative macros

    v0.2.17 50.1M #declarative-macro #pin #macro #no-alloc
  2. proc-macro2

    A substitute implementation of the compiler’s proc_macro API to decouple token-based libraries from the procedural macro use case

    v1.0.106 65.4M #proc-macro #syn #macro
  3. 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.

    v1.0.4 63.1M #macro #large-number #chain #if-statement #define
  4. lazy-regex

    lazy static regular expressions checked at compile time

    v3.6.0 1.8M #regex #lazy-evaluation #macro #static
  5. ouroboros

    Easy, safe self-referential struct generation

    v0.18.5 2.6M #self-referential #struct-generation #macro #safe #unsafe #struct-builder
  6. arrayref

    Macros to take array references of slices

    v0.3.9 12.0M #slice #reference #macro #array #arguments #array-macro
  7. lazy_static

    A macro for declaring lazily evaluated statics in Rust

    v1.5.0 40.6M #lazy-evaluation #macro #static
  8. assertables

    assert macros for better testing, debugging, quality assurance, and runtime reliability

    v9.9.0 71K #testing #macro #assertable #assert #assertions
  9. bitfield

    macros to generate bitfield-like struct

    v0.19.4 1.5M #bit-fields #bitfield-like #struct #bit-range #macro #rustc-version
  10. maud

    Compile-time HTML templates

    v0.27.0 250K #html #template-engine #macro #html-template-engine #compile-time
  11. envconfig

    Build a config structure from environment variables without boilerplate

    v0.11.1 481K #config-env #macro #config
  12. new_debug_unreachable

    panic in debug, intrinsics::unreachable() in release (fork of debug_unreachable)

    v1.0.6 8.3M #debug-unreachable #optimization #macro
  13. delegate

    Method delegation with less boilerplate

    v0.13.5 1.5M #delegates #delegation #expression #stack-data-structure #macro #data-structures
  14. syn-mid

    Providing the features between "full" and "derive" of syn

    v0.6.1 236K #syn #proc-macro #macro
  15. xflags

    Moderately simple command line arguments parser

    v0.4.0-pre.2 141K #arguments-parser #help #command-line-flags #moderately #macro
  16. bounded-integer

    Bounded integers

    v0.6.1 57K #integer #macro #modular #refinement #bounded
  17. pastey

    Macros for all your token pasting needs. Successor of paste.

    v0.2.2 5.7M #paste #macro #no-alloc
  18. getset

    we're ready to go! A procedural macro for generating the most basic getters and setters on fields

    v0.1.6 4.7M #getter-setter #macro
  19. find-crate

    Find the crate name from the current Cargo.toml

    v0.7.1 373K #cargo-toml #proc-macro #macro
  20. enclose

    A convenient macro, for cloning values into a closure

    v1.2.1 62K #clucompany #enclose-macro #macro
  21. tiny-fn

    Type erased closures on stack

    v0.1.9 75K #macro #data-structures #memory
  22. docify

    allows you to live-embed at compile time pieces of code from throughout your project as rust doc examples

    v0.4.1 301K #compile-time #macro #documentation #embed
  23. safe-quote

    Quasi-quoting macro quote!(...)

    v1.0.40 75K #proc-macro #syn #macro
  24. futures-async-stream

    Async stream for Rust and the futures crate

    v0.2.13 31K #async-stream #macro #no-alloc #async #future-stream
  25. error_set

    Quick error declarations and automatic conversions between errors for precisely typed error handling. Inspired by Zig's error set type.

    v0.9.1 8.4K #error-handling #set-error #macro-error #macro
  26. g2p

    create types that implement fast finite field arithmetic

    v1.2.2 339K #finite-fields #newtype #macro
  27. cglue

    FFI safe abstractions for making plugins and C-compatible libraries

    v0.3.5 1.4K #cbindgen #macro #api-bindings #abi
  28. dir-test

    macro to generate tests from files in a directory

    v0.4.1 112K #directory #macro #test
  29. doc-comment

    Macro to generate doc comments

    v0.3.4 4.5M #documentation-comments #documentation-generator #macro #struct #write
  30. caret

    Macros for declaring non-exhaustive C-style enumerations, with named members

    v0.9.0 30K #enums #macro
  31. tsync

    Generate typescript types from rust code

    v3.1.0 1.0K #macro-generation #typescript #macro
  32. argyle

    A lightweight, agnostic CLI argument parser

    v0.15.0 90K #cli-argument-parser #arguments-parser #enums #macro #generating #deps #argue #cli-parser #cli-arguments #stderr
  33. as_variant

    macro to convert enums with newtype variants to Options

    v1.3.0 76K #newtype #enums #macro
  34. if_chain

    Macro for writing nested if let expressions

    v1.0.3 1.8M #macro #expression #chain #let #nested #blog-post
  35. try_match

    Fallible pattern matching with a function-like syntax

    v0.4.2 86K #pattern-matching #match-enums #enums #match-variant #macro #macro-variant
  36. maplit

    Collection “literal” macros for HashMap, HashSet, BTreeMap, and BTreeSet

    v1.0.2 4.2M #hash-map #literals #macro
  37. actify

    An intuitive actor model with minimal boilerplate

    v0.8.1 10K #actor-model #vec #macro #convert #built-on-tokio #broadcast #cache #tokio-actor #local-cache #throttling
  38. freecs

    A high-performance, archetype-based Entity Component System (ECS) written in Rust

    v2.0.1 120 #ecs #macro
  39. document-features

    Extract documentation for the feature flags from comments in Cargo.toml

    v0.2.12 9.9M #rustdoc #features #documentation #macro
  40. test-strategy

    Procedural macro to easily write higher-order strategies in proptest

    v0.4.5 201K #proptest #testing #macro
  41. optional_struct

    defining a macro that will generate, from a structure, another structure with only Option<T> fields

    v0.5.2 82K #macro
  42. const-random

    compile time random number generation

    v0.1.18 8.7M #constant #macro #rust #constants
  43. result-like

    Option/Result-like monad interface for your own enum

    v0.5.1 39K #enums #monads #macro #options #result
  44. munge

    Macro for custom destructuring

    v0.4.7 1.8M #macro #no-std #no-alloc
  45. vtable

    Helper crate to generate ffi-friendly virtual tables

    v0.4.0 59K #virtual-table #ffi-friendly #macro #create #declarative-ui #gui-toolkit #wasm
  46. easy-ext

    A lightweight attribute macro for easily writing extension trait pattern

    v1.0.3 144K #extension-traits #macro-attributes #no-alloc #macro #extension
  47. uniplate

    boilerplate-free operations on tree-shaped data types

    v0.4.6 1.4K #tree-traversal #generics #macro
  48. v_escape

    The simd optimized escaping code with macro

    v0.19.0 26K #simd-optimized #escaping #macro #simd
  49. swift-mt-message

    A fast, type-safe Rust implementation of SWIFT MT message parsing with comprehensive field support, derive macros, and validation

    v3.1.5 750 #message-parser #mt #macro #swift #parser
  50. fixed-hash

    Macros to define custom fixed-size hash types

    v0.8.0 2.3M #fixed-size-hash #h256 #define #convert #macro #256-bit #h160
  51. moveit

    safe, in-place construction of Rust (and C++!) objects

    v0.6.0 33K #lifetime #macro #ffi #ownership #no-std
  52. validit

    Validate data structures internal state

    v0.2.5 90K #validation #internal-state #macro
  53. include-flate

    A variant of include_bytes!/include_str! with compile-time deflation and runtime lazy inflation

    v0.3.3 270K #compression #deflate #assets #macro #include
  54. mirai-annotations

    Macros that provide source code annotations for MIRAI

    v1.12.0 201K #macro #compile-time #post-condition #precondition #verify #mirai #debugging #model-field
  55. k9

    rust testing library

    v0.12.0 16K #snapshot-testing #assertions #macro
  56. cmn

    121 mathematical, physical, and cryptographic constants for Rust — no_std, WASM-ready, compile-time const, typed runtime lookup, 14 utility macros

    v0.0.6 #constant #physics #cryptography #macro #constants
  57. data-encoding-macro

    Macros for data-encoding

    v0.1.20 1.8M #base32 #hex #macro #base64
  58. cryptify

    A procedural macro library to obfuscate Rust code. Provides compile-time string encryption and random flow obfuscation.

    v3.2.1 56K #compile-time #macro #proc-macro #compile-time-string #encryption #obfuscation #control-flow #string-literal #obfuscator #obfuscate
  59. include_bytes_aligned

    macro that embeds the bytes of an external file into the executable and guarantees that they are aligned

    v0.2.0 58K #alignment #include-bytes #byte #macro
  60. deriving_via

    DerivingVia

    v2.2.0 700 #newtype #smart-pointers #macro #generator #pattern #dereferencing #automatic-derive #newtype-derive
  61. macroforge_ts_syn

    TypeScript syntax types for compile-time macro code generation

    v0.1.82 #compile-time #macro #macro-derive #typescript #codegen
  62. link-section

    Low-level link-section macro support for Rust

    v0.12.0 242K #section #constructor #macro #typed #low-level #wasm #gcc #llvm #code-section #section-data
  63. marlin-verilog-macro-builder

    🦀 No nonsense hardware testing in Rust 🛠️

    v0.11.1 #verilog #hardware-testing #macro #marlin #verilator #system-verilog #spade #veryl #hardware-simulation #no-nonsense
  64. sugars

    An useful collection of macros to make tasks easier

    v3.0.1 26K #sugar #macro
  65. wasmtime-internal-versioned-export-macros

    INTERNAL: Macros for defining versioned exports in Wasmtime

    v44.0.1 1.0M #wasmtime #versioned #standards-compliant #wasm #macro #cranelift #wasm-runtime
  66. ctor-lite

    Run code at program startup or shutdown

    v0.1.2 336K #constructor #macro #proc-macro
  67. fieldwork

    derivable accessors for struct fields

    v0.5.1 1.3K #struct-fields #proc-macro #macro
  68. cimpl

    C implementations from Rust - FFI utilities and macros for creating safe, ergonomic C bindings

    v0.3.1 #macro #macro-utilities #utilities #c #ffi
  69. cans

    An elegant and lightweight Rust-based literal template engine for managing web content, enhanced with a world module for streamlined regional and city information, as well as robust MIME type management

    v1.5.0 #mime #world #macro
  70. eventcore

    Type-driven event sourcing library for Rust with atomic multi-stream commands

    v0.8.0 120 #event-sourcing #multi-stream #atomic #event-stream #macro #event-core #event-driven #postgresql #distributed #management-system
  71. collection_literals

    macros for initializing any collection

    v1.0.3 1.0M #collection #hash-map #literals #macro #maplit
  72. str-macro

    The str!() macro, similar to vec![] but for strings

    v1.0.1 24K #string #slice #owned #macro
  73. target-feature-dispatch

    Easy dispatching by target features (both static and dynamic)

    v3.1.2 500 #simd-intrinsics #macro #cpu #no-alloc
  74. hypertext

    A blazing fast type-checked HTML macro crate

    v0.12.1 1.3K #template-engine #macro #html
  75. pg_named_args

    PostgreSQL named arguments

    v0.4.4 #postgresql #query #macro #database-query #database
  76. assert_approx_eq

    assert approximately equal

    v1.1.0 315K #approx-eq #assert #equals #macro #numbers #debugging
  77. turf

    Build SCSS to CSS during compile time and inject those styles into your binary

    v0.10.1 390 #css #macro #sass
  78. generic-bytes

    A derivable trait for conversion to and from an array of bytes with a type-level size

    v0.2.3 12K #byte-array #byte-size #macro #generic
  79. valq

    macros for querying semi-structured data with the JavaScript-like syntax

    v0.3.1 4.5K #serde-json #macro #extract #json #query
  80. log_limit

    A rate limiting logging crate

    v0.2.4 3.5K #rate-limiting #macro #logging #utility #limit
  81. watt

    Runtime for executing Rust procedural macros compiled as WebAssembly

    v0.5.0 #proc-macro #wasm #macro
  82. jemmy

    This package provides a coherent set of manual accessor macros

    v0.1.6 370 #macro #accessor #generator #enum-variant #coherent #field-name #field-access #set-of-macro
  83. flyway

    Flyway-rs project, Database change control,similar to flyway in Java

    v0.5.0 #database-migrations #database-driver #sql #macro #java #version-control #rollback
  84. quote-use

    Support use in procmacros hygienically

    v0.8.4 1.3M #proc-macro #macro
  85. overload

    macro to simplify operator overloading

    v0.1.1 4.6M #operator-overloading #macro #overloading
  86. proc-macro-tool

    Some common simple tool for proc-macro impl

    v0.8.41 3.6K #proc-macro #impl #macro
  87. easy-macros

    Toolkit for building Rust procedural macros + generating debug info

    v1.1.3 #proc-macro #macro-utilities #helper #macro
  88. easy-sql

    Macro-first SQL toolkit with compile-time checked queries, optional migrations on top of sqlx

    v0.101.1 #sqlx #sql #postgresql #sqlite #macro
  89. macroforge_ts

    TypeScript macro expansion engine - write compile-time macros in Rust

    v0.1.80 #macro-expansion #macro-derive #typescript #codegen #macro
  90. termite-dmg

    Termite Data Model Generator is a crate meant to generate boiler plate code for data models

    v0.6.0 450 #data-model #model-generator #macro #yaml #json-schema #termite #yaml-data #struct-fields #datatype #plate
  91. l10n

    Opinionated localization library built upon fluent-bundle

    v0.1.3 #internationalization #localization #macro
  92. nameof

    macro to determine the string name of a binding, type, const, or function

    v1.3.0 10K #macro #no-std
  93. mik-sdk

    Ergonomic macros for WASI HTTP handlers - ok!, error!, json!

    v0.1.2 #json #wasi #wasi-http #macro #http-json #wasm #json-macro
  94. gelx

    Generate fully typed rust code from your gel schema and inline queries

    v0.8.5 1.2K #macro #codegen #gel #database
  95. dioxus-use-js

    A macro that generates Rust bindings to JavaScript or TypeScript functions, with compile time checks. For use with Dioxus.

    v0.4.7 120 #typescript #javascript #compile-time #macro #dioxus #js-value #cross-platform #desktop #serialization #wasm-bindgen
  96. lazy-static-include

    lazy_static_include_bytes and lazy_static_include_str macros to replace include_bytes and include_str macros

    v3.2.1 3.2K #lazy-evaluation #macro #static
  97. declarative

    Generic DSL macros for easy view code manipulation

    v0.7.3 650 #view #reactive #macro
  98. spacetimedsl

    The SpacetimeDB Rust Server Module meta-framework

    v0.20.1 #dsl #macro #codegen
  99. zerocopy-derive

    Custom derive for traits from the zerocopy crate

    v0.9.0-alpha.0 32.1M #traits #derive-traits #macro
  100. assume

    Macro for stating unsafe assumptions in Rust

    v0.5.0 474K #compiler-optimization #assert #macro
  101. anyinput

    A macro for easier writing of functions that accept any string-, path-, iterator-, array-, or ndarray-like input

    v0.1.8 3.0K #generics #macro #iterator #function
  102. cascade

    Dart-like cascade macro for Rust

    v1.0.1 156K #macro #expression #dart-like
  103. clonelicious

    macro library that simplifies cloning and closure execution. The clone! macro automatically clones variables and immediately executes the closure with the cloned values, streamlining…

    v2.2.17 2.2K #macro #standard #structures #simplifying
  104. impls

    Determine if a type implements a logical trait expression

    v1.0.3 105K #traits #impl #macro #test-macro
  105. type-leak

    Enable sharing type context beyond crate boundary

    v0.6.0 #type-system #macro #syn #no-alloc
  106. assert_tv

    De-randomized detereministic tests with test-vectors

    v0.6.5 #test-vectors #test-helpers #macro #testing
  107. moveit2

    safe, in-place construction of Rust (and C++!) objects

    v0.9.0 #lifetime #ffi #macro #ownership #no-std
  108. mkenv

    Lightweight yet useful library to help you define the environment your app needs

    v1.0.2 #env-var #macro #utility #macro-utility
  109. vsra

    The vsr command-line interface for very_simple_rest

    v0.1.11 #actix #sqlx #rest #macro
  110. auto_generate_cdp

    experimental crate to generate the Chrome Devtools Protocol

    v0.4.6 304K #dev-tools #build-tool #macro #chrome #cdp
  111. spacetimedsl_derive-input

    Contains structs which represent the input and output of SpacetimeDSL. Can be used by other proc-macro crates to build Macros which utilize SpacetimeDSL under the hood.

    v0.20.1 #dsl #codegen #macro
  112. rustapi-validate

    Type-safe request validation for RustAPI. Wrapper around the validator crate with deep framework integration.

    v0.1.453 #validation #validation-rules #macro #api #request #database #rustapi #framework-integration #web-framework
  113. sumtype

    Generate zerocost sumtype of iterators or closures

    v0.2.6 #zero-cost #iterator #enums #union-types #macro #no-alloc
  114. tinyvec_macros

    Some macros for tiny containers

    v0.1.1 27.6M #container #macro #macro-for-tiny
  115. metered

    Fast, ergonomic metrics for Rust!

    v0.9.0 361K #performance-monitoring #metering #macro
  116. wrapper-lite

    Helper macro for building a wrapper type and implementing common traits for it

    v0.5.2 13K #wrapper-type #newtype #macro
  117. inline-python

    Inline Python code directly in your Rust code

    v0.14.4 240 #python #macro #inline #embed
  118. fomat-macros

    Alternative syntax for print/write/format-like macros with a small templating language

    v0.3.2 22K #macro #format #format-macro #interpolation #print
  119. litext

    Seamless proc-macro literal extraction

    v1.3.0 #proc-macro #compile-time #macro #string
  120. libc-print

    println! and eprintln! macros on libc without stdlib

    v0.1.23 23K #libc #println #macro #stderr #eprintln #dbg
  121. leptos-mview

    A concise view macro for Leptos

    v0.5.0 #leptos #view #macro
  122. tiny_bail

    Small but flexible macros for bailing on failure

    v0.7.0 4.7K #macro #failure #macro-log #error-macro #no-alloc #logging
  123. handle-this

    Ergonomic error handling with try/catch/throw/inspect/finally syntax and automatic stack traces

    v0.2.4 #try-catch #error-handling #handling #macro #catch
  124. jsonrpc-pubsub

    Publish-Subscribe extension for jsonrpc

    v18.0.0 225K #json-rpc #macro #json
  125. gstuff

    Small macro and trinkets that make my life easier

    v0.8.29 1.4K #status-line #trinkets #life #macro
  126. loft

    embedded scripting language

    v0.0.1-alpha.22 1.3K #embedded-scripting #interpreter #enums #macro #performance-optimization #pattern-matching #garbage-collection #help-improve #ownership-and-borrowing
  127. std-macro-extensions

    A collection of macro extensions for Rust's standard library data structures, simplifying the creation and manipulation of common collections such as HashMap, Vec, and more

    v1.0.0 600 #standard #macro #structures
  128. ioctl-sys

    IO Control for POSIX-and-beyond systems (core fn & macros, see ioctls for many ioctl definitions)

    v0.8.0 380K #io #macro #define #bindings #linux #syscalls
  129. tagset

    Easily create trait-dispatching sum types

    v0.1.3 #serde #compile-time #generator #macro #reflection #macro-generator
  130. include-file

    Include sections of files into Rust source code

    v1.0.0 11K #markdown #macro #include
  131. atomic-dbg

    Atomic dbg/eprintln/eprint macros

    v0.1.11 170 #printing #stderr #macro
  132. sabry

    Syntactically Awesome But RustY - crate that brings SCSS/SASS into rust

    v0.0.6 700 #sass #web #macro
  133. maudfmt

    An opinionated yet customizable Maud formatter

    v0.1.8 #formatter #maud #macro #customizable #comments #glob
  134. match_opt

    A macro for turning a partial match into a full match returning an option

    v0.1.3 17K #macro #pattern-match #match
  135. cargo-build

    Wrapper around cargo instructions accesible in build.rs with better type safety and support for modern features. Includes functions by default. Macros are optional, but do provide…

    v1.0.0 #macro #config-macro #link #no-alloc #config
  136. easy_prefs

    simplest to use API we could think of to persist prefs to disk. Basically wrap a macro around a struct (see syntax), then data is saved when you write to it. Performant, testable, thread safe…

    v3.0.1 #thread-safe #local-storage #preferences #disk #macro #prefs #wasm #single-instance #toml-serialization #load-testing
  137. atlas-program-log

    Lightweight log utility for Atlas programs

    v1.0.2 #logging #atlas #formatting-message #programs #macro #cu #fixed-size #fixed-size-buffers #buffer-size
  138. envstruct

    Convert the environment variables into a structured configuration

    v1.0.10 600 #config-env #config #macro
  139. vantus

    Macro-first async Rust backend framework with explicit composition, typed extraction, and hardened HTTP defaults

    v0.3.0 #web-framework #async #macro #framework
  140. steel-derive

    Derive macros for use within steel

    v0.8.2 3.5K #scheme-interpreter #steel-scheme #macro #vm #racket #embedded #bytecode
  141. contained

    works to provide several macros and interface for transparent wrapper types in Rust

    v0.2.4 #transparent-wrapper #wrapper #macro
  142. benzina

    Various helper types and macros for diesel

    v0.5.1 550 #macro #postgresql #json #diesel #enums
  143. emboss

    Macros to embed metadata as an ELF/Mach-O section in your final binary

    v0.5.1 460 #macro #mach-o #elf-mach-o #embed-binary #metadata #env-var
  144. opentalk-kustos-prefix

    Derive macro for defining kustos prefix

    v0.33.0 7.5K #prefix #kustos #macro
  145. sqlx-data

    Zero-boilerplate Repository Pattern for modern Rust applications. Write SQL traits, get async implementations with sophisticated pagination, streaming, batch operations, and more. Seamlessly…

    v0.1.5 #orm #pagination #sqlx #repository #macro
  146. mcp-router

    An MCP Router for the masses. Inspired by the myriad of difficult to use, limited use cased libraries currently available

    v0.1.1 #mcp #http #macro
  147. saola-core

    Core runtime traits and builders for the Saola type-safe ORM

    v0.1.0 #macro #orm #prisma #database #type-safe
  148. clone-macro

    Super simple utility macro for cloning before moving into a move closure/block

    v1.0.0 3.6K #macro-utility #utility #clone #macro
  149. rs-measures

    macros to encapsulate numbers in measures, provided with units of measurement, allowing any meaningful operation, but statically forbidding meaningless operations with them

    v0.4.1 #units-of-measurement #operation #numbers #macro #object #uncertainty #meaningless #forbidding #si-units
  150. superstruct

    Versioned data types with minimal boilerplate

    v0.10.1 53K #schema #subtype #macro #compatibility
  151. preinterpret

    An intuitive toolkit to simplify code generation development

    v0.2.1 1.5K #declarative-macro #pre-processor #interpreter #toolkit #macro
  152. velcro

    Convenience macros for initializing vectors, hash maps and other Rust collections

    v0.5.4 14K #hash-map #literals #vector #macro
  153. light-magic

    A lightweight, fast and easy-to-use implementation of a persistent and optionally encrypted in-memory database

    v0.8.2 #in-memory-database #macro #framework #database
  154. defer

    excecution of code, inspired by go's defer statement

    v0.2.1 398K #no-alloc #macro
  155. cxx-qt-build

    Helpers for integrating cxx-qt crate into a Cargo build

    v0.8.1 2.1K #cxx-qt #cargo-build #cpp #build-system #macro #qml #build-rs #q-object #kdab #integrating
  156. error_mapper

    standardized Results and Errors handling accross all your projects

    v0.4.0 850 #error-handling #macro #error-macro #simple #handling
  157. mevy

    A growing set of macros, which add witchcraft into bevy!

    v0.3.1 #bevy #bevy-ecs #macro #bevy-macro
  158. apigate

    Macro-driven API gateway for Rust: declarative routing, request transformation, and reverse proxying built on axum

    v0.2.6 #reverse-proxy #api-gateway #axum #macro
  159. tree-type

    Rust macros for creating type-safe filesystem tree structures

    v0.4.5 #macro #walk-dir #tree-structure #filesystem-path #validation #pattern-validation #file-content #serde #filetype
  160. proc-macro-utils

    low-level utilities on proc-macro and proc-macro2 types

    v0.10.0 1.5M #proc-macro #macro-utilities #token-tree #macro
  161. include-sqlite-sql

    A Yesql inspired macro for using SQLite SQL in Rust

    v0.2.2 500 #sqlite #database #sql #macro
  162. maud-extensions

    Component, inline CSS/JS, and font helper macros for Maud views

    v0.6.5 #html #css #javascript #maud #macro
  163. bevy-color-palettes

    Color palettes for Bevy and egui, with macros for compile-time palette definitions, based on weirdboi_bevy_colour

    v0.4.0-beta.1 #color-palette #macro #bevy #egui #compile-time #aseprite
  164. cfg-iif

    A macro for defining #[cfg] if-else functions

    v0.2.8 #macro #if-statement #cfg
  165. hexga_map_on

    Define the map_on! macro that can be used to impl a lot of trait quickly using macros

    v0.0.11-beta.53 120 #map-on #macro #no-std
  166. rest_macro_core

    Core compiler and runtime support for very_simple_rest and the vsr CLI

    v0.1.11 #actix #rest #sqlx #macro #rest-api
  167. sh-exec

    Set of functions and macros to write more concise Rust scripts

    v0.2.0 #macro #script #exec
  168. newstr

    macros for declaring String-base new types

    v0.3.0 #macro #string-parser #string-base #declaring #ascii
  169. quasiquodo

    Compile-time quasi-quoting for typed languages

    v0.4.1 #ast #typescript #macro
  170. typesafe_repository

    Abstract data persistence in a safe and unified way

    v0.5.8 #repository #macro #database
  171. buildstructor

    Macro to derive a builder from a constructor function

    v0.6.0 40K #builder-pattern #macro-derive #derive-builder #macro
  172. unistructgen

    A powerful Rust code generator

    v0.2.2 #json-schema #codegen #macro #json-struct #json-api #struct-macro
  173. warpgate_pdk

    Reusable WASM macros and functions for plugin developer kits

    v0.16.3 1.3K #wasm-plugin #reusable #kit #macro #developer #version-manager
  174. pud

    Generate typed, composable, no-std-friendly modifications (“puds”) for Rust structs

    v1.1.0 #macro #atomic-update
  175. txtpp

    A simple-to-use general purpose preprocessor for text files

    v0.2.4 500 #include #template #macro #tool
  176. tampon

    Specialized crate that contains SAFE Rust functions, macros and trait to serialize / deserialize data structure and/or object in packed bytes

    v1.2.0 #serialization #macro #generate
  177. more-convert

    adds macros for various conversions

    v0.16.0 #convert #utilities #macro #macro-utilities
  178. fyi_ansi

    Compile-time ANSI formatting macros for FYI

    v2.6.0 #ansi-formatting #macro #compile-time #fyi #bold #dim #blink #italic #underline #csi
  179. multiple_errors

    Propagate multiple errors instead of just the first one

    v1.1.3 210 #error-handling #propagate #multiple #macro
  180. dbgbb

    A framework for analyzing debugging data in a Mathematica/Jupyter notebook

    v0.3.3 #debugging #macro #object-storage #data-structures
  181. es-replay-macros-tests

    Integration tests for es-replay-macros

    v0.1.1 #cqrs #event-sourcing #macro #testing #replay #sourcing-cqrs #bank-account #event-stream #integration-tests #account-balance
  182. borrowme

    The missing compound borrowing for Rust

    v0.1.0 170 #lifetime #macro
  183. matched_enums

    A macro that provides the option to bin enum attribute to match-statements. This makes it easier to convert values into enums.

    v1.3.0 230 #proc-macro #enums #macro
  184. negative-impl

    Negative trait implementations on stable Rust

    v0.1.7 1.1K #no-alloc #macro
  185. inline_csharp

    Embed C# directly in Rust — evaluated at program runtime or at compile time

    v0.1.1 #c-sharp #dotnet #interop #macro #api-bindings
  186. portfu

    Rust HTTP Server Libary built Around Hyper.rs with Macros Similar to Actix

    v1.3.3 150 #actix #web-server #macro #built #libary #background-task #websocket #hyper-http #http-post
  187. measures-rs

    macro to generate a library to statically encapsulate numbers in objects having a unit of measurement, allowing any meaningful operation, but statically forbidding meaningless operations with them…

    v0.1.2 #measurement-units #macro #object #dimensional-analysis #operation #uncertainties #meaningless #forbidding #propagated #rust-version
  188. async-func

    providing macros to simplify the creation of asynchronous closures with external state captured by move. Useful for structuring asynchronous code with ease and clarity.

    v0.2.6 2.1K #standard #macro #extensions
  189. pipeline-dsl

    Pipeline DSL types and re-exports of #[pipeline]/#[stage]

    v0.1.1 #pipeline #dag #macro #dataflow #workflow
  190. shakespeare

    An actor framework

    v0.1.0-rc2 #actor-framework #macro #async #async-macro
  191. common_hal_interface

    A common interface between Rust HALs, for use in the Iron Coder IDE

    v1.0.16-alpha #embedded-hal #macro #compatibility #hal #embedded
  192. axlog

    Macros for multi-level formatted logging used by ArceOS

    v0.3.0-preview.3 650 #logging #multi-level #arce-os #macro #debugging
  193. wasefire-one-of

    Macros for mutually exclusive features

    v0.1.2 #mutually-exclusive #macro
  194. ax-log

    Macros for multi-level formatted logging used by ArceOS

    v0.5.11 #logging #multi-level #arce-os #macro #debugging
  195. macro-toolset

    Some useful macros

    v0.8.4 #macro #string #macro-string
  196. custom-format

    Custom formatting for Rust

    v0.3.4 #string-formatting #specifier #compile-time #macro #string-format
  197. pair_macro

    Create types consisting of the same type values such that Pair, Triplet, and so on

    v0.1.5 #pair #macro #no-std #tuple #data-structures
  198. forge-rsx

    macro library for declarative, JSX-like HTML generation. It allows you to write HTML structures with embedded logic, attributes, nested tags, loops, and more, directly in Rust code with a concise syntax.

    v1.0.0 #template-engine #rsx #html-template-engine #macro #html
  199. forgeconf

    Declarative configuration loader for Rust structs powered by attribute macros

    v0.5.0 #macro #config #toml
  200. sea-orm-typed-id

    that provides a macro for generating type-safe database ID types for SeaORM

    v0.5.0 #sea-orm #macro #generator #typed #database #utoipa
  201. vacro

    A progressive DevX framework for building Rust procedural macros. Painless parsing, visual debugging, and robust tooling.

    v0.2.5 #proc-macro #syn #macro
  202. prost-dto

    Data transfer object conversion macros for prost

    v0.0.4 4.6K #prost #object #macro #convert #transfer
  203. syn-grammar

    A parser generator for Rust that compiles EBNF-like grammars into syn::parse::Parse implementations

    v0.8.0 #grammar #syn #ebnf #parser #macro
  204. trl

    auto generation of some common methods based on Rust macros

    v1.2.2 410 #codegen #macro-attributes #macro #attributes
  205. zoet

    Adds #[zoet] macro to reduce boilerplate when implementing common traits

    v0.1.14 #macro-derive #traits #sweet #boilerplate #macro #macro-traits
  206. schema

    Access the schema for a Rust item

    v0.1.0 39K #reflection #macro
  207. saying

    The say! macro for convenient styled printing

    v0.1.8 #styling #macro #color
  208. atspi-common

    Primitive types used for sending and receiving Linux accessibility events

    v0.13.0 646K #events #accessibility #macro
  209. errgonomic

    Macros for ergonomic error handling with thiserror

    v0.5.1 #error-handling #error-macro #macro
  210. arr_macro

    Initialize arrays with ease!

    v0.2.1 122K #initialization #array-macro #macro #array #array-init
  211. entrait

    Loosely coupled Rust application design made easy

    v0.7.1 #inversion-of-control #di #macro #pattern
  212. decycle

    Solve circular trait obligation

    v0.3.0 #traits #obligation #recursion #macro #circular #macro-traits
  213. aethermapd

    Privileged system daemon for aethermap

    v1.4.3 #remapper #evdev #linux-input #macro #linux
  214. phf_macros

    Macros to generate types in the phf crate

    v0.13.1 13.9M #perfect-hash-functions #phf #macro #compile-time #lookup-tables
  215. utmt

    Unit Test Macros. Several tools and macros for unit test improving.

    v0.10.0 #unit-testing #assertions #macro
  216. xopsy

    Structural pattern matching DSL for JSON. Perform declarative diagnostics and surgical in-place updates on dynamic data.

    v0.1.2 #serde-json #pattern-matching #dsl #macro #json
  217. print-break

    debugging macro that pretty-prints variables and pauses execution

    v0.2.2 #breakpoints #debugging #macro #breakpoint
  218. stackaroo

    Swap out of the OS-provided stack

    v1.2.0 #unsafe #stack #utilities #macro #macro-utilities
  219. rustradio_macros_code

    Macro code for rustradio

    v0.16.3 #rustradio #gnu-radio #macro #io #github #spirit
  220. opeyml

    A declarative, zero-overhead YAML surgery DSL for Rust

    v0.1.0 #serde-yaml #dsl #auto-vivification #macro #macro-dsl
  221. xopsyml

    A high-performance, structural pattern-matching DSL for YAML. Perform declarative diagnostics and surgical in-place updates with zero-allocation.

    v0.1.0 #serde-yaml #pattern-matching #dsl #macro
  222. axiomabuf

    A 1-pass, zero-allocation static macro-router for Protocol Buffers

    v0.1.0 #protobuf #zero-allocation #protobuf-parser #macro #performance
  223. aoc-star

    CLI tool to manage your Advent of Code solutions

    v0.1.2 #advent-of-code #macro #library
  224. spacetime-bindings-macro-input

    Unofficial Input Crate for the SpacetimeDB Macro Bindings

    v2.0.1 #macro #codegen #spacetime
  225. Try searching with DuckDuckGo.

  226. path_macro2

    Cross-platform path construction macro supporting both slash (/) and comma (,) syntax with variable interpolation

    v0.1.3 #macro #path-construction #cross-platform-path #cross-platform #path
  227. mongodb-internal-macros

    Internal macros for the mongodb crate

    v3.6.0 871K #mongo-db #macro #cargo
  228. weirdboi_bevy_colour

    Colour palettes for Bevy, with macros for compile-time palette definitions

    v0.3.0 #color-palette #bevy #macro #compile-time #define
  229. num-lazy

    Number macros for generic-typed functions

    v0.4.1 3.3K #numeric #math #generic #macro
  230. ioctls

    IO Control for POSIX-and-beyond systems (numerous ioctl specifications, see ioctl-sys for core functions & macros)

    v0.6.2 #ioctl #macro #file-descriptor #io #bindings #numerous #syscalls
  231. leptos_styling

    A powerful styling solution for Leptos applications that enables seamless integration of CSS and SCSS stylesheets with type-safe class names and zero runtime overhead

    v0.3.1 #css #leptos #macro
  232. type-state-builder

    Type-state builder pattern derive macro with compile-time safety and enhanced ergonomics

    v0.5.1 #builder-pattern #type-state #macro-derive #macro
  233. cmdparsing

    adds a macro to parse arguments

    v2.2.3 #command-line-arguments #macro #macro-parser #vec
  234. include_tt

    Macros for ultra-flexible injection of token trees, literals, or binary data into Rust code from external files during compilation

    v1.1.1 #proc-macro #clucompany #syntax-injection #tt-injection #macro
  235. inline_java

    Embed Java directly in Rust — evaluated at program runtime or at compile time

    v0.1.0 #java #jvm #interop #macro #api-bindings
  236. string_types

    String newtypes

    v0.13.0 160 #string-type #newtype #macro #validation #from-str #string-validation #upper-case #attempt #traits-derive
  237. config-manager

    build config from environment, command line and files

    v0.4.5 460 #environment #macro #command-line #config
  238. lerpable

    a derive macro for combining ADTs

    v0.0.3 #interpolation #combining #macro #glam #pct #adt #genetic-algorithm #vec2 #algebraic-data-types
  239. gen_ops

    Macros for operator overloading for generic types

    v0.4.0 327K #operator-overloading #impl #macro
  240. ax-crate-interface-lite

    way to define an interface (trait) in a crate, but can implement or use it in any crate

    v0.3.1 #api #arceos #macro
  241. auto_ops

    Macros for easy operator overloading

    v0.3.0 514K #operator-overloading #macro #impl #no-std #overloading
  242. armature-macros

    Declarative macros for Armature framework

    v0.1.1 #web-framework #macro #framework
  243. singlemap

    rust single map a macro

    v1.1.1 330 #single #macro #macro-use #testing #ioc #aop #autocall
  244. tensorism

    easy tensor manipulation on top of ndarray

    v0.5.0 #tensor #macro
  245. functionality

    Rust |> Functional programming = 💖. Useful traits, functions and macros for prettier code.

    v1.0.2 #functional-programming #macro #prettier #pipe #mutate #functions-and-macro
  246. triblespace-macros-common

    Shared implementation helpers for triblespace procedural macros

    v0.36.0 #macro #shared #triblespace #hash #proc-macro #database #knowledge-graph #query-engine #version-control #crdt