rustio rustio.net

Development Tools::Procedural Macro Helpers

78

clap_derive

4.6.7 Stable

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

820.9M downloads · 2mo ago
75

syn

3.0.6 Stable

Parser for Rust source code

2.6B downloads · 2mo ago
72

quote

1.0.47 Stable

Quasi-quoting macro quote!(...)

1.7B downloads · 4mo ago
70

unicode-id-start

1.5.0 Stable

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

38.5M downloads · 2mo ago
70

rullst-orm-macros

12.3.0 Experimental

Procedural macros and derive attributes for the rullst-orm Active Record pattern.

5.9K downloads · 1mo ago
70

aristo-macros

0.8.3 Experimental

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

952.8K downloads · 2mo ago
70

proc-macro2

1.0.107 Stable

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

1.7B downloads · 4mo ago
70

unicode-ident

1.0.26 Stable

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

1.5B downloads · 2mo ago
70

inventory

0.3.25 Growing

Typed distributed plugin registration

139.6M downloads · 1mo ago
68

derive_more

2.1.1 Growing

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

521.4M downloads · 11mo ago
68

gratte

3.0.1 Stable

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

12.5K downloads · 2mo ago
68

astarte-device-sdk-derive

0.15.1 Growing

Derive macros implementation used by Astarte Device SDK

77.2K downloads · 2mo ago
67

manyhow

0.14.0 Growing

proc macro error handling à la anyhow x proc-macro-error

20.1M downloads · 1mo ago
67

linkme

0.3.37 Growing

Safe cross-platform linker shenanigans

34.9M downloads · 4mo ago
67

evento-macro

1.8.0 Stable

Procedural macros for the evento event sourcing toolkit.

20.8K downloads · 1mo ago
66

rullst-macros

12.3.0 Experimental

Procedural and JSX-like compilation macros for the Rullst framework

5.1K downloads · 1mo ago
66

ctor

1.0.13 Stable

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

213.3M downloads · 3mo ago
66

zenoh-macros

1.10.1 Stable

Internal crate for zenoh.

3.4M downloads · 2mo ago
66

enum_traits_macros

6.1.0 Stable

Procedural macros adding functionality to enums. Derives traits from the crate `enum_traits`

16.9K downloads · 1mo ago
66

archmage-macros

0.9.30 Experimental

Proc-macros for archmage SIMD capability tokens

355.7K downloads · 1mo ago
65

verus_syn

0.0.0-2026-09-06-0133 Growing

Parser for Rust source code extended to support Verus

449.2K downloads · 2mo ago
65

contracts

0.6.11 Growing

Design-by-contract attributes

1.7M downloads · 1mo ago
65

ax-percpu

0.4.24 Experimental

Define and access per-CPU data structures

6.5K downloads · 1mo ago
65

hadris-macros

2.5.0 Growing

Proc macros for dual sync/async code generation in Hadris

25.1K downloads · 1mo ago
65

macroific

3.1.0 Stable

Proc macro development utilities

4.5M downloads · 2mo ago
64

strum

0.28.0 Growing

Helpful macros for working with enums and strings

679.1M downloads · 9mo ago
64

manyhow-macros

0.14.0 Growing

Macro for manyhow

20.0M downloads · 1mo ago
64

attribute-derive

0.11.0 Growing

Clap like parsing for attributes in proc-macros

35.2M downloads · 2mo ago
64

gratte_macros

3.0.1 Stable

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

14.2K downloads · 2mo ago
64

rdf-derive

0.5.0 Growing

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

82.5K downloads · 1mo ago
64

devela_macros

0.29.0 Growing

procedural macros for devela

41.6K downloads · 2mo ago
64

turbomcp-wasm-macros

3.6.0 Growing

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

768 downloads · 1mo ago
63

vyre-macros

0.7.2 Experimental

Procedural macros for vyre compiler passes - #[vyre_pass], #[vyre_ast_registry]

68.5K downloads · 3mo ago
63

impl-tools

0.13.0 Growing

Helper macros: autoimpl

1.5M downloads · 4mo ago
63

finance-query-derive

3.2.0 Growing

Derive macros for finance-query library

779 downloads · 1mo ago
63

proc-macro-error3

3.1.1 Experimental

Almost drop-in replacement to panics in proc-macros

8.0M downloads · 2mo ago
63

ax-crate-interface

0.5.8 Experimental

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

29.6K downloads · 3mo ago
63

dtor

1.0.6 Stable

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

61.3M downloads · 3mo ago
63

lambda-appsync-proc

0.11.0 Growing

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

9.0K downloads · 1mo ago
63

cyclonedds-derive

3.0.1 Experimental

Unofficial proc-macro derive for cyclonedds-rust DdsType trait

36.6K downloads · 3mo ago
63

uiautomation_derive

0.7.9 Growing

UI Automation Derive

714.6K downloads · 2mo ago
63

rust-samp-codegen

1.6.0 Experimental

Proc macros (`#[native]`, `initialize_plugin!`, `#[derive(SampPlugin)]`) for the `rust-samp` SDK. Generates the FFI boilerplate that turns Rust methods into Pawn-callable natives and the entry points required by SA-MP and open.mp.

540 downloads · 1mo ago
63

pmcp-macros

0.6.2 Growing

Procedural macros for PMCP SDK - Model Context Protocol

2.5K downloads · 1mo ago
62

actify-macros

0.6.0 Growing

Actify's procedural macros

62.9K downloads · 2mo ago
62

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.

178.8M downloads · 1y ago
62

pack-io-derive

1.0.1 Experimental

Procedural macros for `pack-io`. Provides #[derive(Serialize, Deserialize, DeserializeView)].

302 downloads · 5mo ago
62

zyn-derive

0.5.4 Experimental

Proc macros for the zyn framework

119.9K downloads · 8mo ago
62

zyn-core

0.5.4 Experimental

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

120.0K downloads · 8mo ago
62

bevy-inspector-egui

0.37.0 Growing

Inspector plugin for the bevy game engine

1.5M downloads · 5mo ago
62

proc-macro-crate

3.5.0 Growing

Replacement for crate (macro_rules keyword) in proc-macros

576.0M downloads · 8mo ago