rustio rustio.net

Development Tools::Procedural Macro Helpers

78

clap_derive

4.6.1 Stable

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

535.1M downloads · 1mo ago
72

quote

1.0.45 Stable

Quasi-quoting macro quote!(...)

1.2B downloads · 2mo ago
71

syn

2.0.117 Stable

Parser for Rust source code

1.7B downloads · 3mo ago
71

derive_more

2.1.1 Growing

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

340.8M downloads · 5mo ago
69

proc-macro2

1.0.106 Stable

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

1.2B downloads · 4mo ago
69

linkme

0.3.36 Growing

Safe cross-platform linker shenanigans

22.7M downloads · 1mo ago
68

strum

0.28.0 Growing

Helpful macros for working with enums and strings

460.6M downloads · 3mo ago
68

ctor

1.0.6 Stable

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

134.6M downloads · 9d ago
67

inventory

0.3.24 Growing

Typed distributed plugin registration

89.9M downloads · 1mo ago
67

multiversx-sc-derive

0.66.0 Growing

MultiversX smart contract API procedural macros

231.8K downloads · 5d ago
66

percpu

0.4.0 Growing

Define and access per-CPU data structures

133.8K downloads · 1mo ago
66

unicode-ident

1.0.24 Stable

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

972.2M downloads · 3mo ago
66

proc-macro-crate

3.5.0 Stable

Replacement for crate (macro_rules keyword) in proc-macros

382.4M downloads · 2mo ago
66

subenum

1.2.0 Stable

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

4.0M downloads · 29d ago
65

astarte-device-sdk-derive

0.13.0 Growing

Derive macros implementation used by Astarte Device SDK

72.2K downloads · 1mo ago
65

strum_macros

0.28.0 Growing

Helpful macros for working with enums and strings

468.0M downloads · 3mo ago
65

turbomcp-wasm-macros

3.1.5 Experimental

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

540 downloads · 6d ago
65

gratte

2.0.0 Stable

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

9.2K downloads · 2mo ago
65

verus_syn

0.0.0-2026-05-24-0157 Experimental

Parser for Rust source code extended to support Verus

67.3K downloads · 2d ago
65

databake

0.2.1 Growing

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

357.4K downloads · 1mo ago
64

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.

165.5K downloads · 1mo ago
64

percpu_macros

0.4.0 Growing

Macros to define and access a per-CPU data structure

134.2K downloads · 1mo ago
64

dtor

1.0.3 Stable

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

24.3M downloads · 9d ago
63

unsynn

0.3.0 Growing

(Proc-macro) parsing made easy

494.6K downloads · 6mo 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.

95.7M downloads · 7mo ago
63

uiautomation_derive

0.7.8 Growing

UI Automation Derive

228.8K downloads · 21d ago
63

zenoh-macros

1.9.0 Stable

Internal crate for zenoh.

1.5M downloads · 1mo ago
63

devela_macros

0.27.0 Growing

procedural macros for devela

40.6K downloads · 1mo ago
63

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.6K downloads · 9d ago
62

axvisor_api_proc

0.5.7 Experimental

Procedural macros for the `axvisor_api` crate

7.1K downloads · 17d ago
62

moosicbox_env_utils

0.3.0 Growing

MoosicBox env utilities package

17.7K downloads · 5d ago
62

archmage-macros

0.9.23 Experimental

Proc-macros for archmage SIMD capability tokens

66.0K downloads · 29d ago
62

template-quote

0.4.4 Growing

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

34.8K downloads · 9d ago
61

easy-macros

1.1.3 Growing

Toolkit for building Rust procedural macros + generating debug info

739 downloads · 2mo ago
61

unicode-id-start

1.4.0 Growing

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

25.6M downloads · 8mo ago
61

cyclonedds-derive

1.8.0 Experimental

Proc-macro derive for cyclonedds-rust DdsType trait

187 downloads · 23d ago
61

gratte_macros

2.0.0 Stable

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

10.8K downloads · 2mo ago
61

lambda-appsync-proc

0.10.0 Growing

Procedural macros for the lambda-appsync type-safe AWS AppSync resolver framework

7.5K downloads · 1mo ago
61

oxifft-codegen

0.3.2 Experimental

Procedural macro crate for OxiFFT codelet generation

6.6K downloads · 4d ago
61

finance-query-derive

2.6.0 Experimental

Derive macros for finance-query library

273 downloads · 3d ago
60

multiversed

0.3.1 Experimental

Attribute macros wrapping multiversion with predefined SIMD target presets

4.5K downloads · 3mo ago
60

picante-macros

2.0.0 Experimental

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

289 downloads · 7d ago
60

bevy-inspector-egui

0.36.0 Growing

Inspector plugin for the bevy game engine

1.2M downloads · 4mo ago
60

appcui_proc_macro

0.2.6 Experimental

Procedural macros for the AppCUI TUI framework.

7.9K downloads · 21d ago
60

ringkernel-derive

1.1.0 Experimental

Procedural macros for RingKernel GPU-native actor system

2.1K downloads · 1mo ago
60

rdf-derive

0.3.0 Growing

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

6.9K downloads · today
60

nameth

0.2.4 Growing

A simple macro to generate a static &str representing the name of a function, a struct or an enum

15.2K downloads · today
59

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.

1.6K downloads · 17d ago
59

fastapi-macros

0.3.0 Experimental

Procedural macros for fastapi_rust

6.0K downloads · 1mo ago
59

safe-proc-macro2

1.0.95 Growing

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

1.7M downloads · 11mo ago