1. tracing

    Application-level tracing for Rust

    v0.1.44 20.5M #logging-tracing #metrics #async-logging #tracing-metrics
  2. darling

    A proc-macro library for reading attributes into structs when implementing custom derives

    v0.23.0 20.5M #proc-macro #proc-macro-attributes #struct #parser #validation #proc-macro-parser #macro-derive #suggestions
  3. googletest

    A rich assertion and matcher library inspired by GoogleTest for C++

    v0.14.2 263K #assertions #unit-testing #matcher
  4. utoipa

    Compile time generated OpenAPI documentation for Rust

    v5.4.0 1.2M #openapi-documentation #rest #compile-time #openapi #auto-generate #rest-api
  5. pollster

    Synchronously block the thread until a future completes

    v0.4.0 669K #async-executor #block-on #minimal #run-time
  6. async-trait

    Type erasure for async trait methods

    v0.1.89 16.0M #traits #lifetime #async
  7. usdt

    Cross-platform Userland Statically Defined Tracing probes

    v0.6.0 254K #usdt-probes #cross-platform #proc-macro #assembly #tracing #dtrace #user-defined #build-script #userland #test-macro
  8. macro_magic

    Allows the exporting and importing of the tokens of items across module, file, and crate boundaries

    v0.6.0 507K #proc-macro #magic-macro #magic
  9. abi_stable

    For doing Rust-to-Rust ffi,writing libraries loaded at program startup

    v0.11.3 116K #stable-abi #serde-json #ffi
  10. orchestra

    Generate an orchestra of subsystems from a single struct

    v0.4.1 170K #subsystem #actor-pattern #builder-pattern #orchestration #sender #spawner #error-message
  11. struct-patch

    that helps you implement partial updates for your structs

    v0.10.4 31K #macro-derive #patch #overlay #struct
  12. multiversion

    Easy function multiversioning

    v0.8.0 352K #simd #function-multiversioning #extension #detect #compilation #x86-64 #cpu-architecture #macro-attributes
  13. attribute-derive

    Clap like parsing for attributes in proc-macros

    v0.10.5 1.0M #proc-macro-attributes #macro-derive #syn
  14. auto_enums

    allow multiple return types by automatically generated enum

    v0.8.7 725K #macro-derive #no-alloc #enums
  15. memoize

    Attribute macro for auto-memoizing functions with somewhat-simple signatures

    v0.5.1 38K #memoization #cache #proc-macro
  16. docify

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

    v0.4.1 230K #compile-time #macro #documentation #embed
  17. hotpath

    async Rust profiler with memory and data-flow insights - quickly find and debug performance bottlenecks

    v0.9.2 1.8K #metrics-monitoring #profiling #statistics #bounded-channel #dataflow #async-stream #debugging #mpsc #memory-management #async-channel
  18. parameterized

    Procedural macro which brings a compact parameterized testing implementation to Rust (inspired by JUnit @ParameterizedTest)

    v2.1.0 550K #junit #parametrized #testing
  19. comparable

    comparing data structures in Rust, oriented toward testing

    v0.5.6 19K #data-structures #testing
  20. duplicate

    macros for duplication of code with variable substitution

    v2.0.1 693K #duplicates #variable-substitution #proc-macro #syntax #find #function-like
  21. checkers

    A sanity checker for global allocations

    v0.7.1 9.7K #memory-allocator #global-allocator #checker #integration-tests #heap-memory #memory-region #memory-leaks #backtrace #heap-allocator #memory-management
  22. maybe-async

    A procedure macro to unify SYNC and ASYNC implementation

    v0.2.10 1.6M #proc-macro #future #maybe
  23. venial

    A very small syn

    v0.6.1 31K #proc-macro #syn #proc-macro-parser #parser #derive
  24. shopify_function

    write Shopify Functions in Rust

    v2.0.3 9.1K #shopify #unit-testing #json-input #io #convert #serialization #graphql-schema #macro-attributes #input-schema
  25. sentry-tracing

    Sentry integration for the tracing and tracing-subscriber crates

    v0.46.0 1.1M #tracing-subscriber #sentry-integration #tracing-integration #sentry-sdk #events-tracing #breadcrumbs #error-logging #error-tracing #error-tracking
  26. remain

    Compile-time checks that an enum, struct, or match is written in sorted order

    v0.2.15 95K #sorting-order #compile-time #no-alloc
  27. macro_tools

    Tools for writing procedural macroses

    v0.78.0 850 #proc-macro #builder-pattern #generic-parameters
  28. static_init

    Safe mutable static and non const static initialization, and code execution at program startup/exit

    v1.0.4 343K #constructor #preformance #optimization
  29. show-image

    quickly show images in a window for debugging

    v0.14.1 8.2K #debugging #visualize #show
  30. documented

    Derive and attribute macros for accessing your type's documentation at runtime

    v0.9.2 47K #macro-derive #reflection #documentation #proc-macro
  31. sqlxmq

    A reliable job queue using PostgreSQL as a backing store

    v0.6.0 1.3K #job-queue #background-jobs #postgresql #job-runner #channel #database #retries #keep-alive #prevent
  32. bitmask-enum

    A bitmask enum attribute macro

    v2.2.5 134K #bit-flags #bitmask #no-std
  33. protest

    An ergonomic, powerful, and feature-rich property testing library with minimal boilerplate

    v1.1.0 #property-testing #quickcheck #shrinking #generator #test-cases #parallel-execution #boilerplate #test-coverage #snapshot-testing #failing
  34. easy-ext

    A lightweight attribute macro for easily writing extension trait pattern

    v1.0.2 83K #extension-traits #macro-attributes #no-alloc #macro #extension
  35. cargo-build-automata

    Command line interface to build static regular grammars

    v1.0.1 #grammar #abnf #automata #grammar-parser #regular
  36. qmetaobject

    Expose rust object to Qt and QML

    v0.2.10 1.0K #qml #qt #q-object
  37. inherent

    Make trait methods callable without the trait in scope

    v1.0.13 1.1M #traits #no-alloc
  38. atmosphere

    A lightweight SQL framework for sustainable database reliant systems

    v0.4.1 #sql #framework-for-sustainable #framework-database #system #reliant #database-system #struct-definition
  39. data_privacy

    Data annotation and redaction system providing a robust way to manipulate sensitive information

    v0.10.0 #redaction #oxidizer #privacy #scrubbing #compliance
  40. mcp-attr

    declaratively building Model Context Protocol servers

    v0.0.7 #model-context-protocol #mcp
  41. dtor

    __attribute__((destructor)) for Rust

    v0.1.1 1.4M #destructor #constructor #attributes #macro #windows
  42. deluxe

    Procedural macro attribute parser

    v0.5.0 38K #proc-macro #macro-derive #macro-parser #parse-attributes #extract-attributes #macro-attributes
  43. include_proc_macro

    A convenient macro for working with multiple procedural macros in one crate, and to import them from any arbitrary paths. Reduces boilerplate and repetition, and improves readability.

    v2.0.6 800 #proc-macro #proc-macro-derive #macro-helpers #attribute-macro
  44. await-tree

    Generate accurate and informative tree dumps of asynchronous tasks

    v0.3.2-alpha.2 17K #actor #backtrace #tokio
  45. pywatt_sdk

    Standardized SDK for building PyWatt modules in Rust

    v0.5.3 1.2K #ipc #sdk #pywatt
  46. rsactor

    Efficient In-Process Actor Model Implementation for Rust

    v0.10.0 230 #actor-model #actor-framework #rust
  47. impl-trait-for-tuples

    Attribute macro to implement a trait for tuples

    v0.2.3 1.3M #tuple #macro-traits #proc-macro #traits
  48. readonly

    Struct fields that are made read-only accessible to other modules

    v0.2.13 158K #struct-fields #accessible #no-alloc
  49. captains-log

    A minimalist customizable logger for rust, based on the log crate, but also adapted to tracing, for production and testing scenario

    v0.15.2 2.9K #logging-tracing #syslog #logging #logger
  50. hot-lib-reloader

    reload libraries on change. For faster feedback cycles.

    v0.8.2 190 #hot-reloading #live-programming #autoreload
  51. toml-example

    A lib help generate toml example

    v0.16.1 #toml #document #example
  52. lucene_query_builder

    A procmacro derive crate to generate lucene query builder for Rust structs :

    v0.4.0 2.0K #query-builder #lucene #proc-macro #struct #struct-fields
  53. squeal

    A SQL query builder library for Rust

    v0.1.1 #sql #query-builder #sql-builder
  54. rust_di

    DI — Dependency Injection for Rust

    v2.3.0 460 #task-local #scoped #singleton #transient
  55. sdl3-main

    Tools for using SDL's main and callback APIs

    v0.6.0-pre-2 #sdl #callback #event-loop #game-loop #api-bindings
  56. no-panic

    Attribute macro to require that the compiler prove a function can't ever panic

    v0.1.35 35K #macro-attributes #prove #no-alloc
  57. cast_trait_object

    Cast between trait objects using only safe Rust

    v0.1.4 #traits #upcasts #cast #any
  58. crabtime

    A powerful yet easy-to-use Rust macro that generates code by evaluating inline Rust logic at compile time

    v1.1.4 9.8K #macro-rules #inline #eval
  59. mantra

    mantra offers a lightweight approach for requirement tracing and coverage

    v0.7.6 1.2K #requirements-tracing #docker #review #coverage #testing
  60. tracelite

    An alternative to the tracing crate which is specialized for OpenTelemetry traces

    v0.1.26 #tracing #open-telemetry #attributes #severity #specialized
  61. dimas

    framework for Distributed Multi Agent Systems

    v0.5.1 #robotics #automation
  62. generic-tests

    Procedural macro to define tests and benchmarks generically

    v0.1.3 53K #testing-macro #parametric #generics #testing
  63. zlink

    Async Varlink API

    v0.2.0 150 #no-std #varlink #ipc #proxy #tracing #defmt #tokio-runtime #dns
  64. tarantool-test

    CLI test framework for tarantool-based Rust applications

    v0.6.0 430 #test-framework #tarantool #cli #utility
  65. senax-encoder

    A fast, compact, and schema-evolution-friendly binary serialization library for Rust

    v0.2.1 #serialization #senax #serializer
  66. asynq

    reliable & efficient distributed task queue in Rust, inspired by hibiken/asynq

    v0.1.4 #task-queue #distributed-task #distributed #redis #worker
  67. preprocess

    Preprocesses a struct with built-in preprocessors

    v0.5.9 #validation #process #api
  68. ohno

    High-quality Rust error handling

    v0.2.0 #oxidizer #backtrace #error
  69. async-recursion

    Recursion for async functions

    v1.1.1 3.4M #proc-macro #async #recursion #send
  70. maybe-async-cfg

    A procedure macro to unify sync and async implementations depending on the features of your crate

    v0.2.5 24K #maybe-async #proc-macro #future
  71. regiface

    ease development of interfacing with registers on embedded peripherals

    v0.2.5 #peripheral-register #i2c-spi #peripheral-driver #embedded #devices #embedded-peripherals
  72. hooks

    Compile-time, async hooks

    v3.0.0-alpha.15 2.7K #hook #compile-time #async #functional-programming #ui
  73. drizzle-sqlite

    A type-safe SQL query builder for Rust

    v0.1.3 #sqlite #orm #drizzle #database #rizzle
  74. stability

    Rust API stability attributes for the rest of us

    v0.2.1 216K #rest #attributes #risky #item
  75. const_struct

    macro that allows const structures to be passed as const generics

    v0.6.2 600 #const-generics #macro-derive #no-std
  76. tools-rs

    Core functionality for the tools-rs tool collection system

    v0.1.5 #collection #function-calling #tool #async-execution #llm #serialization #json-schema #compile-time #schema-generation #artificial-intelligence
  77. bevy_auto_plugin

    Procedural attribute macros for Bevy apps that reduce boilerplate by automatically registering components, resources, events, states, and systems in your plugin's build function

    v0.8.1 #bevy-plugin #auto-plugin #proc-macro #macro-attributes #automatic #registering
  78. edfsm

    Event Driven Finite State Machine library

    v0.12.0 #finite-state-machine #event-driven #input-event #input-state #producing #moore #mealy #key-value-store
  79. kinetics

    hosting platform for Rust applications that allows you to deploy all types of workloads by writing **only Rust code**

    v0.11.5 #deployment #platform #hosting #development
  80. blanket

    macro to derive blanket implementations for your traits

    v0.4.0 54K #proc-macro-attributes #traits #proc-macro
  81. drop-with-owned-fields

    Safe and sound owned access to a struct’s fields in Drop: no more unsafe usage of ManuallyDrop!

    v0.1.2 #manually-drop #struct #sound #unsafe #owned
  82. zod-rs

    TypeScript Zod-inspired schema validation library for Rust with static type inference

    v0.2.0 300 #schema-validation #schema #type-safety #validation
  83. string_types

    String newtypes

    v0.13.0 160 #string-type #newtype #macro #validation #from-str #string-validation #attempt #upper-case #letter #traits-derive
  84. struct-to-json-db

    minimalist file-based database designed for straightforward software applications. It leverages the Serde crate to seamlessly serialize and deserialize a HashMap of structured data to and from JSON files…

    v0.1.23 1.4K #serde-json #struct-to-json #file-base-database #database-json
  85. vespera

    A fully automated OpenAPI engine for Axum with zero-config route and schema discovery

    v0.1.16 #routes #openapi #axum #zero-config #schema
  86. rudi-dev

    Rudi - an out-of-the-box dependency injection framework for Rust

    v0.8.7 300 #dependency-injection #ioc #di
  87. axum-codec

    A multi-codec extractor and response writer for Axum

    v0.0.20 200 #messagepack #validation #axum #bincode #bitcode #web-framework #axum-extractor #greeting #into-response #content-type
  88. instability

    Rust API stability attributes for the rest of us. A fork of the stability crate.

    v0.3.10 1.3M #rest #fork #documentation #macro-attributes #unstable #impl-block
  89. function-timer

    Macro that allow to time a function and emit a metric using metrics crate

    v0.9.2 750 #metrics #instrument
  90. may_rpc

    RPC framework for Rust based on coroutine

    v0.1.7 490 #rpc #serialization #remote #procedure
  91. easy-macros

    Toolkit for building Rust procedural macros + generating debug info

    v1.0.2 #proc-macro #macro-utilities #helper #macro
  92. warcrwlock

    in Rust that provides an attribute macro for structs and traits. Rewrite code using under the hood asynchronous reference (Arc) and asynchronous writing and read(RWlock) control elements.

    v3.0.1 950 #rw-lock #async #arc #lazy-evaluation
  93. portrait

    Fills an impl with the associated items required by the trait

    v0.3.1 #traits #delegation #default-impl #fill #item #impl-block
  94. simple_test_case

    A bare bones attribute macro for writing parameterised tests

    v1.3.0 5.8K #unit-testing #testing-macro #testing
  95. shakespeare

    An actor framework

    v0.1.0-rc2 #actor-framework #macro #async
  96. afast

    high-performance async Rust web framework with HTTP, WS, TCP support, automatic client generation, validation, and documentation

    v0.0.13 #web-framework #tcp #codegen #async #framework
  97. rod_validation

    A lightweight and ergonomic validation library for Rust

    v0.2.2 110 #validation #serde-derive #forms #derive
  98. hooq

    macro that inserts a method before ?. (? 前にメソッドを挿入するシンプルなマクロ)

    v0.3.1 #logging #anyhow #proc-macro #error-handling #eyre
  99. spire_enum

    Procedural macros to facilitate enum usage, such as when delegating implementations, extracting variant types, or creating enum tables

    v0.7.2 #enum-variant #traits #macro-traits
  100. spring-web

    Integration of rust application framework spring-rs and Axum web framework

    v0.4.13 290 #axum-middleware #web-server #spring #web-programming
  101. rustpatcher

    distributed patching system for single binary applications

    v0.2.2 #networking #patch
  102. enpow

    Generating methods for user defined enums as known from Option<T> or Result<T, E>

    v2.0.3 410 #proc-macro #generator #utility
  103. triblespace

    lightweight knowledge base for rust

    v0.6.0 #version-control #graph-database #knowledge-base #trible #knowledge-graph #embedded #knowledge-representation #distributed-systems #semantic-web #principles
  104. trl

    auto generation of some common methods based on Rust macros

    v1.2.2 410 #codegen #macro-attributes #macro #attributes
  105. maybe-fut

    build totally interoperable async/sync Rust code

    v0.1.0 #async-sync #async-interop #sync-async-interop
  106. flyway-rbatis

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

    v0.3.2 430 #database-driver #database-migrations #sql #change #rbatis #flyway-rs #java
  107. forgeconf

    Declarative configuration loader for Rust structs powered by attribute macros

    v0.2.0 #config #macro #toml
  108. impulse-server-kit

    Highly configurable backend framework based on salvo

    v1.0.0-alpha.6 #logging-tracing #metrics #tcp-port #salvo #kit #http-3 #acme #web-server #host-port #open-telemetry
  109. memmap3

    Safe, zero-copy memory-mapped I/O. Drop-in replacement for memmap2 with persistent structs and zero unsafe in user code.

    v0.1.0 #mmap #memmap2 #safe #memory-map #persistent-memory
  110. tide-disco

    Discoverability for Tide

    v0.9.6 12K #tide #routes #web-api #disco #specification #api-specification #error-message #web-framework
  111. flyway

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

    v0.3.2 #database-migrations #database-driver #sql #changelog-file #version #db-up #java #refinery
  112. lockjaw

    Compile time dependency injection framework inspired by dagger

    v0.3.3 650 #dependency-injection #compile-time #framework #dagger #component #cl #user-guide
  113. configurable_serde

    A proc-macro to apply reusable serde configurations

    v0.1.1 #proc-macro #serde #macro-generation #serialization #no-std
  114. compose-idents

    macro for generating new identifiers (names of variables, functions, traits, etc) by concatenating one or more arbitrary parts and applying other manipulations

    v0.3.0 800 #unique-identifier #concatenation #duplicates
  115. std140

    GLSL interface block memory, layed-out according to the std140 convention, represented as Rust structs

    v0.2.7 #glsl #opengl #graphics
  116. config-manager

    build config from environment, command line and files

    v0.4.5 600 #environment #macro #command-line
  117. enum_ext

    procedural macro that enhances enums with additional methods and conversions

    v0.5.1 #proc-macro #enum-variant #enums-discriminant #discriminant
  118. cargo-macrofmt

    Format Rust macro attributes across multiple lines

    v0.0.3 #formatting #cargo #development-tools #macro
  119. dioxus_style

    Scoped CSS styling system for Dioxus components with compile-time processing

    v0.2.0 #css #scoped-css #dioxus #styling #scoped
  120. salvo-craft

    Salvo Handler modular craft

    v0.86.0 143K #web-framework #web-server #async
  121. allow

    Alias/label lints (to disable) with your intentions. Reexported from allow_prefixed, grouped under rustc::, clippy:: and rustdoc:: modules.

    v0.1.5 #linting #clippy #lint
  122. aery

    Non-fragmenting ZST relations for Bevy

    v0.8.1 1.2K #ecs #bevy-ecs #bevy
  123. pipeline-dsl

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

    v0.1.0 #pipeline #dag #macro #dataflow #workflow
  124. impl-tools-lib

    Helper macros: autoimpl

    v0.11.4 45K #auto-impl #traits #derive-traits #derive
  125. bloom-web

    A lightweight backend framework combining Actix-Web, SQLx, and declarative macros for rapid API development

    v0.1.6 270 #actix-web #sqlx #mysql #framework #actix
  126. data-classes

    Abbreviation of #[derive(xxx)]

    v0.0.0-13 #data #rkyv #derive #bytemuck #enums #xxx #default-impl #hash #partial-eq #debugging
  127. zbus_macros

    proc-macros for zbus

    v5.12.0 2.0M #zbus #dbus #ipc
  128. mutants

    Decorator attributes to be used with cargo-mutants

    v0.0.3 63K #cargo-subcommand #attributes #mutating #testing #decorator #mutation-testing
  129. doc_for

    📖 Get the documentation comment for structs, enums and unions, in a zero-cost fashion

    v0.1.4 310 #documentation #proc-macro #doc-comment #zero-cost
  130. spandoc

    Procedural macro attribute for converting doc comments into tracing spans

    v0.2.2 5.3K #logging-tracing #instrument #tracing-macro
  131. fray

    A type-safe and ergonomic Rust library for working with bitfields

    v0.1.2 #bit-field #struct #macro #debugging #define #strong-typing #heap-allocator #macro-attributes
  132. borrowme

    The missing compound borrowing for Rust

    v0.0.15 270 #lifetime #macro
  133. savefile-abi

    Easy to use, simple, stable ABI for Rust-libraries. Allows creating dynamically loadable plugins written in rust.

    v0.20.2 #dlopen #ffi #dylib
  134. error_mancer

    Quickly define custom error enums for a function

    v0.4.3 800 #error-handling #attribute-macro #error-macro #no-std #macro
  135. trait_mux

    Proc macro library for generating enums that can multiplex different trait objects

    v0.3.2 130 #proc-macro #traits #multiplex
  136. flaky_test

    atttribute macro for running a flaky test multiple times

    v0.2.2 19K #testing-macro #flaky #times #running #macro-attributes
  137. michie

    An attribute macro that adds memoization to a function (sounds like Mickey)

    v3.0.2 #memoization #cache #memoise
  138. supergloo

    rapid development of web applications in Rust and axum, with a focus on ease of use and flexibility through path based routes

    v0.2.3 390 #axum #routing #easy #web
  139. forged-in-lost-lands

    Forged in Lost Lands is a simple game engine built in Rust that focuses on data control and ease of use

    v0.3.52 600 #ecs #ease-of-use #entity
  140. dportable

    Portable interface for various utilities

    v0.1.2 260 #wasm #utilities #interface #rw-lock #send-sync #mutex #macro-attributes #web-worker #single-threaded
  141. nounwind

    A attribute macro to prevent panics from unwinding, similar to C++ noexcept

    v0.1.2 #panic #noexcept #exception #abort-unwind #no-alloc
  142. fncmd

    Command line interface as a function

    v2.1.0 140 #clap #macro #cli
  143. reductool

    Allow Rust functions to be called by LLMs

    v0.1.2 #llm #llm-tools
  144. axor

    Core of the Axor framework: agent-based business logic with typed operations and injection

    v0.1.2 #framework #back-end #di #agent #rust
  145. coinduction

    Attribute macros for defining circular type references and recursive trait implementations in Rust

    v0.1.0 #traits #recursion #macro #circular #macro-traits
  146. capnp_conv

    capnp write/read traits to convert from structs to readers/builders

    v0.3.2 1.6K #cap-n-proto #struct-builder #read-traits #convert #capnproto #conv #write-trait
  147. ndk-glue

    Startup code for android binaries

    v0.7.0 94K #android-ndk #android #ndk
  148. argcall

    Enables enums and structs to be callable by associating functions with their variants or fields

    v0.4.0 300 #enum-variant #struct-fields #enum-variants #callable #enums-and-structs #data-structures
  149. newer-type

    Support defining newtype wrapper with inheriting trait implementations

    v0.2.0 240 #newtype #proc-macro #traits #attribute-macro
  150. function-wrapper

    Rust attribute macro library that makes it easy to wrap functions in code that runs before and / or after a function executes

    v0.1.8 #macro-attributes #wrapper #macro #function #attributes
  151. macro_rules_attr

    Use declarative macros as proc_macro attributes. (#[apply] your macro_rules!)

    v0.1.3 1.1K #macro-rules #proc-macro-attributes #proc-macro #decorator
  152. tokio-test-lite

    Lightweight #[test] attribute for async tokio tests without syn

    v0.2.0 #tokio-test #proc-macro #async #tokio #test-macro
  153. macro_railroad_annotation

    Easily embed macro_railroad images in your docs using this attribute macro!

    v1.1.0 1.5K #documentation #macro-railroad #decl-macros
  154. assert_enum_variants

    macro that asserts that all variants of an enum are as provided in the macro invocation

    v0.1.2 #enum-variants #enums #assert
  155. axum-folder-router

    Helper macro for simple folder based routing of axum handlers

    v0.3.9 1.4K #routing #macro #controller #axum
  156. dyn-dyn

    Flexible trait object downcasting using ptr_metadata

    v0.2.0 280 #downcasts #traits #cast #downcast
  157. noexcept

    Attribute macro equivalent to C++'s noexcept specifier

    v0.0.4 220 #macro #macro-attributes #no-panic #no-alloc
  158. ensure_impl

    Trait implementation assertion

    v0.2.1 #blanket #impl
  159. feignhttp

    Declarative HTTP client for rust

    v0.5.2 100 #declarative-http-client
  160. retry-if

    A tokio-compatible attribute-macro for decorating methods and functions with an exponential backoff

    v0.2.3 700 #retry #async #tokio #retry-backoff
  161. platify

    Streamline cross-platform Rust development with declarative attribute macros

    v0.3.0 #cross-platform #declarative-macro #macro-attributes #exclude #traits #platform-specific #posix #type-aliases #os-specific #platform-dependent
  162. dioxus-core-macro

    Core macro for Dioxus Virtual DOM

    v0.7.2 68K #dioxus #react #dom
  163. wrap-match

    A procedural macro to wrap a function in match statement to make error logging super easy

    v1.0.7 #error-logging #proc-macro #match-statement #logging-macro #macro-error
  164. mantra-rust-macros

    macros to create requirement traces and coverage logs for the mantra framework

    v0.7.0 1.6K #logging #mantra #macro #requirements #req #logging-framework #proc-macro
  165. displaystr

    An attribute macro for ergonomically implementing the Display trait

    v0.1.11 #macro-derive #proc-macro #display #no-alloc
  166. pack_bools

    Attribute macro to pack all boolean fields of a struct into a bitfield

    v0.1.2 9.8K #packing #macro #bit-field
  167. nade

    Adding named and default arguments to Rust functions

    v0.3.3 #named-arguments #macro #default
  168. memoiz

    attribute macro for automatic memoization (caching) of function results, optimizing recursive and repetitive computations with thread-safe lazy initialization

    v0.2.2 190 #memoization #macro-attributes #cache #thread-safe #recursion #lazy-evaluation #repetitive
  169. extruct

    proc-macro library that provides tools for listing named struct fields and implementing conversion from a larger struct containing fields with same names

    v0.2.1 360 #struct-fields #proc-macro #introspection
  170. process-fun

    process management and inter-process communication

    v0.1.2 360 #ipc #process-communication
  171. ambit

    Attribute macro for ranged number newtypes

    v0.1.2 #macro-attributes #macro-for-ranged #newtype #numbers
  172. rombok

    boilerplate generation macros like lombok

    v0.3.0 200 #builder #lombok #java
  173. subdef

    Expressive attribute macro to define nested structures

    v0.1.2 #macro-attributes #macro #nested #nestify #serde #no-alloc
  174. context_attr

    Attribute macro to add context to all errors a function produces

    v0.1.5 210 #anyhow #attr #error-context #macro-attributes #produce
  175. tested-fixture

    Attribute macro for creating fixtures from tests

    v1.0.1 #testing #fixtures #fixture
  176. fn-error-context

    An attribute macro to add context to errors from a function

    v0.2.1 25K #error-context #macro-attributes #error-macro #anyhow #add
  177. doctored

    Documentation utilities

    v0.1.0 #documentation #utilities
  178. wasmy

    easily customize my wasm app!

    v0.5.6 #wasm #wasm-app
  179. roopert

    object-oriented toolkit for Rust

    v0.2.0 #object-oriented #macro #oop
  180. prebindgen-proc-macro

    Procedural macros for prebindgen - export FFI definitions for binding generation

    v0.4.1 300 #cross-platform #cbindgen #csbindgen #ffi
  181. test-with-tokio

    attribute macro for tests using tokio with cases and async guards

    v0.3.3 #tokio-test #tokio-runtime #test-cases #macro-attributes #concurrency-testing #guards #async-concurrency
  182. smol-potat

    Proc macro for smol runtime

    v1.1.2 3.0K #proc-macro #async-runtime #smol #help #auto
  183. vex-macros

    Procedural macros for the VEX protocol

    v0.1.4 #macro-derive #artificial-intelligence #ai-agents #proc-macro
  184. db-key-macro

    Attribute macro to generate fixed-length key-value database keys

    v0.2.0 210 #database #macro-attributes #macro
  185. closure_attr

    An attribute macro to simplify closure captures

    v0.4.0 #closures #capture #attr #rc #macro-attributes #refcell
  186. rapid-rs-macros

    Procedural macros for rapid-rs framework

    v0.3.0 #proc-macro #rapid-rs #test-framework #openapi #database-migrations #jwt #graphql #axum #grpc #crud
  187. backon-macros

    Attribute macro helpers for the backon retry library

    v1.0.0 #retry #async #macro-attributes #backon #retry-backoff
  188. Try searching with DuckDuckGo or on crates.io.

  189. roopert_macro_common

    object-oriented toolkit for Rust (common data)

    v0.2.0 #object-oriented #macro #oop
  190. warcmutex

    in Rust that provides an attribute macro for mods, structs and impls. Rewrite code using under the hood asynchronous reference (Arc) and asynchronous mutation (Mutex) control elements.

    v1.0.2 #arc-mutex #macro-attributes #async #macro
  191. workflow-macro-tools

    Macro utility functions used by the workflow-rs framework

    v0.18.0 3.0K #macro-attributes #workflow-rs #macro
  192. skip-if

    Attribute macro to skip running a function that produces files

    v0.1.1 #macro-attributes #hash #running #produce #output
  193. proptest-attr-macro

    Procedural attribute macro for writing proptest tests

    v1.0.0 900 #proc-macro-attributes #proptest #testing-macro #macro-attr #u32
  194. repeat_for

    Like a for loop except that's valid at crate-level

    v0.1.2 #proc-macro #repeat #block #crate-level #valid
  195. lazy-attribute

    convenient attribute macro for lazy function execution

    v0.1.4 #lazy-evaluation #macro-attributes #execution #macro-for-lazy #cache
  196. newer-type-std

    Support defining newtype wrapper with inheriting trait implementations

    v0.2.0 #newtype #proc-macro #traits #attribute-macro
  197. const_guards

    An attribute macro for compile time constraints on const generics

    v0.1.3 #const-generics #generics #const
  198. arc_wrapper

    A attribute macro to generate a wrapper for a struct

    v0.1.6 #macro-attributes #async #macro #tool #attributes
  199. logcall

    An attribute macro that logs the function return value

    v0.1.13 6.0K #logging #macro-derive #log-derive #function
  200. performance-mark-impl

    performance_mark is an attribute macro that adds performance (time) logging to methods. This crate is implementation detail, you should depend on performance-mark-attribute instead.

    v0.2.2 #macro-attributes #logging #logging-macro #time-macro #performance
  201. bitflags-attr-macros

    Attribute macro implementation for bitflags-attr. Do not use directly, use the reexport in the bitflags crate. This allows for better compatibility across versions.

    v0.13.0 #bit-flags #bitmask #bitflags
  202. performance-mark-attribute

    performance_mark is an attribute macro that adds performance (time) logging to methods

    v0.2.2 #macro-attributes #performance-mark #logging #time #methods
  203. axum_grants

    A set of attribute macros for protecting Axum URI resources

    v0.1.3 150 #axum #macro-attributes #grants #resources #protecting #user-permissions
  204. tyenum

    Attribute macro for type enums

    v0.5.0 #enums #type #sum #union
  205. multiplatform_test

    attribute macro to combine #[test] and #[wasm_bindgen_test]

    v0.6.0 100 #wasm-bindgen-test #testing #multi-platform #host #attributes #macro-attributes
  206. subset_eq

    Procedural attribute macro to compare structs while ignoring specified fields while preserving full PartialEq

    v0.1.0 #macro-attributes #proc-macro #partial-eq #compare #subset #updated-at
  207. sif

    Small but convenient parameterized testing attribute macro for Rust

    v0.1.0 #unit-testing #junit #parameterized-tests #parametrized #parameterized
  208. axum_guard

    A set of attribute macros for protecting Axum URI resources

    v0.1.0 #macro-attributes #axum #resources #protecting #grants #user-permissions
  209. clap-noun-verb-macros

    Procedural macros for clap-noun-verb - attribute macros for zero-boilerplate CLI command registration

    v5.3.4 2.7K #clap #noun-verb #proc-macro #cli
  210. arpa-log

    An attribute macro for logging function context with MDC

    v0.2.2 #arpa #dkg #randcast #bls #threshold
  211. symm_impl

    Attribute macro that automatically implements a symmetric trait

    v0.1.2 350 #macro-derive #traits #procedural
  212. breaking-attr

    An attribute macro that enforces per-version invariants on items

    v0.2.0 270 #macro-attributes #hash #enforce #breaking #item #hasher #blake3
  213. inertia-macros

    attribute macros to assist with overloading operators for borrowed and owned data

    v0.1.0 #operator-overloading #macro #overloading
  214. opimps

    attribute macros to assist with overloading operators for borrowed and owned data

    v0.2.2 550 #operator-overloading #overloading
  215. hyperlane-macros

    comprehensive collection of procedural macros for building HTTP servers with enhanced functionality. This crate provides attribute macros that simplify HTTP request handling, protocol validation…

    v10.9.2 #proc-macro #cross-platform
  216. avr-device-macros

    Attribute macros for re-export in avr-device

    v0.8.0 4.9K #re-exports #avr-device #macro #register-access #macro-attributes #embedded #avr-microcontrollers #cortex-m-rt
  217. namefn

    Adds a macro to retrive the name of the current function

    v0.1.3 #name #attribute-macro #function #macro
  218. pyo3_macro

    macro crate builds PyO3-compatible Rust protobuf and gRPC structures. So you can easily expose your generated protobuf code as Pythin binding through PyO3. Features Macro…

    v0.1.4 220 #pyo3 #constructor #macro #pyclass
  219. negate

    Attribute macro that generates negated versions of functions that return booleans

    v0.1.1 #boolean #proc-macro #macro
  220. shipyard_proc

    providing attribute macro to Shipyard

    v0.5.0 4.4K #proc-macro-attributes #shipyard #ecs
  221. janetrs_macros

    Attribute macros for JanetRS

    v0.7.3 #janet #proc-macro #embedding
  222. static_test

    Attribute macro for writing tests which check that a given condition ALWAYS holds true or that a given code path is ALWAYS unreachable

    v0.1.0 #testing #testing-macro #test
  223. attr-bounds

    An attribute macro to apply bounds to items

    v0.1.0 #bounds #attributes
  224. stringify-attr

    Attribute macros for stringifying

    v1.0.0 #proc-macro-attributes #stringify #proc-macro #string #attributes
  225. from-num

    Attribute macro #[from_num(...)]

    v1.1.1 #macro-attributes #debugging #partial-eq #traits #planet #earth #mars #neptune #mercury #venus
  226. capnp_conv_macros

    attribute macros that implement capnp read/write traits

    v0.3.2 1.6K #capnp #macro-attributes #capnp-conv #field-attributes #write-trait #optional-fields #field-read #struct-builder
  227. syn_squash

    Proc attribute macro helper to capture many Syn types and define shared behaviour

    v0.1.0 190 #proc-macro-attributes #syn #shared #define #helper #macro-helpers
  228. serde-prefix-all

    Attribute macro to add a prefix to all struct fields & enum variants

    v0.1.0 1.9K #macro-attributes #struct-fields #enums #serde
  229. vmprotect-macros

    Attribute macro for vmprotect

    v1.0.0 #vmprotect #vm-protect #sdk #macro-attributes #protected
  230. per_test_directory

    fixture/attribute macro to create one directory per test run

    v0.1.0 #macro-attributes #create-directory #test-run #per-test #testing
  231. route_controller

    An attribute macro enabling a structured approach to defining routes and attaching middleware for axum servers

    v0.1.1 #routes-controller #axum-middleware #macro-attributes #proc-macro #attached #axum-router #combining
  232. derive2

    An attribute macro that executes a function-like macro

    v0.1.0 #macro-derive
  233. proc-macro-error-attr2

    Attribute macro for the proc-macro-error2 crate

    v2.0.0 5.6M #proc-macro #proc-macro-attributes #macro-error #proc-macro-error2 #proc-macro-error #error-handling
  234. fixed-size

    Attribute macro to replace variable length types with fixed length types in struct definitions. Useful for overriding String when using prost.

    v1.0.0 #macro-attributes #macro #attributes
  235. logfn

    attribute macro for inserting logging code into your function

    v0.1.0 #logging #fn #macro #macro-log
  236. documented-macros

    Derive and attribute macros for documented

    v0.9.2 41K #macro-derive #documentation #run-time #documentation-at-runtime #accessing
  237. reprfn

    attribute macro for easyer define external functions

    v1.0.0 #ffi #procedural #searby
  238. wrap_into

    Attribute macro to optimize the use of Into trait on function args

    v0.1.1 #macro-attributes #wrap #optimization #arg #traits
  239. serde-versions-derive

    An attribute macro for adding a version byte when serializing a struct via Serde. Also allows deseraializing while removing version byte.

    v0.0.5 #serde-derive #version #struct #byte #macro-derive #removing #deserialize
  240. exposed-macro

    Contains macros required by "exposed"

    v0.1.0 #exposed #macro #required