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.
wren-manifest-macroProc macro for generating Python-binding manifest types for the Wren semantic engine92Apache-2.0
pmcp-code-mode-deriveDerive macro for Code Mode validation and execution in MCP servers92MIT
fpgad_macrosProcedural macros for the FPGAd project90GPL-3.0
confval-deriveDerive macros for confval90Apache-2.0
nanostores-macrosDerive macros for nanostores.rs map stores.88MIT
maat-view-sdk-macrosProc macros for maat-view-sdk — `bundle_assets!` and friends.86MIT OR Apache-2.0
waypane-macrosProcedural macros for waypane85MIT
kasane-plugin-sdk-macrosProc macros for the Kasane WASM plugin SDK84MIT OR Apache-2.0
ailoop-deriveProcedural macros for ailoop (#[ailoop_tool], #[derive(ToolJsonType)])84MIT OR Apache-2.0
mysql-handler-macrosProcedural macros for mysql-handler engine cdylibs83GPL-2.0-only
declerrorDeclarative macros to "derive" Error.83MIT
ring-lang-codegenProc macros to generate Ring programming language extensions in Rust - zero configuration83MIT
rayrust-macrosProc macros for rayrust: #[remote] and #[actor] code generation83Apache-2.0
mbedEmbed and transform assets into your Rust crate.82MIT
portaki-sdk-macrosProc-macros for Portaki modules — compile-time manifest emissions for portaki build80Apache-2.0
ferrelex_macroProcedural macro internals for ferrelex — not intended for direct use80LGPL-3.0-only
ormkit-deriveDerive macros for ormkit - compile-time safe ORM with typed DSL, automatic relationships, and enterprise features78MIT OR Apache-2.0
grw_deriveDerive macros for the grw graph rewriting library78MIT OR Apache-2.0
astarte-test-utilsTest utilities to use in mulitple repository78Apache-2.0
rasypt-lite-deriveProcedural macro for deriving decryption handlers with field-level Jasypt support78MIT OR Apache-2.0
marcosDerive macro for parsing derive macro attributes flexibly and easily77MIT OR Apache-2.0
tt-pathUsed to handle token-tree indexes in proc-macro APIs75MIT
elo-rustRust code generation target for ELO validation language75MIT
mcp-authorization-macrosProc macros for mcp-authorization: #[derive(AuthSchema)] and #[requires] attributes74MIT
siecs_deriveDerive macros for siecs73MIT
anycms-i18n-macroProcedural macros for anycms-i18n72MIT
tree-display-deriveProcedural macro implementation for tree-display.
Derives TreeDisplay for rendering data structures as syntax-highlighted trees.72MIT
taut-rpc-macrosProcedural macros for taut-rpc. See the taut-rpc crate for usage.72MIT OR Apache-2.0
ezffi-macrosProc-macros backing the ezffi crate72MIT OR Apache-2.0
xdoc-macrosProcedural macros for xdoc72MIT OR Apache-2.0
struct-mapper-deriveProcedural macro implementation for struct-mapper — do not depend on this directly, use struct-mapper instead71MIT OR Apache-2.0
ddot-core-macrosProcedural macros for ddot-core — #[derive(Filter)] and #[derive(FilterParams)]71MIT OR Apache-2.0
agnt-macrosProc-macros for the agnt agent runtime — #[tool] attribute that generates TypedTool impls from function signatures.70MIT OR Apache-2.0
durbatWrite Rust in Black Speech from Lord of the Rings70MIT
token-goblin-runtimeRuntime support types for token-goblin generated inline procedural macros.69MIT OR Apache-2.0
rsoapA SOAP client library for Rust with compile-time code generation from WSDL files69MIT
attributeProcedural macro for tidier Rust attributes.69MIT
herosal-toschemaDerive macro to generate JSON Schema from Rust structs68Apache-2.0
resource-boundCompile-time enforcement of struct size limits and heap allocation constraints68MIT
ansiq-macrosProcedural macros for Ansiq, including the declarative view! tree builder.67MIT
lambdamux-macroProcedural macros for declaring lambdamux routes67GPL-3.0-only OR Apache-2.0
varmap_proc_macroProcedural macros for the varmap library.67MIT
reflect-deriveDerive macro for #[derive(Reflect)]66MIT OR Apache-2.0
syncbat-macrosProcedural macros for syncbat operation kits.66MIT OR Apache-2.0
lino-i18n-macrosCompile-time macros for lino-i18n. Reads .lino translation catalogues at compile time and embeds them as a static I18n instance.65Unlicense
batch-implA proc-macro library for batch generating trait impls with a powerful DSL65MIT OR Apache-2.0
cairn-macrosProc macros for the Cairn architecture graph tool.64MIT OR Apache-2.0
stand-in-client-macrosProcedural macros for stand-in MCP client framework.64MIT
const-router-macrosProcedural macros for const-router.64MIT OR Apache-2.0
const-reify-deriveProc macro: #[reifiable] for automatic const-generic dispatch63MIT OR Apache-2.0
cerulion_macrosProcedural macros for Cerulion node type definition (#[cerulion_node])63AGPL-3.0-only
tonutils-macrosProcedural macros for tonutils TL-B and contract helpers.62MIT
tideline-macrosDerive macros for tideline-core aggregates and events.62MIT
coinductionAttribute macros for defining circular type references and recursive trait implementations in Rust61MIT
rust-samp-codegenProc macros (`#[native]`, `initialize_plugin!`, `#[derive(SampPlugin)]`) for the `rust-samp` SDK. Generates the FFI boilerplate…61MIT
async-reify-macrosAttribute proc macros for async-reify (e.g. #[trace_async])60MIT OR Apache-2.0
caseidaeConvenient converters between letter casings of Rust identifiers.60AGPL-3.0-only
auto_route_macrosProcedural macros used by the auto_route Axum routing crate60MIT
hopper-deriveProc macro layer for Hopper. Generates account layouts, typed context accessors, instruction dispatchers, schema metadata, and…59Apache-2.0
caraspace_export_macrosProcedural macros for the caraspace crate (SpytialDecorators derive).58MIT OR Apache-2.0
enum-path-deriveDerive macro for the enum-path crate58MIT
dataclassesA small, pragmatic procedural macro providing a Dataclass-like derive for Rust58MIT OR Apache-2.0
letcloneA procedural macro for convenient variable cloning in Rust58Apache-2.0
enum-tree-deriveDerive macros for the enum-tree crate57MIT
enum-group-macrosDefine grouped enums with ergonomic pattern matching57MIT
crous-deriveProc-macro derive for Crous schema-bound types with stable field IDs56MIT OR Apache-2.0
wae-macrosWAE Macros - 过程宏支持,提供派生宏和属性宏55MIT
jsonforgeA Rust procedural macro for generating JSON schema validators from Rust types55Apache-2.0
derive-defs-macrosProc-macro crate for derive-defs (generated code)55MIT OR Apache-2.0
fackDeclarative error handling library with no_std support and composable code generation55GPL-3.0
struct_error_macrosProcedural macros for struct_error: #[error], #[united_error], #[throws], match_error!55MIT OR Apache-2.0
compact-option-proc-macroAttribute macro for compact-option's niche-packing optional; intended for `R` with spare bit patterns (primarily `repr(u8)` enums…55MIT
tree-displayDisplay Rust data structures as syntax-highlighted trees in the terminal with a single derive macro.
Features full color theming,…55MIT
tomii-macroProcedural macros for wrapping plugin functions for the Tomii task-graph runtime54Apache-2.0
token-metadataData structures to associate arbitrary metadata with [`proc_macro2`] tokens.54MIT
oql-macroProc-macro implementation for the `oql` crate; end users should depend on `oql` instead54MIT
pleme-codegenCode generation macros for Pleme services with Brazilian market features53MIT
swarm-abm-derive#[derive(MultiAgent)] macro for swarm-abm: heterogeneous agents without dead fields52MIT OR Apache-2.0
vertexrs-macroProcedural macros for the vertexrs incremental computation engine52Apache-2.0
excelx-deriveDerive macro for the excelx ExcelRow trait.52Apache-2.0
ferrelexWrite lexers using familiar Rust match syntax — patterns are compiled at build time52LGPL-3.0-only
reflow_pack_macroProc macro for authoring Reflow actor packs — emits the cdylib entrypoints required by reflow_pack_loader.51MIT OR Apache-2.0
hiroz-deriveDerive macros for hiroz Python bindings51Apache-2.0 OR MIT
scattered-collect-proc-macroproc-macro support for scattered-collect (link-time collections)51Apache-2.0 OR MIT
truthlinked-axiom-macroProcedural macros that support cell development on TruthLinked (events, manifests, codecs, etc.).51MIT
anodized-fmtFormatter for #[spec] annotations in Anodized51MIT OR Apache-2.0
isocline-sdk-macrosProc macros for isocline-sdk: strategy_entrypoint! generates the worker main(), #[derive(ActionLabel)] emits the saga-step label…50MIT OR Apache-2.0
spytial_export_macrosProcedural macros for the spytial crate (SpytialDecorators derive).50MIT OR Apache-2.0
struct-mapperDerive macro to auto-generate From<Source> for Target by mapping struct fields — zero boilerplate struct conversion49MIT OR Apache-2.0
vaultdb-orm-macrosProc-macro support for vaultdb-orm — generates Note impls from struct definitions49MIT
eq_ui_macrosProc macros for eq_ui — #[playground] generation and PlaygroundEnum derive49MIT OR Apache-2.0
evt-storeProc-macro to emit events to evt-store-srv from Anchor programs via CPI48AGPL-3.0-only
application-toys-macrosProcedural macros for application-toys — makes async trait methods dyn-compatible via #[asynchronous]48non-standard
dynoffsets-macrosInternal proc-macro implementation for dynoffsets. Do not depend on this crate directly — use dynoffsets, which re-exports the…48MIT
gd-init-system-macrosProcedural macros for the gd-init-system Godot Rust utility crate.48MIT
boundary-spec-macrosDerive macros for boundary-spec: generate a value object's probe surface from its structure.47MIT OR Apache-2.0
hopper-macros-procOptional proc macro layer for Hopper. Generates SegmentMap impls, typed context accessors, and instruction dispatchers from…46Apache-2.0
kube-conditionRust library for mapping errors to Kubernetes status conditions in operators46MIT
token-goblinInline procedural macros without a separate proc-macro crate.45MIT OR Apache-2.0
moju-derive-macrosProc-macro implementation for moju-derive: generates MoJuItem trait impls from #[derive(MoJu)]45Apache-2.0
args-api-deriveDerive macros for args-api.45Apache-2.0
synkitA fast, syn-like incremental parser framework for Rust44MIT
declarative-gpuiDeclarative ui! macro for building GPUI element trees with Tailwind-style tokens at zero runtime cost44MIT OR Apache-2.0
soft_rust_macroProcedural macro engine for soft_rust - Python-like ergonomics in Rust43MIT
rust-plugin-macroProcedural macros for the Dragonfly gRPC plugin SDK43MIT
rain-engine-macrosProc macros for RainEngine manifests43MIT
mynta refreshing error handling crate for proc macros43MIT OR Apache-2.0
herosal-rhai-deriveDerive macros for herosal-rhai-lib42Apache-2.0
ch-auth-macrosAuthorization attributes for authenticated Axum handlers42SUL-1.0
ring-buffer-macroA procedural macro for creating ring buffer (circular buffer) data structures at compile time41MIT
soft_macro_inputParser and input handling for soft_rust macro DSL41MIT
slopcA proc macro that calls an LLM to generate function implementations at compile time. Because why tf not.41AGPL-3.0-only
zyn-extextensions for common syn types41MIT
potent-quotablesA powerful macro for quoting Rust syntax40MIT
gritshield_macrosProcedural attribute routing macros for the GritShield secure web framework.40MIT OR Apache-2.0
brec_node_gen_macroProc-macro derives for Brec N-API conversion types.39Apache-2.0
brec_java_gen_macroProc-macro derives for Brec Java/JNI conversion types.39Apache-2.0
rewald-sdk-macrosProcedural macros for rewald-sdk: #[trigger], #[reducer]39MIT
brec_wasm_gen_macroProc-macro derives for Brec WASM conversion types.39Apache-2.0
auto-tuple-traitsAttribute macro to implement a trait for tuples38Apache-2.0/MIT
aide-autodocExtract OpenAPI summary/description from doc comments for aide and axum.38Apache-2.0
chubby_bunny_bindgenProcedural macros for chubby_bunny WebAssembly bindings. This library is part of the Chubby Bunny project.38MIT
pymetaPowerful Python-based metaprogramming for Rust38MIT OR Apache-2.0
aurora_iconifyCompile-time icon embedding from iconify.design — type-safe access to 200,000+ icons with zero runtime cost37MIT OR Apache-2.0
pg-query-mapperA high-performance zero-overhead procedural macro mapping tokio-postgres Rows using pre-computed column indices37MIT
cotyledon-macrosProcedural macros for the cotyledon sprout framework.36MIT OR Apache-2.0
typedpg_macrosProc macros for typedpg36MIT OR Apache-2.0
octarine-deriveDerive macros for octarine configuration - #[derive(Config)]36MIT OR Apache-2.0
rustdge-macrosProc macros for rustdge RPC service registration35MIT
moju-deriveProc-macro crate for annotating Rust types with reviewed MoJu model metadata35Apache-2.0
opaque-enum-macrosProc-macro implementation crate for opaque-enum34MIT OR Apache-2.0
tauri-plugin-sync-state-macrosDerive macro (#[derive(SyncState)]) for tauri-plugin-sync-state.34MIT
cyberware-modkit-canonical-errors-macroModKit canonical errors proc-macro33Apache-2.0
spark-signals-deriveDerive macro for spark-signals deep reactivity - #[derive(Reactive)]32MIT
hydroplane-macrosProc-macro `#[kernel]` attribute for hydroplane: write a SIMD/SPMD kernel as a plain generic function.32Apache-2.0
bevy_diesel_macrosDerive macros for bevy_diesel32MIT OR Apache-2.0
inode-db-deriveProc-macro companion to `inode-db`: provides `#[derive(InodeModel)]` for use with the OIM layer.31MIT OR Apache-2.0
crate_interface_liteProvides a way to define an interface (trait) in a crate, but can implement or use it in any crate.31GPL-3.0-or-later OR Apache-2.0 OR MulanPSL-2.0
tonicerrorDerive macro to convert enums into tonic::Status with per-variant gRPC code and message attributes31MIT OR Apache-2.0
llmkit-macrosProcedural macros for llmkit-rs — #[derive(ToolSchema)]31MIT OR Apache-2.0
typeswitchA powerful, Go-inspired macro for clean and declarative runtime type switching on dyn Any trait objects.30MIT OR Apache-2.0
pinocchio-idl-macrosCompile-time account validation and automated Anchor IDL generation macros for Pinocchio Solana programs.30MIT OR Apache-2.0
infrix-macrosProcedural macros for Infrix smart contracts29MIT
decodal-deriveDerive macro for generating Decodal schemas and typed decoders from Rust structs.29MIT OR Apache-2.0
auto_socket_macrosProcedural macros used by the auto_socket Socketioxide integration crate29MIT
conductor-macrosProcedural macros for Conductor Rust SDK28Apache-2.0
kwargKeyword arguments for Rust functions via proc macros28MIT
aurora_fontsCompile-time Google Fonts embedding — type-safe access to 1,600+ font families with zero runtime cost28MIT OR Apache-2.0
armature-macros-utilsUtility functions for Armature macros28Apache-2.0
tpt-appfront-macros#[component] attribute macro and the view!/rsx! templating macro for TPT AppFront.28MIT OR Apache-2.0
qail-macrosCompile-time validated QAIL query macros27MIT
unistore-macrosProcedural macros for unistore framework26MIT OR Apache-2.0
xerv-macrosProcedural macros for XERV: #[xerv::node] and #[xerv::schema] for workflow pipelines26Apache-2.0
dispatch-liteLightweight enum dispatch for trait objects — a minimal alternative to dynamic dispatch with zero-cost abstractions25MIT OR Apache-2.0
qemitA minimalist quasi-quoting library using declarative macros25MIT OR Apache-2.0
byte-engine-besl-deriveDerive macros for Byte-Engine shader language structures.25MIT
tonlib-tlb-deriveDerive macro for tonlib-core TLB types23MIT
tlapyenThe Last Program You'll Ever Need — a proc macro that calls Claude Code at compile time. Your builds now require WiFi.23MIT
iced-markupA declarative markup DSL for building Iced GUI applications in Rust23MIT
yangplaceholder22MIT
thermite-macrosProcedural codegen macros for the Thermite SIMD library (use via the thermite crate)22MIT OR Apache-2.0
opaque-enumAttribute macro for hiding enum variants behind an opaque struct wrapper21MIT OR Apache-2.0
fletch-orm-macrosProcedural macros for the Fletch ORM database toolkit21MIT
ferra-forgeThe #[model] proc-macro for the Ferra API framework — transforms Rust structs into routes, SQL, and OpenAPI schemas. Coming soon.21MIT OR Apache-2.0
krunker_packet_macrosDerive macros for describing Krunker WebSocket packets as Rust structs.21MIT
yang-base-deriveyang-base 类型化派生宏(TableEntity / Action)20MIT OR Apache-2.0
resource-model-macroProc-macro that generates CRUD structs, sqlx repositories, migrations, and an Axum REST API from a YAML spec20MIT
type_uidA procedural macro to generate stable type-based unique identifiers (fingerprints) for Rust structs, useful for serialization…20MIT
heap-bytesLightweight size calculation for Rust data structures.20MIT OR Apache-2.0
triforge-macrosTriforge proc macros — #[derive(App)] and #[derive(ValueEnum)]19MIT OR Apache-2.0
rustand-macrosProcedural macros for the rustand state management library.19MIT
astuteAST-ute: faithful AST-shape mirror for proc-macro authors — derive and attribute macro inputs without parse-time opinions19MIT OR Apache-2.0
chorale-deriveProc-macro for automatic ColumnDef generation from a #[derive(TableRow)] struct.19MIT OR Apache-2.0
ordofp_macrosDerive and procedural macros for OrdoFP (Universalis, NominataUniversalis, path!, path_type!)19Apache-2.0
abpl-macrosProcedural macro support crate for abpl's #[derive(Error)] error type generator.19AGPL-3.0-or-later
lilyco-macrosLilyco proc macros — #[derive(App)] and #[derive(ValueEnum)]18MIT OR Apache-2.0
rustf-macrosProcedural macros for RustF framework - auto-discovery of controllers and models18MIT OR Apache-2.0
comptyZig-like comptime macros in Rust18MIT
f-stringPython-like f-string formatting macros for Rust18MIT
herolib-toschemaDerive macros for JSON Schema generation and HeroScript serialization18Apache-2.0
aro-macrosProcedural macros for the Aro web framework18MIT
uf-valence-macrosvalence_schema! procedural macros for Valence17MIT
pleme-fleet-themed-derive#[derive(FleetThemed)] — mechanize ishou_tokens::FleetThemedConfig::from_fleet from #[fleet(...)] field attributes. Convergence…17MIT
ravel-macrosProcedural macros for Ravel: #[derive(Job)] and more17MIT
relon-rs-macroinclude_relon! procedural macro for AOT-compiled Relon sources17Apache-2.0
stellar-agent-mcp-macrosProc-macro crate exporting #[mcp_tool_router] and #[mcp_tool_item] for the Stellar agent wallet MCP registry.17Apache-2.0
routerama_macrosProcedural macros for the routerama crate.17MIT
net-rpc-macroprotocol! proc macro for defining typed RPC protocols for net-rpc16MIT
fastrs-macrosProc macros powering fastrs: route attribute macros and compile-time OpenAPI schema derivation for Axum.16MIT OR Apache-2.0
ref-viewDerive zero-copy reference views for structs and enums16Apache-2.0
sololc-webhook-macrosProvides procedural macro routing attributes for the Sololc Webhook SDK.16Apache-2.0
excel-api-macrosProcedural macros for excel-api15MIT OR Apache-2.0
fieldsmith-deriveDerive macro for fieldsmith: reflect a struct into a runtime schema.15MIT OR Apache-2.0
alice-lol-macroLOL (Law-Oriented Language) proc_macro — parses LOL DSL, emits SdfNode construction code15MIT OR Apache-2.0
specification-core-macrosOpt-in procedural macros for specification-core14MIT
statecraft-fsmErgonomic, compile-time validated async finite state machines for Rust14MIT
pyruts面向 Rust 工程实践的 proc_macro 工具集: Builder derive, c_wrap! FFI 包装, ensure!/bail!/throw! 错误宏, dict!/btree_dict! 容器字面量14MIT OR Apache-2.0
validatable_deriveDerive macro for the validatable crate14MIT OR Apache-2.0
repr_fitsCompile-time bit-width checks for enum discriminants.11MIT
yaml-rt-deriveDerive macros for yaml-rt typed round-trip overlays10MIT OR Apache-2.0