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.
crabkey-macrosProc macros for the crabkey API framework289MIT
tokio-fsm-macrosProc macro for generating Tokio async finite state machines289MIT
summer-ext-macrosProc-macros for summer-rs contrib plugins (GCP Pub/Sub, Sa-Token)285MIT
ironhtml-macroProcedural macro for type-safe HTML construction284MIT
hotaru_transProcedural macros for Hotaru framework284MIT
hsmc-macrosProcedural macro implementation for the hsmc crate.283MIT
read-onlyRead-only field exposure and safe composition helpers via proc macros282MIT OR Apache-2.0
cc-lb-pdk-wasmtime-macrosProcedural macros (#[cc_lb_plugin], #[handler], #[derive(WireSchema)]) for cc-lb wasmtime plugins.280Apache-2.0
ironstate-deriveDerive macros for ironstate (StateMachine, Event)279Apache-2.0
pogo-masterfile-macrosProcedural derive macros backing the pogo-masterfile-types crate (AllVariants, AsStr, FromStrEnum).275MIT
macro_pasteMacros for all your token pasting needs. Maintained, drop-in replacement for paste.275MIT OR Apache-2.0
vacro-trace-macroInternal macro implementation for vacro-trace.274MIT OR Apache-2.0
praisonai-deriveProcedural macros for PraisonAI - #[tool] decorator272MIT
decycle-implInternal implementation for decycle macros266MIT
cfgmatic-macrosProc macros for cfgmatic configuration framework266MIT OR Apache-2.0
derive-inflectionCase inflection for derive macros (camelCase, snake_case, PascalCase, kebab-case, etc.)265MIT
dioxus-openapi-macrosProc macros for dioxus-openapi: dual Dioxus server-fn + utoipa path expansion263MIT
arkhe-forge-macrosDerive + attribute macros for ArkheForge Runtime: ArkheComponent / ArkheAction / ArkheEvent + #[arkhe_pure] (E14.L1 Subset-Rust…263MIT OR Apache-2.0
maat-sdk-deriveProc-macro derive for maat-sdk entities — generates `Entity` impls from annotated structs.261MIT OR Apache-2.0
vizier-deriveDerive macros for vizier261MIT
agentsdk-macrosProcedural macros for the agentsdk library260MIT
rusdantic-deriveDerive macros for Rusdantic data validation framework259MIT OR Apache-2.0
partial-cmp-deriveDerive PartialEq, Eq, PartialOrd, Ord, and Hash with fine-grained control over field comparison257MIT
ironstate-aggregate-deriveDerive macros for ironstate-aggregate (StableHash, Redact, Versioned)257Apache-2.0
ggen-macrosProcedural macros for ggen255MIT
rudzio-macro-internalsInternal AST-manipulation library backing `rudzio-macro`. Not a proc-macro crate, so consumers (including the macro's own…253MIT OR Apache-2.0
tanager-macrosParse Rust literal struct expressions using syn.253MIT
neuron-tool-macrosDerive macro for LLM tool definitions — generates JSON Schema and dispatch code from a Rust struct250MIT OR Apache-2.0
xacli-deriveDerive macros for xacli CLI framework249Apache-2.0
dragonfly-plugin-macroProcedural macros for the Dragonfly gRPC plugin SDK248MIT
litextSeamless proc-macro literal extraction.248MIT OR Apache-2.0
conduit-deriveProc macros for conduit-core: Encode, Decode, #[command], handler!().245MIT OR Apache-2.0
czsc-deriveInternal proc-macro of the czsc framework (普通用户请用 `czsc` facade): #[derive(CZSCErrorDerive)] auto-implements From<anyhow::Error>…244MIT
tanagerParse Rust literal struct expressions using syn.244MIT
fm-rs-deriveProc-macro derive for fm-rs Generable schema244MIT
tokel-deriveProcedural macro entry points and derive implementations for the Tokel templating engine.242GPL-3.0-or-later
function-metrics-macrosProcedural macros for function-metrics241MIT
loom-macrosProcedural macros for loom-rs runtime239MIT
openapi-trait-clientTransport-agnostic client procedural macro for openapi-trait (not intended for direct use)239MIT
apiresponse-macroDerive macros for apiresponse237MIT OR Apache-2.0
sioc-macrosProcedural macros for Sioc236MIT OR Apache-2.0
squire-deriveProcedural macros for Squire235Apache-2.0
infinity_rs_deriveProcedural macros for infinity-rs (MSFS gauge/system entry points).235MIT
bobtailGenerate macro proxies of functions whose tails can be "bobbed" as in cut off233MIT OR Apache-2.0
kurbu5-kdb-deriveProc-macro derive for kurbu5-kdb-rs KDB driver plugins233BSD-2-Clause
rust-ef-macrosProcedural macros for Rust Entity Framework231MIT
openapi-trait-axumAxum-specific procedural macro for openapi-trait (not intended for direct use)231MIT
egui-event-macrosProcedural macros for egui-event231MIT OR Apache-2.0
bronzite-macros🔮 Proc-macros for Bronzite compile-time type reflection - inspect traits, fields, and methods at compile time226MIT OR Apache-2.0
metaxy-macroProcedural macros for Metaxy RPC framework225MIT OR Apache-2.0
serde-tuplex-deriveProcedural macros for serde-tuplex223MIT
kurbu5-deriveProc-macro derives for kurbu5-rs non-KDB plugin interfaces223BSD-2-Clause
gpui-formThe gpui-form crate222MIT OR Apache-2.0
rudzio-macroProcedural macros for the rudzio async testing framework.222MIT OR Apache-2.0
glitcher-sdk-macrosProcedural macros for Glitcher SDK220MIT OR Apache-2.0
fack-macroProcedural macro implementation for fack error handling218GPL-3.0
resolute-macrosCompile-time-checked query! macro for resolute.214MIT OR Apache-2.0
decycle-macroSolve circular trait obligation210MIT
telepath-macrosProc-macro crate for Telepath (#[command] attribute)209MIT OR Apache-2.0
statiq-macrosProc-macro crate for statiq — compile-time SQL generation for MSSQL entities via #[derive(SqlEntity)]207MIT OR Apache-2.0
serde-attrParse #[serde(...)] attributes for derive macros that need serde compatibility207MIT
reliakit-deriveDerive macros for reliakit traits, implemented with only the standard library proc-macro API and no third-party dependencies.207MIT
derive-project-configRead [package.metadata.*] config from Cargo.toml for derive macros204MIT
sqlx-dataZero-boilerplate Repository Pattern for modern Rust applications. Write SQL traits, get async implementations with sophisticated…203MIT
hodei-provider-deriveProcedural macros for Hodei authorization system with Cedar Policy201MIT
tako-rs-macrosInternal proc macros for tako-rs. Use the `tako-rs` umbrella crate instead.200MIT
ayiou-macrosProcedural macros for the Ayiou bot framework.199MIT OR Apache-2.0
swink-agent-macrosProc macros for swink-agent: #[derive(ToolSchema)] and #[tool]199MIT
openpit-deriveProc-macro derives for openpit198Apache-2.0
echo_macrosProcedural macros for the echo-agent framework198MIT
mbed-macrosEmbed and transform assets into your Rust crate.196MIT
ssg-rpc-macroProc-macro backing the `#[ssg_rpc]` attribute (split out so ssg-rpc itself stays a normal library).196MIT OR Apache-2.0
comperrA minimal, lightweight crate for emitting span-accurate compile-time errors from procedural macros.194MIT OR Apache-2.0
stateset-macrosProcedural macros for StateSet iCommerce domain model generation194MIT OR Apache-2.0
prgpu-macroProcedural macros for prgpu — GPU struct layout / ABI codegen193MIT OR Apache-2.0
aither-deriveProcedural macros for aither - convert functions into AI tools192MIT
openapi-traitGenerate typed Rust traits from OpenAPI specifications using a proc-macro attribute190MIT
jshift-deriveProcedural derive macros for jshift: JsonView / JsonMutatorSchema on raw JSON bytes.190MIT OR Apache-2.0
openkit-macrosProcedural macros for the OpenKit UI framework189MIT OR Apache-2.0
service-daemon-macroDeclarative macros for the service-daemon orchestration framework.189MIT OR Apache-2.0
tokio-fsmCompile-time generated Tokio async finite state machines with explicit Rust behavior189MIT
astrea-macroProcedural macros for Astrea - file-system based routing framework187MIT
actix-web-schema-macroProcedural macros for actix-web-schema187Apache-2.0
field-kindsDerive macro for compile-time struct field type introspection185MIT
noema-macrosProcedural macros for Noema185MIT OR Apache-2.0
robomotion-deriveDerive macros for Robomotion SDK184LicenseRef-Proprietary
tracehash-rs-deriveDerive macro for the tracehash-rs canonical hashing trait183MIT
simplebench-macrosProcedural macros for SimpleBench - provides the #[bench] attribute183MIT OR Apache-2.0
czsc-signal-macrosInternal proc-macro of the czsc framework (普通用户请用 `czsc` facade): #[signal] / #[signal_module] for compile-time registration of…182MIT
luaur-rt-deriveProcedural derive macros (`UserData`, `FromLua`) for luaur-rt, the mlua-style API of luaur (pure-Rust Luau).180MIT
defaulted_deriveDerive macro for the IsDefault trait from the defaulted crate180MIT
keleusma-macrosProcedural macros for the Keleusma scripting language. Implementation detail of the keleusma crate; depend on `keleusma` rather…1800BSD
ormada-deriveProc macros for Ormada ORM - Django-like ergonomic ORM for Rust178MIT
pack-io-deriveProcedural macros for `pack-io`. Provides #[derive(Serialize, Deserialize, DeserializeView)].177Apache-2.0 OR MIT
toon-macro-deriveProcedural macros for toon-macro crate (internal implementation detail - use toon-macro with 'derive' feature instead)176MIT
rsrpc-macroProcedural macros for rsrpc - Ergonomic Rust-to-Rust RPC175MIT
parametric_deriveA derive macro to bridge complex, hierarchical data structures with optimization algorithms that use flat parameter vectors.174MIT OR Apache-2.0
tokelA declarative, pipeline-based templating engine for simplifying Rust procedural macros.171GPL-3.0-or-later
mongo-collection-macroProcedural macros for deriving the Collection trait for MongoDB collections169MIT
flodl-cli-macrosProc-macro derive for flodl-cli: #[derive(FdlArgs)] with #[option]/#[arg] attributes169MIT
pipeit-deriveDerive macros for pipe-it168MIT
germanic-macrosProc-macros for the GERMANIC schema system168MIT OR Apache-2.0
moxy-derivederive macros for moxy crate164MIT
solverforge-deriveDerive macros for SolverForge domain types163Apache-2.0
sqlx-data-macrosProcedural macros for sqlx-data - #[repo] and #[dml] derive macros with automatic SQL generation, repository pattern, data access…163MIT
enum-helper-deriveProcedural macro implementation for enum-helper163MIT OR Apache-2.0
clish-macrosProcedural macros for clish.162MIT OR Apache-2.0
resolute-deriveDerive macros for resolute (FromRow, PgEnum, PgComposite, PgDomain).161MIT OR Apache-2.0
potent-quotables-proc-macroInternal dependency of potent-quotables159MIT
potent-quotables-coreInternal dependency of potent-quotables159MIT
mini-anchor-macroProcedural macros for the mini-anchor framework158MIT
kael_derive_refineableA derive macro for creating refinement types in Rust for Kael158Apache-2.0
kael_util_macrosUtility macros for Kael158Apache-2.0
pyo3-gatedAttribute macros to expose Rust types to Python via PyO3 from a single definition - no duplicate structs or impl blocks.158MIT
katha-macrosProc-macro helpers for katha — #[derive(EventName)] and friends156MIT OR Apache-2.0
aetherdsp-ndk-macroProcedural macro for the Aether Node Development Kit — derive DSP node boilerplate with #[aether_node]156MIT
iri-rs-staticCompile-time IRI and URI literal macros for iri-rs. Validate at macro expansion and emit const expressions with pre-computed…156MIT OR Apache-2.0
enum-group-macros-implProcedural macros for enum grouping - companion crate for enum-group-macros155MIT
kizzasi-macrosProcedural macros for Kizzasi AGSP155Apache-2.0
cqs-macrosInternal proc-macros for the cqs crate. The `#[derive(CqsCommands)]` and supporting attribute macros that wire CLI command…155MIT
langfuse-macrosProc macros for the Langfuse SDK (#[observe])154MIT OR Apache-2.0
pflow-macrosProc macros for pflow token model DSL154MIT
aptos-sdk-macrosProcedural macros for type-safe Aptos contract bindings153Apache-2.0
kube-condition-deriveDerive macro for mapping errors to Kubernetes status conditions153MIT
click-deriveDerive macros for click-rs CLI library153MIT
evals-macrosProc macros for eval suites, eval definitions, and reusable graders152Apache-2.0
synkit-coreA fast, syn-like incremental parser framework for Rust150MIT
synkit-macrosA fast, syn-like incremental parser framework for Rust150MIT
ironsbe-deriveProcedural macros for IronSBE message definitions149MIT
pingora-proxy-delegateProc-macro that generates ProxyHttp delegation boilerplate for Pingora decorator patterns145MIT OR Apache-2.0
gifnoc-macrosProc-macro internals for gifnoc — use the gifnoc crate directly144MIT
densol-deriveDerive macro for densol: #[derive(Compress)]142Apache-2.0
kael-macrosMacros for Kael141Apache-2.0
marcos_coreDerive macro for parsing derive macro attributes flexibly and easily140MIT OR Apache-2.0
hdf5-no-c-deriveDerive macro for HDF5 structs and enums (pure-Rust port).140MIT OR Apache-2.0
urd-deriveDerive macros for the urd scripting language139MIT-0
vantus_macrosProc-macro support crate for the macro-first vantus web platform.138MIT
toutToken utilities for proc-macro2138Apache-2.0
horizon-lattice-macrosProcedural macros for Horizon Lattice meta-object system135MIT OR Apache-2.0
marcos_deriveDerive macro for parsing derive macro attributes flexibly and easily135MIT OR Apache-2.0
prompt-templates-macrosProc macros for build-time template validation and pre-parsing135Apache-2.0 OR MIT
tikal_macrosProcedural macros for the Tikal ORM134non-standard
getter生成get方法133MIT OR Apache-2.0
dris-macrosdris 的属性宏(#[component]/#[constructor])133MIT OR Apache-2.0
uf_ulog_macroDerive macros for uf_ulog message and registry metadata132non-standard
kumo-deriveDerive macro for the kumo web scraping framework - generates Extract impls from #[extract(...)] field annotations132MIT
cmdkit-macrosProcedural macros for cmdkit command strategy generation.132Apache-2.0
enum-helperYet another enum helper. Macros that generate common boilerplate for enums.132MIT OR Apache-2.0
kwokka-macrosprocedural macros lowering onto the kwokka facade132MIT OR Apache-2.0
gotobykkrwhofragsA procedural macro that adds C-style goto to Rust via label!() and goto!() macros.130MIT
soft_rust_runtimeRuntime support library for soft_rust macros129MIT
dbgflow-macrosProcedural macros for the dbgflow graph debugger: #[trace], #[ui_debug], and #[dbg_test].129MIT
prismqueer-projectionsProjection layer of prismqueer's algebra — proc-macros for #[derive(Prism)] and the declaration! family.129Apache-2.0
inferadb-deriveDerive macros for InferaDB SDK128Apache-2.0
evidentsource-functions-macrosProcedural macros for evidentsource-functions128MIT OR Apache-2.0
fovea-deriveDerive macros for fovea pixel and image traits127MIT
scirs2-symbolic-macrosProc-macro DSL for scirs2-symbolic pattern matching rules124Apache-2.0
rsoap-macrosProcedural macros for rsoap — SOAP client code generation from WSDL files124MIT
qqlightweight alternative quote123MIT-0
mbed-coreEmbed and transform assets into your Rust crate.120MIT
daedalus-macrosProc macros for Daedalus nodes and GPU binding helpers.119MIT OR Apache-2.0
iri-rs-enumDerive macro that maps vocabulary IRIs onto enum variants, with compile-time prefix resolution and const-friendly output.119MIT OR Apache-2.0
decycleSolve circular trait obligation118MIT
memlink-msdk-macrosProcedural macros for memlink SDK - automatic serialization, FFI exports, and panic isolation117Apache-2.0
mbed-imageEmbed and transform assets into your Rust crate.116MIT
traitclaw-macrosProc macros for the TraitClaw AI Agent Framework116MIT OR Apache-2.0
zerodds-cdr-derive#[derive(DdsType)] proc-macro for zerodds-xcdr2-rust-1.0 (TYPE_NAME + EXTENSIBILITY + IS_KEYED + encode/decode/key_hash).116Apache-2.0
omnifs-sdk-macrosProc macros for the omnifs provider SDK116MIT OR Apache-2.0
caravan-rpc-macrosProcedural macros for the Caravan RPC SDK.115Apache-2.0
shelly-macrosPlaceholder macros for future Shelly typed templates.113Unlicense OR MIT OR Apache-2.0
zerodds-flatdata-derive#[derive(FlatStruct)] proc-macro for zerodds-flatdata-1.0 (type hash + repr(C) check).113Apache-2.0
textual-macrosProc macros for the textual TUI framework (#[reactive], #[on()], #[derive(Message)], etc.)112MIT
mbed-cssEmbed and transform assets into your Rust crate.111MIT
mbed-jsEmbed and transform assets into your Rust crate.110MIT
origin-macrosProc-macros for Origin: #[derive(BoundaryKind)] and #[boundary_check]109MIT
ddd-toolkit-macroDerive macros for ddd-toolkit-core's ValueObject, EntityId, SecretVo, and EnumVo traits.108MIT OR Apache-2.0
store_by_enum_macrosProc-macros for store_by_enum (derive Axis and store generation).107MIT OR Apache-2.0
bevy_vista_macrosProcedural macros for bevy_vista widget registration and inspector metadata.107Apache-2.0
retarget_macrosProc macros for the retarget hook crate.104MIT OR Apache-2.0
bronzite🔮 Compile-time type reflection for Rust - inspect traits, fields, and methods from proc-macros with an ergonomic navigation API104MIT OR Apache-2.0
inline_csharp_macrosProc-macro implementation for inline_csharp — not intended for direct use104MIT
inline_java_macrosProc-macro implementation for inline_java — not intended for direct use104MIT
bronzite-daemon🔮 Background daemon for Bronzite compile-time reflection - caches rustc compilation for fast type queries103MIT OR Apache-2.0
ultraapi-macrosProc macros for UltraAPI103MIT
meld-macrosProcedural macros for Meld route and DTO ergonomics.102MIT
bronzite-query🔮 Rustc plugin for Bronzite compile-time reflection - extracts type information from Rust code102MIT OR Apache-2.0
flatarrowArrow schema DSL with codegen and simple wire format102MIT
vulkane_deriveDerive macros for the vulkane Vulkan bindings crate. Provides #[derive(Vertex)] for automatic vertex input layout generation.101MIT OR Apache-2.0
kurbu5-kadm5-deriveProc-macro derives for kurbu5-kadm5-rs KADM5_AUTH and KADM5_HOOK plugin interfaces101BSD-2-Clause
rustyhdf5-deriveDerive macros for rustyhdf5 HDF5 traits100MIT
basalt-deriveDerive macros for Encode/Decode/EncodedSize traits100Apache-2.0
solana-indexer-idlA procedural macro for auto-generating Solana types from Anchor IDLs99MIT OR Apache-2.0
serde-with-envProvides a way to obtain values from the environment after any serde deserialization.98MIT OR Apache-2.0
injection-macrosProc macros for the Injection dependency injection container97MIT
typed-quoteA fully typed quote!() alternative for both proc-macro and proc-macro297MIT OR Apache-2.0
goblin-sigscan-macrosProc-macros for goblin-sigscan96MIT
eko-core-deriveDerive macros for eko-core State trait95MIT
chump-tool-macroProc macro for Chump tools: derive name, description, input_schema from attributes94Apache-2.0
reiny-macrosThe #[reiny::main] proc-macro for reiny (use via the reiny crate, not directly)94MIT
oxide_generator_rsProcedural macros for Oxide stores, actions, and reducers (FRB-friendly surface generation).93MIT OR Apache-2.0