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

dtolnay/quote
Rust quasi-quoting
Language: Rust - Size: 889 KB - Last synced at: 1 day ago - Pushed at: 17 days ago - Stars: 1,423 - Forks: 98

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

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

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

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

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

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

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

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

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

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

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

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 16 hours ago - Pushed at: 3 months ago - Stars: 110 - Forks: 11

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

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/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

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

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

hobofan/reacty_yew
Generate Yew components from React components via Typescript type definitions
Language: JavaScript - Size: 1.79 MB - Last synced at: 5 days ago - Pushed at: over 4 years ago - Stars: 54 - 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: 20 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: 7 days ago - Pushed at: over 3 years ago - Stars: 50 - Forks: 4

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: 17 days ago - Stars: 49 - Forks: 3

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

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: 30 days ago - Pushed at: almost 3 years ago - Stars: 45 - Forks: 3

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

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: 8 days ago - Pushed at: about 1 month ago - Stars: 42 - Forks: 1

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

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

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

jakobhellermann/cargo-watt ๐ฆ
cargo subcommand for building proc-macro crates with web assembly
Language: Rust - Size: 129 KB - Last synced at: 4 days ago - Pushed at: over 4 years ago - Stars: 34 - Forks: 4

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

termoshtt/einsum-derive
Proc-macro based einsum implementation for rust-ndarray
Language: Rust - Size: 176 KB - Last synced at: about 2 months ago - Pushed at: over 1 year ago - Stars: 32 - 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 6 hours ago - Pushed at: over 2 years ago - Stars: 30 - Forks: 0

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

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

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

SOF3/portrait
Trait-agnostic derive macros
Language: Rust - Size: 88.9 KB - Last synced at: 20 days ago - Pushed at: 4 months ago - Stars: 27 - 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

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

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

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

Goncalerta/proc-quote
A procedural macro implementation of `quote!`.
Language: Rust - Size: 78.1 KB - Last synced at: 2 days ago - Pushed at: about 2 years ago - Stars: 24 - 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: 10 days ago - Stars: 23 - Forks: 3

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

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

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

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

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

termoshtt/deco
Python-like decorator in Rust
Language: Rust - Size: 12.7 KB - Last synced at: 24 days ago - Pushed at: about 5 years ago - Stars: 15 - Forks: 0

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

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

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

Dengjianping/proc-macro-examples
proc-macro examples for my post
Language: Rust - Size: 6.84 KB - Last synced at: over 1 year ago - Pushed at: over 3 years ago - Stars: 13 - Forks: 5

taiki-e/negative-impl
Negative trait implementations on stable Rust.
Language: Rust - Size: 236 KB - Last synced at: 10 days ago - Pushed at: 3 months ago - Stars: 12 - 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

termoshtt/procedurals ๐ฆ
Collection of basic proc-macros
Language: Rust - Size: 19.5 KB - Last synced at: 6 days ago - Pushed at: almost 7 years ago - Stars: 12 - 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

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

Plume-org/gettext-macros
A few proc-macros to help internationalizing Rust applications
Language: Rust - Size: 54.7 KB - Last synced at: 7 days ago - Pushed at: over 3 years ago - Stars: 11 - Forks: 3

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

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

mqnfred/ffishim
Generates ffi-compatible layer for your rust code
Language: Rust - Size: 107 KB - Last synced at: 7 days ago - Pushed at: almost 5 years ago - Stars: 11 - Forks: 0

bbqsrc/cargo-proc-macro
Kickstart a proc-macro project with a straight-forward template.
Language: Rust - Size: 32.2 KB - Last synced at: 16 days ago - Pushed at: almost 4 years ago - Stars: 9 - 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

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

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: 2 days ago - Pushed at: 11 months ago - Stars: 8 - 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

termoshtt/p5doc
p5.js diagram within rustdoc
Language: Rust - Size: 24.4 KB - Last synced at: 20 days ago - Pushed at: about 2 years ago - Stars: 8 - Forks: 0

jonas-schievink/pkg-version ๐ฆ
Macros for accessing the Cargo package version at compile time
Language: Rust - Size: 16.6 KB - Last synced at: about 6 hours ago - Pushed at: about 4 years ago - Stars: 8 - Forks: 1

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

kuy/macro-harness
Test harness for procedural macros
Language: Rust - Size: 236 KB - Last synced at: about 1 month ago - Pushed at: 3 months ago - Stars: 7 - Forks: 0

pantonshire/enumscribe
Derive macros for converting between enums and strings
Language: Rust - Size: 113 KB - Last synced at: 4 months ago - Pushed at: over 1 year ago - Stars: 7 - Forks: 1

alyti/surrealdb_functions
proc-macro to help with using surrealdb's custom functions
Language: Rust - Size: 40 KB - Last synced at: about 1 year ago - Pushed at: over 1 year ago - Stars: 7 - Forks: 0

danii/easy_proc_macro
Rust's last proc-macro crate.
Language: Rust - Size: 30.3 KB - Last synced at: 9 days ago - Pushed at: over 4 years ago - Stars: 7 - Forks: 0

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 18 hours ago - Pushed at: about 18 hours ago - Stars: 6 - Forks: 2

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

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

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

CreepySkeleton/proc-macro-error
mirror of https://gitlab.com/CreepySkeleton/proc-macro-error
Language: Rust - Size: 6.28 MB - Last synced at: over 2 years ago - Pushed at: about 3 years ago - Stars: 6 - Forks: 0

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: 25 days ago - Pushed at: about 6 years ago - Stars: 6 - Forks: 2

timsueberkrueb/visit
Automatically generate Rust code for the Visitor pattern
Language: Rust - Size: 65.4 KB - Last synced at: about 2 months ago - Pushed at: about 6 years ago - Stars: 6 - Forks: 0

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

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 1 hour ago - Pushed at: 5 months ago - Stars: 5 - Forks: 1

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: 11 days ago - Pushed at: 7 months ago - Stars: 5 - Forks: 0

andrewsonin/gset
Getters and Setters for Rust.
Language: Rust - Size: 25.4 KB - Last synced at: 7 days ago - Pushed at: 11 months ago - Stars: 5 - Forks: 1

YJDoc2/Bytecode
A Rust proc-macro crate which derives functions to compile and parse back enums and structs to and from a bytecode representation
Language: Rust - Size: 47.9 KB - Last synced at: about 2 months ago - Pushed at: about 3 years ago - Stars: 5 - Forks: 0

thomaseizinger/rust-jsonrpc-client
A macro-driven JSON-RPC client for Rust.
Language: Rust - Size: 163 KB - Last synced at: 4 days ago - Pushed at: about 1 year ago - Stars: 4 - Forks: 6

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

nsat/validatron
Rust data structure validation library designed for large user inputs
Language: Rust - Size: 78.1 KB - Last synced at: 27 days ago - Pushed at: almost 2 years ago - Stars: 4 - Forks: 1

Limit-LAB/r18
A simply I18n crate for Rust.
Language: Rust - Size: 67.4 KB - Last synced at: 10 days ago - Pushed at: almost 2 years ago - Stars: 4 - Forks: 0

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

DusterTheFirst/preflight
:rocket: A tool to create and test hardware agnostic flight systems offline with little friction
Language: Rust - Size: 14.9 MB - Last synced at: 7 days ago - Pushed at: about 3 years ago - Stars: 4 - Forks: 0

WilliamVenner/turbonone
Tiny macro for calling functions with generic Option<T> arguments
Language: Rust - Size: 12.7 KB - Last synced at: 16 days ago - Pushed at: about 4 years ago - Stars: 4 - Forks: 0

chuck-flowers/attribution
A proc macro for declaritively parsing rust attributes
Language: Rust - Size: 85 KB - Last synced at: 5 days ago - Pushed at: over 4 years ago - Stars: 4 - Forks: 0

psinghal20/Auto-Vec
Auto-Vec is a proc macro to vectorize your functions. Let your Scalars Vectorize!
Language: Rust - Size: 11.7 KB - Last synced at: over 2 years ago - Pushed at: about 5 years ago - Stars: 4 - Forks: 0

arcane-rs/synthez
Steroids for `syn`, `quote` and `proc-macro2` crates.
Language: Rust - Size: 198 KB - Last synced at: 24 days ago - Pushed at: 24 days ago - Stars: 3 - 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: 2 days ago - Pushed at: 4 months ago - Stars: 3 - 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

orangutanrider/waymark_relations
ECS abstractions based around the concept of a "Waymark" W.I.P.
Language: Rust - Size: 146 KB - Last synced at: 27 days ago - Pushed at: 10 months ago - Stars: 3 - Forks: 0
