CATEGORY
Development tools::Procedural macro helpers 1,202 crates
Data as of 2026-07-25 (crates.io database dump, timestamp 2026-07-25T02:00:36Z). Source: crates.io · db-dump.tar.gz · methodology & corrections.
enum_companion_deriveA procedural macro for generating companion enums for structs.1,131MIT
macro_registryReusable proc-macro registry and source analysis infrastructure1,122MIT
hodei-deriveDerive macros for Hodei authorization framework - auto-generate Cedar schemas1,104MIT OR Apache-2.0
camunda_connector_rsA procedural macro for generating Camunda connectors with Axum routers1,101MIT
try_from_exprA procedural macro for generating TryFrom<&syn::Expr> implementations for enums1,099MIT
pmcp-macros-supportPure helpers for pmcp-macros — non-proc-macro sibling crate for the rustdoc-harvest normalizer, so property tests and fuzz…1,096MIT
prefer_deriveDerive macros for the prefer configuration library1,082MIT
aeon_derive_utilsDerive macro utilities for the aeon crate.1,070MIT
kivis-deriveProcedural macros for kivis database schema generation1,069MIT
entity-deriveDerive macro for generating DTOs, repositories, and SQL from a single entity definition1,063MIT
sensitive-fmtDerive Debug and Display while honoring #[sensitive(redact | truncate = N | skip)] field attributes.1,058MIT OR Apache-2.0
opentelemetry-derive-implImplementation of derive macros for OpenTelemetry1,048Apache-2.0
px-linkmeSafe cross-platform linker shenanigans1,033MIT OR Apache-2.0
clau-macrosProcedural macros for clau crate1,031MIT
enum-valuesExposes enum values via reflection1,030MIT OR Apache-2.0
asn1_lenA utilities to convert back and forth between unsigned int and ASN.1 Length.1,023MIT
nut-shell-macrosProcedural macros for nut-shell - a lightweight CLI library for embedded systems1,002MIT OR Apache-2.0
mujoco-rs-deriveInternal procedural macros for the mujoco-rs crate. Not for direct use.1,001MIT OR Apache-2.0
metrics-helper-macrosProc-macros for idiomatic Prometheus metrics instrumentation in Rust996MIT
sayiir-macrosProcedural macros for the Sayiir durable workflow engine996MIT
radif_macrosMacros for ADIF format parsing and serialization.989GPL-3.0-only
sigma-types-macrosMacros to enhance the `sigma-types` crate983MPL-2.0
unbound-deriveDerive macros for the unbound library971MIT
tonysd-config-manager-procMacro implementation for config-manager-rs derives966MIT
bevy_diagnostics_inspectorInspector plugin for the bevy game engine963MIT OR Apache-2.0
stratagem-macrosProvides a derive macro for automatically implementing the Commander trait, simplifying command-based state management with…952MIT OR Apache-2.0
textfsm-macrosCompile-time template validation macros for TextFSM951MIT OR Apache-2.0
neo-macrosProcedural macros for Neo N3 contracts926MIT
rules_derivesimple and fast derive macros using macro_rules917MIT
surql-macrosCompile-time SurrealQL validation macros for surql-parser911Apache-2.0
sassi-codegenSupport crate for Sassi macro/codegen integrations; most adopters depend on sassi directly.907MIT OR Apache-2.0
riglr-macrosProcedural macros for riglr - reducing boilerplate when creating rig-compatible tools.903MIT
type-macro-derive-tricksDerive macros that work with ADTs containing macros in type positions902MIT
quipQuasi-quoting macros with expression interpolation894Apache-2.0
clawspec-macroProcedural macros for clawspec OpenAPI generation885MIT OR Apache-2.0
rcman-deriveDerive macros for rcman settings library880MIT
genai-rs-macrosProcedural macros for genai-rs: automatic function declaration generation for Gemini API tool calling874MIT
hubuum_client_deriveProcedural macros used by hubuum_client to define Hubuum API resources.868MIT
easy-macrosToolkit for building Rust procedural macros + generating debug info867Apache-2.0
klauthed-macrosProcedural macros for klauthed, including #[derive(DomainError)].863MIT OR Apache-2.0
decal-macrosMacros for constructing Decal nodes861MIT OR Apache-2.0
envintA quick & dirty proc-macro to parse env variables into integers for compile-time configuration856MIT
blinc_macrosProcedural macros for Blinc UI framework843Apache-2.0
sassi-macrosSupport proc-macro crate re-exported by sassi for ordinary adopters.839MIT OR Apache-2.0
derive2An attribute macro that executes a function-like macro836MIT
prax-codegenProcedural macros for code generation in the Prax ORM835MIT OR Apache-2.0
safe-math-macrosProcedural macros for overflow-safe arithmetic operations834MIT OR Apache-2.0
opentelemetry-deriveDerive macros for OpenTelemetry830Apache-2.0
simplify_baml_macrosProcedural macros for simplify_baml - automatic IR generation from Rust types829MIT
fixture_deriveFixture derive macro for Type Driven Development826MIT OR Apache-2.0
loess-rustLoess-based Rust grammar (as needed).824MIT OR Apache-2.0
rust-task-queue-macroProcedural macros for rust-task-queue automatic task registration813MIT OR Apache-2.0
stygian-extract-deriveProc-macro backend for stygian-browser #[derive(Extract)]812AGPL-3.0-only OR LicenseRef-Commercial
loess-rust-opaqueLoess-compatible opaque wrappers for Syn-parsed tokens (as needed).800MIT OR Apache-2.0
auto-defaultMacro that adds a default field value of `Default::default()` to fields that don't have one792MIT OR Apache-2.0
cnfg-deriveDerive macros for cnfg784Apache-2.0
steam-user-implInternal proc-macros for the `steam-user` crate. Do not depend on this crate directly — use `steam-user`; this crate's API is…778MIT
arete-macrosProc-macros for defining Arete streams777non-standard
singleton_macroSpring Framework-inspired dependency injection and singleton pattern macros for Rust backend services772MIT OR Apache-2.0
test-numbat-wasm-deriveNumbat WebAssembly smart contract API procedural macros765GPL-3.0-only
proc-diagLeverage compiler-provided functionality to emit custom error messages in procedural macros.760MIT OR Apache-2.0
lithair-macrosDerive macros for Lithair framework (DeclarativeModel, LifecycleAware, Page, RbacRole)755MIT OR Apache-2.0
supply-chain-trust-crate-000001Parser for Rust source code754MIT OR Apache-2.0
field_comparable_deriveProcedural macro to generate struct field comparison methods / Macro procédurale pour générer des méthodes de comparaison de…751MIT OR Apache-2.0
odebugSimple and flexible debug logging utility that allows simple and practical logging to a text file especially during proc-macro…744non-standard
conferencier-deriveProcedural macro derive for ConferModule736MIT OR Apache-2.0
optfield-liteA macro to generate a new struct with fields wrapped in Option.726MIT
typed_sqlx_client_macrosDerive macros for typed_sqlx_client - automatic CRUD trait implementations726MIT OR Apache-2.0
supply-chain-trust-crate-000004A substitute implementation of the compiler's `proc_macro` API to decouple token-based libraries from the procedural macro use…725MIT OR Apache-2.0
arael-sym-macrosProc macros for arael-sym: the sym! auto-clone macro723MIT
pipeline_deriveA procedural macro crate to simplify building monadic-like data pipelines in Rust.718MIT
obfuse-macrosProcedural macros for obfuse string obfuscation714MIT
obfuse-coreCore runtime logic for obfuse string obfuscation712MIT
anodized-logicHelps Anodized embed non-trivial elements of logic into Rust code712MIT OR Apache-2.0
supply-chain-trust-example-crate-000030Determine whether characters have the XID_Start or XID_Continue properties according to Unicode Standard Annex #31708(MIT OR Apache-2.0) AND Unicode-3.0
evenframe_deriveDerive macros for Evenframe - automatic database schema and CRUD generation699MIT
anodized-macrosProc macros used by the Anodized specification system696MIT OR Apache-2.0
grift_macrosProcedural macros for Grift Scheme standard library685MIT OR Apache-2.0
eshanized-polaris-macrosProcedural macros for the Polaris distributed compute framework684MIT
supply-chain-trust-crate-000005Quasi-quoting macro quote!(...)680MIT OR Apache-2.0
rust-zw3d-macros为 rust-zw3d 提供的过程宏:#[cmd], #[callback]680MIT
cachelito-macrosProcedural macros for cachelito - automatic caching attributes675Apache-2.0
bronzite-types🔮 Shared types for Bronzite compile-time reflection IPC protocol671MIT OR Apache-2.0
kpl-deriveProcedural macros for generating API client code for stock API endpoints666MIT
deepmerge-deriveDerive macro for the DeepMerge trait with typed attribute support663MIT OR Apache-2.0
bmux_plugin_schema_macrosProc macro for including a BPDL schema and generating Rust bindings663MPL-2.0
openapi-contract-macrosProc-macro implementation for the openapi-contract crate. Not intended to be used directly — depend on `openapi-contract` instead.663MIT OR Apache-2.0
struargs_deriveA macro that converts a structure into a Command parameter list654MIT
procenv_macroProcedural macro implementation for procenv652MIT
turbomcp-wasm-macrosProcedural macros for TurboMCP WASM servers - zero-boilerplate MCP server development651MIT
lihaafFast compile-fail and compile-pass test harness for Rust proc macros; a faster trybuild-style workflow651MIT OR Apache-2.0
ruststream-macrosProcedural macros for the RustStream messaging framework.646Apache-2.0
server-less-openapiOpenAPI composition utilities for server-less642MIT
nlink-macrosProc-macro derives for the nlink Linux-netlink library — typed GENL family / command / attribute codecs631MIT OR Apache-2.0
fixture_rsFixture derive macro for Type Driven Development623MIT OR Apache-2.0
newtype-tools-deriveErgonomic utilities for the Rust newtype idiom.621MIT OR Apache-2.0
openapi-contractCompile-time OpenAPI contract checking for Rust HTTP clients. Validates paths, parameters, and response types against your…611MIT OR Apache-2.0
vacro-parserA declarative parsing library for Rust procedural macros, simplifying input handling.611MIT OR Apache-2.0
fleetmacrosMacros for fleet608Apache-2.0
aimdb-deriveDerive macros for AimDB record key types607Apache-2.0
vacro-parser-macroInternal macro implementation for vacro-parser.588MIT OR Apache-2.0
arael-macrosProc macros for the arael optimization framework: #[arael::model], constraint codegen576MIT
efx-attrnamesProc-macro derive to generate ATTR_NAMES (and optional ATTR_INFO) for attribute structs in EFx ecosystem575MIT OR Apache-2.0
obfuseCompile-time string obfuscation with runtime decryption and secure memory wiping575MIT
dnf-deriveDerive macro for dnf crate - generates DnfEvaluable trait implementations574MIT OR Apache-2.0
rustd_coreCore types and IR for the RustD deterministic DSL572Apache-2.0
bisync_suffix_macroA procedural macro to conditionally append suffixes to method names in .await expressions for dual async/blocking support.565MIT OR Apache-2.0
bitteAutomatically desugar and set Send/Sync bounds on async traits559MIT
dioxus_style_macroProcedural macros for dioxus_style with SCSS/SASS compilation support - internal use only559MIT OR Apache-2.0
bifrostlink-macrosCodegen helper for bifrostlink557MIT
llm-tool-macrosProcedural macros for llm-tool (#[llm_tool] attribute)555Apache-2.0 OR MIT
identity-macroRemove metavariable fragment to make it reusable for macro_rules550MIT
gamma-table-macrosA procedural macro for generating gamma correction lookup tables542MIT OR Apache-2.0
praborrow-defenseProcedural macros for invariant verification. Generates runtime checks and SMT-based formal verification.537MIT
newtype-toolsErgonomic utilities for the Rust newtype idiom.537MIT OR Apache-2.0
cachelito-async-macrosAsync procedural macros for cachelito - automatic async caching attributes536Apache-2.0
leo3-macros-backendImplementation detail of Leo3 procedural macros535MIT OR Apache-2.0
allora-macrosProcedural macros for Allora (#[service]) to register service activators via inventory.535Apache-2.0
runtara-agent-macroProc macros for runtara agent definitions525AGPL-3.0-or-later
depthai-macrosProcedural macros used by the depthai crate.525MIT
stasis-rs-macrosProcedural macros for stasis523MIT OR Apache-2.0
rust-expect-macrosProcedural macros for the rust-expect terminal automation library522MIT OR Apache-2.0
tynamed_macrosA macro that gives a name to a struct or enum509MIT
mux_attrsAttribute multiplexing508MIT/Apache-2.0
outstanding-macrosProc macros for compile-time resource embedding in Outstanding508MIT
disponentAn alternative to dynamic-dispatched method calls, without the need for object safety503MIT OR Apache-2.0
term_render_macrosProcedural Macros for TermRender.500MIT
syntaxfmt-macrosProcedural macros for the syntaxfmt crate.499MIT OR Apache-2.0
flowjs-rs-macrosDerive macro for flowjs-rs496MIT
finance-query-deriveDerive macros for finance-query library496MIT
struargsA macro that converts a structure into a Command parameter list495MIT
pyrs-macrosProcedural macros for PyRS - Python-like Rust syntax492MIT
procenvDerive macro for declarative environment variable configuration with error accumulation and rich diagnostics491MIT
vacro-report-macroInternal macro implementation for vacro-report.476MIT OR Apache-2.0
zel_macrosProcedural macros for the Zel RPC framework470MIT OR Apache-2.0
ax-crate-interface-liteProvides a way to define an interface (trait) in a crate, but can implement or use it in any crate.468Apache-2.0
waterui-macrosMacro for WaterUI458Apache-2.0 OR MIT
factory-m8-deriveDerive macros for test data factories with automatic FK resolution458MIT
vex-macrosProcedural macros for the VEX protocol453Apache-2.0
derive_builder_apply_toA procedural macro for generating apply_to methods for builder patterns449MIT
cf-gears-toolkit-odata-macrosProc-macro derives for OData protocol (FilterField, Schema, etc)441Apache-2.0
batpak-macros-supportShared support types for batpak macros. Not intended for direct use.440MIT OR Apache-2.0
eryx-macrosProcedural macros for the eryx Python sandbox434MIT OR Apache-2.0
tele-macrosProc-macros for tele bot ergonomics433MIT
webio_macrosProcedural macros for the WebIO ultra-low-latency framework.432MIT
tokitai-macrosProcedural macros for Tokitai - Zero-dependency macro for AI tool integration426MIT OR Apache-2.0
wdf-macrosA crate containing macros for use in WDF drivers421MIT OR Apache-2.0
altium-format-deriveProc-macro derives for the altium-format crate.421GPL-3.0-only
rustd_runtimeRuntime executor for RustD deterministic DSL418Apache-2.0
runtara-sdk-macrosProc macros for runtara-sdk (#[durable] attribute)416AGPL-3.0-or-later
model-context-protocol-macrosProcedural macros for MCP server and tool definitions414MIT OR Apache-2.0
leo3-macrosProcedural macros for Leo3 (Rust-Lean4 bindings)412MIT OR Apache-2.0
armature-macrosDeclarative macros for Armature framework412Apache-2.0
batpak-macrosProcedural macros for the batpak event-sourcing store.410MIT OR Apache-2.0
vld-deriveDerive macro for the vld validation library409MIT
struct-to-enum-macrosDerive macros for generating enums from structs.407MIT OR Apache-2.0
lurq_macrosProc macros for the lurq UI toolkit.402MIT
structible-macrosProc macros for structible399MIT
vacro-traceObservability, tracing, and snapshot debugging for Rust procedural macros.396MIT OR Apache-2.0
nestrs-macrosProc-macro support for nestrs module/controller/route ergonomics.393MIT OR Apache-2.0
armature-proc-macroProcedural macros for Armature framework391Apache-2.0
encircuit_macrosProcedural macros for the encircuit FHE toolkit389Apache-2.0
vacro-reportDiagnostic reporting enhancements for Rust procedural macros, improving error messages.389MIT OR Apache-2.0
doxa-macrosProcedural macros for doxa: #[derive(ApiError)], #[derive(SseEvent)], and HTTP method shortcuts that delegate to utoipa::path.389Apache-2.0
net-mesh-sdk-macrosProcedural macros for net-mesh-sdk (AI tool calling — A-7 of NRPC_AI_TOOL_CALLING_AND_AGENT_DX.md)383Apache-2.0
cg2Rust code generator.383GPL-3.0-only
zus-macrosProcedural macros for ZUS RPC framework service definition376MIT OR Apache-2.0
fatoora-deriveProc-macro helpers for fatoora-core validation rules373MIT
tokel-engineThe core parsing, AST, and bottom-up evaluation engine for the Tokel macro language.372GPL-3.0-or-later
maiko-macrosProcedural macros for the Maiko actor runtime362MIT OR Apache-2.0
tynamedA macro that gives a name to a struct or enum358MIT
vercel-rpc-macroProcedural macros for Vercel RPC framework356MIT OR Apache-2.0
djogi-macrosProc macros for the Djogi framework — derive(Model), field attributes, descriptor emission356Apache-2.0
kaio-macrosProc macro crate for KAIO — provides #[gpu_kernel] attribute macro.353MIT OR Apache-2.0
arkhe-macrosDerive macros for ArkheKernel: ArkheAction / ArkheComponent / ArkheEvent. Companion crate to arkhe-kernel.350MIT OR Apache-2.0
waterui-form-deriveDerive macro for FormBuilder trait349MIT
agents-proc-macrosProc macros for typed agents and type-safe tool calls347Apache-2.0
md-tmpl-macrosProc macros for build-time template validation and pre-parsing347Apache-2.0 OR MIT
vacroA progressive DevX framework for building Rust procedural macros. Painless parsing, visual debugging, and robust tooling.345MIT OR Apache-2.0
daywalkerproc-macro for nightly conditional tokens344MIT
rustbridge-macrosProcedural macros for rustbridge plugins344MIT OR Apache-2.0
fack-codegenStandalone code generation engine for fack error handling344GPL-3.0
parcode-deriveProcedural macros for the Parcode high-performance serialization library.343MIT
bronzite-client🔮 Client library for querying the Bronzite compile-time reflection daemon from proc-macros341MIT OR Apache-2.0
bobtail_proc_macrosHelps generate macro proxies of functions whose tails can be "bobbed" as in cut off337MIT OR Apache-2.0
rustd_compilerDeterministic compiler for RustD DSL335Apache-2.0
dog-schema-macrosProcedural macros for DogRS schema generation - derive macros for validation and serialization330MIT OR Apache-2.0
capsec-macroProcedural macros for capsec: #[requires], #[deny], #[main], and #[context]326Apache-2.0
openapi-trait-sharedFramework-agnostic codegen helpers for openapi-trait (not intended for direct use)323MIT
read-only-deriveProc-macro support crate for read-only319MIT OR Apache-2.0
blaeck-macrosProcedural macros for the Blaeck terminal UI framework317MIT OR Apache-2.0
bolt-web-macroProcedural macro for the Bolt web framework315MIT
native-theme-deriveProc-macro derive for native-theme widget struct pairs315MIT OR Apache-2.0 OR 0BSD
field-kinds-deriveProc-macro implementation for field-kinds311MIT
tokel-stdA standard library of built-in TokenStream transformers for the Tokel engine.305GPL-3.0-or-later
uor-foundation-macrosProc macro crate for the UOR Foundation — provides the uor! DSL macro298Apache-2.0
vpratt-macrosProcedural macros for the vpratt pratt parsing framework.296MIT
macroweaveProcedural macros for small compile-time repetitions over Rust token sequences.296Apache-2.0
synapse-macrosProcedural macros for Synapse RPC (derive RpcError, arc_wrap)295Apache-2.0
rsai-macrosMacros for the rsai crate providing structured AI generation capabilities295MIT