GitHub topics: proc-macro
dtolnay/quote
Rust quasi-quoting
Language: Rust - Size: 889 KB - Last synced at: about 16 hours ago - Pushed at: 17 days ago - Stars: 1,423 - Forks: 98

taiki-e/futures-async-stream
Async stream for Rust and the futures crate.
Language: Rust - Size: 738 KB - Last synced at: 3 days ago - Pushed at: 3 days ago - Stars: 183 - Forks: 8

eugene-babichenko/rust-fsm
Finite state machine framework for Rust with readable specifications
Language: Rust - Size: 229 KB - Last synced at: 4 days ago - Pushed at: 12 months ago - Stars: 209 - Forks: 22

taiki-e/pin-project
A crate for safe and ergonomic pin-projection.
Language: Rust - Size: 2.44 MB - Last synced at: 4 days ago - Pushed at: 3 months ago - Stars: 660 - Forks: 36

dtolnay/syn
Parser for Rust source code
Language: Rust - Size: 10.9 MB - Last synced at: 5 days ago - Pushed at: 6 days ago - Stars: 3,086 - Forks: 324

durbanlegend/thag_rs
A versatile cross-platform script runner, REPL and more for Rust expressions, snippets, and programs. Now with support (and a starter kit) for proc macro development
Language: Rust - Size: 18.2 MB - Last synced at: about 6 hours ago - Pushed at: about 7 hours ago - Stars: 6 - Forks: 2

Jij-Inc/pyo3-stub-gen
Stub file (*.pyi) generator for PyO3
Language: Rust - Size: 419 KB - Last synced at: 8 days ago - Pushed at: 8 days ago - Stars: 106 - Forks: 31

rs-tml/rstml Fork of stoically/syn-rsx
Rust+html (JSX-like) parser for TokenStreams aka rsx
Language: Rust - Size: 923 KB - Last synced at: about 4 hours ago - Pushed at: 3 months ago - Stars: 110 - Forks: 11

blueglyph/trait_gen
Trait implementation generator macro
Language: Rust - Size: 261 KB - Last synced at: 7 days ago - Pushed at: 8 days ago - Stars: 29 - Forks: 2

primait/veil
Rust derive macro for redacting sensitive data in std::fmt::Debug
Language: Rust - Size: 192 KB - Last synced at: 9 days ago - Pushed at: 9 days ago - Stars: 23 - Forks: 3

BonnyAD9/place_macro
Rust macros you wish you had while you were writing your non-proc macro.
Language: Rust - Size: 61.5 KB - Last synced at: 2 days ago - Pushed at: over 1 year ago - Stars: 2 - Forks: 0

ohsayan/derived
Rust derive macros for automating the boring stuff.
Language: Rust - Size: 124 KB - Last synced at: 6 days ago - Pushed at: over 3 years ago - Stars: 11 - Forks: 0

udoprog/genco
A whitespace-aware quasiquoter for beautiful code generation.
Language: Rust - Size: 717 KB - Last synced at: 10 days ago - Pushed at: about 1 month ago - Stars: 193 - Forks: 13

sigp/superstruct
Rust library for versioned data types
Language: Rust - Size: 28.6 MB - Last synced at: about 9 hours ago - Pushed at: about 2 months ago - Stars: 68 - Forks: 6

ct-austin/ifmt
Inline expression interpolation for Rust.
Language: Rust - Size: 33.2 KB - Last synced at: 4 days ago - Pushed at: almost 2 years ago - Stars: 201 - Forks: 4

holmofy/reqwest-scraper
web scraping integration with reqwest
Language: Rust - Size: 148 KB - Last synced at: 11 days ago - Pushed at: 11 days ago - Stars: 6 - Forks: 3

fMeow/maybe-async-rs
A procedure macro to unify SYNC and ASYNC implementation for downstream application/crates
Language: Rust - Size: 127 KB - Last synced at: 6 days ago - Pushed at: over 1 year ago - Stars: 155 - Forks: 18

TedDriggs/darling
A Rust proc-macro attribute parser
Language: Rust - Size: 651 KB - Last synced at: 5 days ago - Pushed at: 19 days ago - Stars: 1,121 - Forks: 73

TGRCdev/bevy-butler
Self-documenting systems and simpler plugins in Bevy
Language: Rust - Size: 425 KB - Last synced at: 13 days ago - Pushed at: 23 days ago - Stars: 40 - Forks: 2

maia-s/proclet ๐ฆ
Moved to https://codeberg.org/maia/proclet-rs
Language: Rust - Size: 236 KB - Last synced at: 14 days ago - Pushed at: 14 days ago - Stars: 0 - Forks: 0

Szymon-Czuszek/SAS-Data-Science
Repository holding SAS code, starting from the very basics.
Language: SAS - Size: 2.77 MB - Last synced at: 14 days ago - Pushed at: 14 days ago - Stars: 0 - Forks: 0

taiki-e/easy-ext
A lightweight attribute macro for easily writing extension trait pattern.
Language: Rust - Size: 557 KB - Last synced at: 15 days ago - Pushed at: 3 months ago - Stars: 71 - Forks: 2

gregorygaines/bitfields-rs
Rust macro for generating flexible bitfields, useful for low-level code (embedded or emulators).
Language: Rust - Size: 170 KB - Last synced at: 7 days ago - Pushed at: about 1 month ago - Stars: 42 - Forks: 1

kelpsyberry/proc-bitfield
A Rust crate to expressively declare bitfield-like structs
Language: Rust - Size: 195 KB - Last synced at: 16 days ago - Pushed at: 16 days ago - Stars: 49 - Forks: 3

dekirisu/mevy
Magical Bevy Macros: Simplified bevy_ui & bevy_ecs Syntax!
Language: Rust - Size: 181 KB - Last synced at: 15 days ago - Pushed at: about 1 month ago - Stars: 93 - Forks: 1

taiki-e/auto_enums
A library for to allow multiple return types by automatically generated enum.
Language: Rust - Size: 1.16 MB - Last synced at: 18 days ago - Pushed at: 3 months ago - Stars: 367 - Forks: 14

arcane-rs/synthez
Steroids for `syn`, `quote` and `proc-macro2` crates.
Language: Rust - Size: 198 KB - Last synced at: 23 days ago - Pushed at: 23 days ago - Stars: 3 - Forks: 1

sam0x17/macro_magic
A collection of Rust proc macros that allow the exporting and importing of TokenStream2s of items in foreign contexts and files
Language: Rust - Size: 353 KB - Last synced at: 19 days ago - Pushed at: 4 months ago - Stars: 52 - Forks: 4

bastion-rs/fort
Proc macro attributes for Bastion runtime.
Language: Rust - Size: 37.1 KB - Last synced at: 6 days ago - Pushed at: over 3 years ago - Stars: 50 - Forks: 4

tonywu6/ferrosaur
๐ฆ๐ฒ๐ฆ
Language: Rust - Size: 573 KB - Last synced at: 6 days ago - Pushed at: 28 days ago - Stars: 0 - Forks: 0

AlephCubed/immediate_stats
Game stats that reset every frame, inspired by immediate mode rendering.
Language: Rust - Size: 116 KB - Last synced at: 4 days ago - Pushed at: about 1 month ago - Stars: 5 - Forks: 0

dima324sdf/Quotely
๐ฌ A clean and modern extension that displays inspirational quotes in the side panel. Includes bookmarking, custom quotes, dark mode and more.
Language: JavaScript - Size: 145 KB - Last synced at: about 1 month ago - Pushed at: about 1 month ago - Stars: 0 - Forks: 0

azriel91/enum_variant_type
Proc macro derive to generate structs from enum variants.
Language: Rust - Size: 45.9 KB - Last synced at: 20 days ago - Pushed at: almost 2 years ago - Stars: 29 - Forks: 1

0x61nas/todo2
todo2(a.k.a. todo or die) - A better todo! macro inspired from searls/todo_or_die
Language: Rust - Size: 227 KB - Last synced at: about 1 month ago - Pushed at: about 1 month ago - Stars: 11 - Forks: 3

parker-codes/todo_by
Compile-time lifetimes for comments.
Language: Rust - Size: 33.2 KB - Last synced at: 7 days ago - Pushed at: about 1 year ago - Stars: 118 - Forks: 4

sokomishalov/lombok-rs
Lombok port for Rust
Language: Rust - Size: 50.8 KB - Last synced at: 21 days ago - Pushed at: almost 2 years ago - Stars: 47 - Forks: 2

dtolnay/proc-macro-hack ๐ฆ
Procedural macros in expression position
Language: Rust - Size: 340 KB - Last synced at: 7 days ago - Pushed at: over 2 years ago - Stars: 203 - Forks: 15

vrmiguel/negate
Attribute macro that generates negated versions of`is_something` functions
Language: Rust - Size: 29.3 KB - Last synced at: 25 days ago - Pushed at: almost 4 years ago - Stars: 11 - Forks: 0

DvvCz/constime
Zig's comptime for Rust, with zero dependencies.
Language: Rust - Size: 14.6 KB - Last synced at: 16 days ago - Pushed at: 5 months ago - Stars: 17 - Forks: 0

acovaci/expand-array-rust-macro
Arrr! macro for easy fixed-size array creation from slices and strings. Fill gaps with any value or zero.
Language: Rust - Size: 43.9 KB - Last synced at: 17 days ago - Pushed at: about 1 year ago - Stars: 2 - Forks: 0

taiki-e/derive_utils
A procedural macro helper for easily writing custom derives for enums.
Language: Rust - Size: 494 KB - Last synced at: 15 days ago - Pushed at: 3 months ago - Stars: 32 - Forks: 3

taiki-e/futures-enum
#[derive(Future, Stream, Sink, AsyncRead, AsyncWrite, AsyncSeek, AsyncBufRead)] for enums.
Language: Rust - Size: 340 KB - Last synced at: 19 days ago - Pushed at: 3 months ago - Stars: 17 - Forks: 0

4lDO2/real-async-trait-rs
A proc macro for real async traits, using nightly-only existential types and generic associated types to work around the need for type erasure
Language: Rust - Size: 64.5 KB - Last synced at: 29 days ago - Pushed at: almost 3 years ago - Stars: 45 - Forks: 3

flip-ui/flip-ui-rs
Rust integration for handling and compiling the UI built via the Website
Language: Rust - Size: 33.2 KB - Last synced at: 1 day ago - Pushed at: 11 months ago - Stars: 8 - Forks: 0

andogq/assert_layout
Assert struct layouts, including field sizes and offsets.
Language: Rust - Size: 16.6 KB - Last synced at: 21 days ago - Pushed at: 2 months ago - Stars: 0 - Forks: 1

elichai/log-derive
A procedural macro for auto logging output of functions
Language: Rust - Size: 89.8 KB - Last synced at: 15 days ago - Pushed at: over 3 years ago - Stars: 192 - Forks: 12

remkop22/postgres-from-row
Derive `FromRow` trait to automaticly convert postgres rows to structs.
Language: Rust - Size: 43 KB - Last synced at: 25 days ago - Pushed at: over 1 year ago - Stars: 13 - Forks: 7

tench-rt/tentacli
Tentacli is a headless (like a tentacle) multipurpose console client for World of Warcraft server.
Language: Rust - Size: 618 KB - Last synced at: 2 months ago - Pushed at: 3 months ago - Stars: 63 - Forks: 4

PRO-2684/macro_rules_attr
Use declarative macros as proc_macro attributes. (`#[apply]` your `macro_rules!`)
Language: Rust - Size: 2.93 KB - Last synced at: 2 months ago - Pushed at: 2 months ago - Stars: 0 - Forks: 0

ink-feather-org/cargo-manifest-proc-macros-rs
Find the syn::Path to your own crate from proc-macros reliably.
Language: Rust - Size: 181 KB - Last synced at: 15 days ago - Pushed at: 3 months ago - Stars: 1 - Forks: 0

azriel91/proc_macro_roids
Traits and functions to make writing proc macros more ergonomic.
Language: Rust - Size: 142 KB - Last synced at: 25 days ago - Pushed at: almost 2 years ago - Stars: 22 - Forks: 0

hexedtech/jni-toolbox
easily write JNI extern functions with native Rust types
Language: Rust - Size: 98.6 KB - Last synced at: 25 days ago - Pushed at: 8 months ago - Stars: 3 - Forks: 0

taiki-e/syn-serde
Library to serialize and deserialize Syn syntax trees.
Language: Rust - Size: 4.94 MB - Last synced at: 21 days ago - Pushed at: 3 months ago - Stars: 25 - Forks: 4

taiki-e/syn-mid
Providing the features between "full" and "derive" of syn.
Language: Rust - Size: 383 KB - Last synced at: about 1 month ago - Pushed at: 3 months ago - Stars: 7 - Forks: 4

taiki-e/negative-impl
Negative trait implementations on stable Rust.
Language: Rust - Size: 236 KB - Last synced at: 9 days ago - Pushed at: 3 months ago - Stars: 12 - Forks: 0

taiki-e/iter-enum
#[derive(Iterator, DoubleEndedIterator, ExactSizeIterator, FusedIterator, Extend)] for enums.
Language: Rust - Size: 360 KB - Last synced at: 4 days ago - Pushed at: 3 months ago - Stars: 14 - Forks: 1

taiki-e/io-enum
#[derive(Read, Write, Seek, BufRead)] for enums.
Language: Rust - Size: 314 KB - Last synced at: 8 days ago - Pushed at: 3 months ago - Stars: 8 - Forks: 0

taiki-e/const_fn
A lightweight attribute for easy generation of const functions with conditional compilations.
Language: Rust - Size: 383 KB - Last synced at: 3 days ago - Pushed at: 3 months ago - Stars: 27 - Forks: 2

fuzzypixelz/absolut
Autogenerated Bytewise SIMD-Optimized Look-Up Tables
Language: Rust - Size: 71.3 KB - Last synced at: 23 days ago - Pushed at: about 1 year ago - Stars: 34 - Forks: 1

vi/syn-file-expand
Rust library to scan files and expand (make modules inline) multi-file crates source code as a single tree.
Language: Rust - Size: 104 KB - Last synced at: 24 days ago - Pushed at: over 1 year ago - Stars: 17 - Forks: 2

TedDriggs/field_names
proc-macro for accessing struct field names at runtime
Language: Rust - Size: 11.7 KB - Last synced at: 3 days ago - Pushed at: over 3 years ago - Stars: 38 - Forks: 3

Chara-X/rest
Generate openapi client and docs from proc-macro
Language: Rust - Size: 24.4 KB - Last synced at: 3 months ago - Pushed at: 3 months ago - Stars: 0 - Forks: 0

dekirisu/buns
Create simple code templates - basically macro_rules lite
Language: Rust - Size: 12.7 KB - Last synced at: 27 days ago - Pushed at: 5 months ago - Stars: 6 - Forks: 0

LukasKalbertodt/litrs
Parsing and inspecting Rust literals (particularly useful for proc macros)
Language: Rust - Size: 187 KB - Last synced at: 19 days ago - Pushed at: over 1 year ago - Stars: 43 - Forks: 5

jeremydavis519/runtime-macros
Simulate expansion of procedural macros at run time
Language: Rust - Size: 89.8 KB - Last synced at: 21 days ago - Pushed at: 3 months ago - Stars: 6 - Forks: 3

AlphaModder/include-lua
include-lua is a crate that allows the embedding of a lua source tree into a Rust application binary.
Language: Rust - Size: 12.7 KB - Last synced at: 24 days ago - Pushed at: about 6 years ago - Stars: 6 - Forks: 2

cpg314/skip-if
Rust attribute macro to skip running a function that produces files
Language: Rust - Size: 13.7 KB - Last synced at: 21 days ago - Pushed at: 3 months ago - Stars: 0 - Forks: 1

sam0x17/docify
Allows for dynamic compile-time embedding of existing tests and examples in your Rust doc comments and markdown files
Language: Rust - Size: 270 KB - Last synced at: 15 days ago - Pushed at: 4 months ago - Stars: 26 - Forks: 3

anotherhollow1125/dncl_trans
DNCL (ๅคงๅญฆๅ ฅ่ฉฆใปใณใฟใผ่จ่ช, Daigaku Nyushi Center Language) ใRustใซใใฉใณในใใคใซใใใใฏใญ
Language: Rust - Size: 59.6 KB - Last synced at: 14 days ago - Pushed at: 4 months ago - Stars: 8 - Forks: 0

1Git2Clone/proc-macro-example
A short getting started on derive macros guide in Rust.
Language: Rust - Size: 532 KB - Last synced at: 3 months ago - Pushed at: 4 months ago - Stars: 0 - Forks: 0

SOF3/portrait
Trait-agnostic derive macros
Language: Rust - Size: 88.9 KB - Last synced at: 19 days ago - Pushed at: 4 months ago - Stars: 27 - Forks: 1

WilliamVenner/inline-rust
A cursed macro that compiles and executes Rust and spits the output directly into your Rust code
Language: Rust - Size: 8.79 KB - Last synced at: about 1 month ago - Pushed at: over 2 years ago - Stars: 30 - Forks: 0

Systemcluster/staticfilemap
Procedural macro to embed files during compilation with optional compression
Language: Rust - Size: 39.1 KB - Last synced at: 2 days ago - Pushed at: 8 months ago - Stars: 11 - Forks: 1

nwrenger/gluer
A wrapper for Rust frameworks that eliminates redundant type and function definitions between the frontend and backend
Language: Rust - Size: 178 KB - Last synced at: 1 day ago - Pushed at: 4 months ago - Stars: 3 - Forks: 0

anotherhollow1125/hey_chat_gpt
take_care_of_the_rest / ใใจใฏไปปใใ proc-macro of Rust
Language: Rust - Size: 97.7 KB - Last synced at: 25 days ago - Pushed at: 5 months ago - Stars: 24 - Forks: 0

SeedyROM/enum-display
Macro for implementing std::fmt::Display on enum variants. Over 500K crates.io downloads!
Language: Rust - Size: 25.4 KB - Last synced at: 29 days ago - Pushed at: over 1 year ago - Stars: 8 - Forks: 1

outfoxxed/dyntable
Idiomatic and FFI Safe dyn traits in Rust
Language: Rust - Size: 312 KB - Last synced at: 2 months ago - Pushed at: about 2 years ago - Stars: 18 - Forks: 0

abdullah-albanna/schema2struct
Convert a JSON schema into Rust structs for efficient and type-safe data management.
Language: Rust - Size: 41 KB - Last synced at: 10 days ago - Pushed at: 5 months ago - Stars: 0 - Forks: 0

duskmoon314/utility-rs
Try impl TypeScript's utility types in rust via proc_macro
Language: Rust - Size: 32.2 KB - Last synced at: 9 days ago - Pushed at: 10 months ago - Stars: 25 - Forks: 1

eigenein/kv-derive
Derive struct conversions from and to key-value vectors
Language: Rust - Size: 89.8 KB - Last synced at: 9 days ago - Pushed at: over 2 years ago - Stars: 4 - Forks: 1

mrshiposha/fortuples
Procedural macros to generalize inherent and trait implementations over tuples
Language: Rust - Size: 112 KB - Last synced at: 9 days ago - Pushed at: over 1 year ago - Stars: 4 - Forks: 1

wcampbell0x2a/bintex
Create bytefield latex digrams with the use of rust proc-macros and deku
Language: Rust - Size: 89.8 KB - Last synced at: about 2 months ago - Pushed at: 5 months ago - Stars: 5 - Forks: 1

eupn/rust-procmacro-quickstart-template
A `cargo generate` template for quick-starting a procedural macro crate
Language: Rust - Size: 13.7 KB - Last synced at: 5 days ago - Pushed at: over 5 years ago - Stars: 15 - Forks: 3

Archisman-Mridha/crust-of-rust
Walking through the Crust of Rust Youtube playlist by Jon Gjengset to level up my Rust skills.
Language: Rust - Size: 68.4 KB - Last synced at: 3 months ago - Pushed at: 5 months ago - Stars: 1 - Forks: 0

ink-feather-org/tracing-proc-macros-ink-rs
Provides a working tracing integration for logging from within procedural macros.
Language: Rust - Size: 56.6 KB - Last synced at: 17 days ago - Pushed at: 6 months ago - Stars: 0 - Forks: 0

lu-zero/simd_helpers
helper proc macros to reduce the boilerplate need to write simd code in rust
Language: Rust - Size: 1.95 KB - Last synced at: 4 days ago - Pushed at: over 5 years ago - Stars: 0 - Forks: 1

Goncalerta/proc-quote
A procedural macro implementation of `quote!`.
Language: Rust - Size: 78.1 KB - Last synced at: 1 day ago - Pushed at: about 2 years ago - Stars: 24 - Forks: 2

DOCtorActoAntohich/type-name
Extract type names as strings. Automagically.
Language: Rust - Size: 3.91 KB - Last synced at: 2 months ago - Pushed at: 6 months ago - Stars: 0 - Forks: 0

Inky-developer/regex-parse
A simple macro to parse input with a regular expression
Language: Rust - Size: 28.3 KB - Last synced at: 6 months ago - Pushed at: 6 months ago - Stars: 0 - Forks: 0

Davoodeh/thread
Clojure's Thread Macros in Rust
Language: Rust - Size: 7.81 KB - Last synced at: 2 months ago - Pushed at: 6 months ago - Stars: 0 - Forks: 0

ardaku/traitful
A collection of helper attribute macros for trait patterns
Language: Rust - Size: 61.5 KB - Last synced at: about 2 months ago - Pushed at: 6 months ago - Stars: 1 - Forks: 0

WilliamVenner/null_fn
โจ A proc attribute macro that allows for creating null function pointers in statics
Language: Rust - Size: 4.88 KB - Last synced at: about 1 month ago - Pushed at: over 3 years ago - Stars: 2 - Forks: 0

cdown/filestruct
Derive macro to read from a directory into a Rust struct.
Language: Rust - Size: 35.2 KB - Last synced at: 3 days ago - Pushed at: 7 months ago - Stars: 2 - Forks: 1

Jedsek/curried
currying function to be used in normal && generic && map case, with procedural macro
Language: Rust - Size: 9.77 KB - Last synced at: 27 days ago - Pushed at: about 1 year ago - Stars: 3 - Forks: 0

nyarthan/dedent
A Rust procedural macro for stripping whitespace from multi-line string literals while preserving relative indentation.
Language: Rust - Size: 10.7 KB - Last synced at: 6 days ago - Pushed at: 7 months ago - Stars: 0 - Forks: 0

viktorlott/penum
penum is a procedural macro that is used to make an enum follow a given pattern, which can include generics and trait bounds.
Language: Rust - Size: 963 KB - Last synced at: 10 days ago - Pushed at: 7 months ago - Stars: 5 - Forks: 0

ratnaraj7/origami-engine
A templating engine for Rust focused on modularity using reusable components.
Language: Rust - Size: 221 KB - Last synced at: 26 days ago - Pushed at: 8 months ago - Stars: 1 - Forks: 0

ianbrault/case_iterable
Rust procedural macro to iterate over enum variants, ala Swift's CaseIterable
Language: Rust - Size: 22.5 KB - Last synced at: 24 days ago - Pushed at: 8 months ago - Stars: 0 - Forks: 0

Antikyth/cfg_attrs
An alternative to `#[cfg_attr(...)]` that is easier to use with doc comments.
Language: Rust - Size: 30.3 KB - Last synced at: about 1 month ago - Pushed at: over 1 year ago - Stars: 2 - Forks: 0

lukaslueg/restruct ๐ฆ
Simple parsers for binary data in Rust
Language: Rust - Size: 53.7 KB - Last synced at: about 1 month ago - Pushed at: over 3 years ago - Stars: 12 - Forks: 1
