rustio rustio.net

Development Tools::Procedural Macro Helpers

76

quote

1.0.46 Stable

Quasi-quoting macro quote!(...)

1.3B downloads · 1mo ago
75

clap_derive

4.6.1 Stable

Parse command line argument by defining a struct, derive crate.

623.4M downloads · 3mo ago
74

syn

2.0.118 Stable

Parser for Rust source code

1.9B downloads · 1mo ago
70

derive_more

2.1.1 Growing

Adds #[derive(x)] macros for more traits

393.2M downloads · 7mo ago
69

ctor

1.0.8 Stable

Global, no_std-compatible constructors for all platforms that run before main (like C/C++ __attribute__((constructor)))

156.1M downloads · 18d ago
69

unicode-id-start

1.4.0 Stable

Determine whether characters have the ID_Start or ID_Continue properties according to Unicode Standard Annex #31

28.8M downloads · 24d ago
68

astarte-device-sdk-derive

0.14.1 Growing

Derive macros implementation used by Astarte Device SDK

73.8K downloads · 10d ago
67

proc-macro2

1.0.106 Growing

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

1.3B downloads · 6mo ago
67

bevy-inspector-egui

0.37.0 Growing

Inspector plugin for the bevy game engine

1.3M downloads · 1mo ago
67

ax-percpu

0.4.14 Experimental

Define and access per-CPU data structures

3.7K downloads · 16d ago
66

strum

0.28.0 Growing

Helpful macros for working with enums and strings

526.5M downloads · 5mo ago
66

linkme

0.3.36 Growing

Safe cross-platform linker shenanigans

25.7M downloads · 3mo ago
66

impl-tools

0.12.0 Growing

Helper macros: autoimpl

1.1M downloads · 1mo ago
66

ax-config-macros

0.4.12 Experimental

Procedural macros for converting TOML format configurations to Rust constant definitions.

2.6K downloads · 22d ago
65

multiversx-sc-derive

0.66.2 Growing

MultiversX smart contract API procedural macros

238.9K downloads · 1mo ago
65

proc-macro-crate

3.5.0 Stable

Replacement for crate (macro_rules keyword) in proc-macros

439.0M downloads · 4mo ago
65

inventory

0.3.24 Growing

Typed distributed plugin registration

103.0M downloads · 3mo ago
65

subenum

1.2.0 Stable

A proc-macro to create subsets of enums, that can be converted to and from.

4.3M downloads · 2mo ago
64

kailash-plugin-macros

4.31.0 Experimental

Proc-macros for Kailash WASM plugin development

2.0K downloads · 10d ago
64

percpu

0.4.0 Growing

Define and access per-CPU data structures

145.9K downloads · 3mo ago
64

unicode-ident

1.0.24 Growing

Determine whether characters have the XID_Start or XID_Continue properties according to Unicode Standard Annex #31

1.1B downloads · 5mo ago
64

zyn-derive

0.5.4 Experimental

Proc macros for the zyn framework

45.9K downloads · 4mo ago
64

devela_macros

0.28.0 Growing

procedural macros for devela

41.0K downloads · 1mo ago
64

zyn-core

0.5.4 Experimental

Core AST, traits, and utilities for the zyn proc macro framework

46.0K downloads · 4mo ago
63

strum_macros

0.28.0 Growing

Helpful macros for working with enums and strings

533.7M downloads · 5mo ago
63

litrs

1.0.0 Growing

Parse and inspect Rust literals (i.e. tokens in the Rust programming language representing fixed values). Particularly useful for proc macros, but can also be used outside of a proc-macro context.

119.5M downloads · 9mo ago
63

turbomcp-wasm-macros

3.1.5 Growing

Procedural macros for TurboMCP WASM servers - zero-boilerplate MCP server development

620 downloads · 2mo ago
63

zyn

0.5.4 Experimental

A proc macro framework with templates, composable elements, and built-in diagnostics

45.9K downloads · 4mo ago
63

databake

0.2.1 Growing

Trait that lets structs represent themselves as (const) Rust expressions

426.7K downloads · 3mo ago
63

adk-rust-macros

1.0.0 Experimental

Proc macros for ADK-Rust — #[tool] attribute for zero-boilerplate tool registration

9.0K downloads · 1mo ago
63

dtor

1.0.5 Stable

Global, no_std-compatible destructors for all platforms that run after main (like C/C++ __attribute__((destructor)))

34.1M downloads · 1mo ago
62

ax-crate-interface

0.5.7 Experimental

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

4.7K downloads · 2mo ago
62

crate_interface

0.3.0 Growing

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

181.1K downloads · 3mo ago
62

unsynn

0.3.0 Growing

(Proc-macro) parsing made easy

799.3K downloads · 8mo ago
62

percpu_macros

0.4.0 Growing

Macros to define and access a per-CPU data structure

146.3K downloads · 3mo ago
62

link-section

0.19.0 Experimental

Link-time initialized slices for Rust, with full support for Linux, macOS, Windows, WASM and many more platforms.

2.9M downloads · 18d ago
62

picante-macros

2.0.1 Growing

Proc macros for Picante (input, tracked, interned, and db)

1.1K downloads · 25d ago
62

gratte

2.0.0 Stable

Helpful macros for working with enums and strings; forked from strum

10.3K downloads · 4mo ago
62

zenoh-macros

1.9.0 Stable

Internal crate for zenoh.

1.9M downloads · 3mo ago
62

aristo-macros

0.5.1 Experimental

Aristo SDK proc-macros: #[aristo::intent], #[aristo::assume].

35.8K downloads · 20d ago
62

appcui_proc_macro

0.2.7 Growing

Procedural macros for the AppCUI TUI framework.

8.4K downloads · 15d ago
62

template-quote

0.5.0 Growing

A new-fashioned quote! macro implementation with pretty template-engine-like syntax

41.1K downloads · 22d ago
62

archmage-macros

0.9.27 Experimental

Proc-macros for archmage SIMD capability tokens

126.5K downloads · 1mo ago
62

rdf-derive

0.4.4 Growing

RDF.rs is a Rust framework for working with RDF knowledge graphs.

18.8K downloads · 22d ago
62

epserde-derive

0.13.0 Growing

Procedural macros for ε-serde

170.9K downloads · 13d ago
62

mem_dbg-derive

0.3.3 Growing

Procedural macros for mem_dbg

353.1K downloads · 1mo ago
62

finance-query-derive

2.8.0 Growing

Derive macros for finance-query library

471 downloads · 13d ago
61

uiautomation_derive

0.7.8 Growing

UI Automation Derive

308.2K downloads · 2mo ago
61

verus_syn

0.0.0-2026-05-31-0205 Experimental

Parser for Rust source code extended to support Verus

126.4K downloads · 1mo ago
61

open_ai_rust_fn_call_extension

0.3.0 Growing

Proc-macro toolkit for OpenAI function-calling: derive JSON-schema from Rust types, annotate functions with tool schemas, and auto-register async dispatch handlers.

22.7K downloads · 2mo ago