GitHub topics: proc-macro
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: 6 days ago - Pushed at: 8 months ago - Stars: 5 - 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: 22 days ago - Pushed at: 9 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: 2 months 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: 30 days ago - Pushed at: over 3 years ago - Stars: 12 - Forks: 1

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

termoshtt/einsum-derive
Proc-macro based einsum implementation for rust-ndarray
Language: Rust - Size: 176 KB - Last synced at: 28 days ago - Pushed at: over 1 year ago - Stars: 32 - Forks: 1

Sovereign-Labs/trybuild
https://github.com/dtolnay/trybuild but with better test concurrency
Language: Rust - Size: 1.7 MB - Last synced at: 11 months ago - Pushed at: 11 months ago - Stars: 0 - 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: 11 months ago - Stars: 3 - Forks: 0

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

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

xiaoqixian/auto-from
A Rust proc_macro crate
Language: Rust - Size: 7.81 KB - Last synced at: 12 months ago - Pushed at: 12 months ago - Stars: 1 - Forks: 0

Mubelotix/minecraft-protocol-derive π¦
Procedural macros to make your Rust structs compatible with the Minecraft protocol.
Language: Rust - Size: 35.2 KB - Last synced at: 3 months ago - Pushed at: over 1 year ago - Stars: 2 - Forks: 1

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

mtshr/attr-bounds
An attribute macro to apply bounds to items.
Language: Rust - Size: 14.6 KB - Last synced at: 7 days ago - Pushed at: about 1 year ago - Stars: 0 - Forks: 0

Zerthox/deref-pat
Rust macro for dereferencing in patterns.
Language: Rust - Size: 21.5 KB - Last synced at: about 1 year ago - Pushed at: about 1 year ago - Stars: 0 - Forks: 0

rsmicro/kproc-macros
(proposal linux kernel) minimal procedural macros parser that produce a convenient AST by including only the necessary code
Language: Rust - Size: 141 KB - Last synced at: about 1 year ago - Pushed at: almost 2 years ago - Stars: 0 - Forks: 0

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

cloneable/strongly
A proc macro to create strongly-typed primitives.
Language: Rust - Size: 66.4 KB - Last synced at: about 1 month ago - Pushed at: about 1 year ago - Stars: 0 - Forks: 0

sromero0889/db-clients
Derive Macro example to generate code for basic interaction with a db
Language: Rust - Size: 5.86 KB - Last synced at: about 1 year ago - Pushed at: about 1 year ago - Stars: 0 - Forks: 0

duskmoon314/dmbf
Duskmoon's bitfield: yet another bitfield in rust
Language: Rust - Size: 16.6 KB - Last synced at: over 1 year ago - Pushed at: over 1 year ago - Stars: 0 - Forks: 0

jmoore34/postgres-named-parameters
A lightweight macro wrapper around the postgres crate which gives you the ergonomics of named parameters in your raw SQL queries
Language: Rust - Size: 39.1 KB - Last synced at: about 1 month ago - Pushed at: over 1 year ago - Stars: 1 - Forks: 0

DerMagischeBier/cache-this
Rust macro for simple caching of expression results using the local file system
Language: Rust - Size: 12.7 KB - Last synced at: 5 days ago - Pushed at: over 1 year ago - Stars: 1 - Forks: 1

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

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

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

Jomy10/simple_tables
An easy to use rust crate for creating table structures. Including macros for easily creating these table structures.
Language: Rust - Size: 4.75 MB - Last synced at: 8 days ago - Pushed at: over 3 years ago - Stars: 3 - Forks: 1

scaredmonad/derive-lexer
Procedural macro for regex-based sequential tokenization of input strings.
Language: Rust - Size: 6.84 KB - Last synced at: over 1 year ago - Pushed at: over 1 year ago - Stars: 0 - Forks: 0

ctsrc/column_store
Column-oriented database management system.
Language: Rust - Size: 25.4 KB - Last synced at: 5 days ago - Pushed at: over 1 year ago - Stars: 1 - Forks: 0

Kyza/internal
Internal fields in Rust.
Language: Rust - Size: 16.6 KB - Last synced at: 12 days ago - Pushed at: over 1 year ago - Stars: 1 - Forks: 0

Nukesor/struct-merge π¦
Generate code for merging structs
Language: Rust - Size: 69.3 KB - Last synced at: 7 days ago - Pushed at: over 3 years ago - Stars: 3 - Forks: 0

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: almost 2 years ago - Stars: 7 - Forks: 0

speelbarrow/weensy.rs
A collection of useful bits and bobs for programming the Teensy 4.1 microcontroller using Rust.
Language: Rust - Size: 47.9 KB - Last synced at: 8 days ago - Pushed at: over 1 year ago - Stars: 0 - Forks: 0

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

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: 4 days ago - Pushed at: about 3 years ago - Stars: 4 - Forks: 0

termoshtt/procedurals π¦
Collection of basic proc-macros
Language: Rust - Size: 19.5 KB - Last synced at: 25 days ago - Pushed at: about 7 years ago - Stars: 12 - Forks: 1

proc-macro-js/proc_macro.js
A JavaScript implementation of proc_macro
Language: TypeScript - Size: 69.3 KB - Last synced at: 11 days ago - Pushed at: almost 5 years ago - Stars: 0 - Forks: 0

earlybard/iodine
Rust data-driven test macros
Language: Rust - Size: 14.6 KB - Last synced at: almost 2 years ago - Pushed at: almost 3 years ago - Stars: 0 - Forks: 0

jmg-duarte/pseudonym
Declare aliases with ease!
Language: Rust - Size: 49.8 KB - Last synced at: 25 days ago - Pushed at: almost 2 years ago - Stars: 2 - Forks: 0

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

speelbarrow/enum-from-functions.rs
A procedural macro that will create an enum with associated functions that each have a corresponding variant.
Language: Rust - Size: 25.4 KB - Last synced at: 8 days ago - Pushed at: over 1 year ago - Stars: 0 - Forks: 0

ChristopherPerry6060/start-proc-macro
Procedural macro crate template for cargo-generate
Language: Rust - Size: 1.95 KB - Last synced at: about 2 years ago - Pushed at: about 2 years ago - Stars: 0 - Forks: 0

WilliamVenner/fn_abi
β¨ A proc attribute macro that sets the ABI/calling convention for the attributed function
Language: Rust - Size: 11.7 KB - Last synced at: 13 days ago - Pushed at: over 3 years ago - Stars: 3 - Forks: 1

figsoda/expand
Rust library that introduces a macro to expand byte string and string literals
Language: Rust - Size: 47.9 KB - Last synced at: 28 days ago - Pushed at: almost 2 years ago - Stars: 1 - Forks: 0

lennyerik/rs-word-nums
Using this crate you can write all numbers in your Rust source code in plain English
Language: Rust - Size: 18.6 KB - Last synced at: almost 2 years ago - Pushed at: almost 2 years ago - Stars: 0 - Forks: 0

sam0x17/derive_parse2
Intended as a spiritual successor to derive_syn_parse, supports all of the original features plus some extra features. Fully compatible with syn 2.x, and implemented entirely in thoroughly tested proc macros
Language: Rust - Size: 19.5 KB - Last synced at: about 1 month ago - Pushed at: about 2 years ago - Stars: 1 - Forks: 0

johnnynotsolucky/hashfn
A procedural macro to generate a hash representation of a function as a string slice
Language: Rust - Size: 10.7 KB - Last synced at: 28 days ago - Pushed at: about 3 years ago - Stars: 1 - Forks: 0

maxfierrog/list-modules
Rust procedural macro for generating a constant list of string slices of the names child modules inside a source code directory.
Language: Rust - Size: 13.7 KB - Last synced at: about 1 year ago - Pushed at: about 2 years ago - Stars: 0 - Forks: 0

andrewgazelka/derive-build
π¦ An opinionated builder macro in Rust
Language: Rust - Size: 20.5 KB - Last synced at: 5 days ago - Pushed at: about 2 years ago - Stars: 0 - Forks: 0

tokarevart/sql-table
Makes no-ORM querying of SQL databases more concise
Language: Rust - Size: 24.4 KB - Last synced at: 5 days ago - Pushed at: almost 2 years ago - Stars: 0 - Forks: 0

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

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

Milesq/include-url
Include Rust code from given URL
Language: Rust - Size: 3.91 KB - Last synced at: 4 months ago - Pushed at: over 3 years ago - Stars: 1 - Forks: 0

kuy/macro-harness
Test harness for procedural macros
Language: Rust - Size: 237 KB - Last synced at: 3 days ago - Pushed at: 12 days ago - Stars: 7 - Forks: 0

andrewsonin/efbuilder
A procedural macro for generating efficient builders.
Language: Rust - Size: 4.88 KB - Last synced at: 3 days ago - Pushed at: over 2 years ago - Stars: 1 - Forks: 0

4lDO2/sbp-rs π¦
A simple binary parser that doesn't require too much boilerplate code
Language: Rust - Size: 47.9 KB - Last synced at: 3 days ago - Pushed at: over 5 years ago - Stars: 0 - Forks: 0

rust-console/gba-proc-macro π¦
Proc macros for the GBA crate
Language: Rust - Size: 21.5 KB - Last synced at: over 2 years ago - Pushed at: about 6 years ago - Stars: 2 - Forks: 2

kaleidawave/build-trie π¦
Replaced by derive-finite-automaton
Language: Rust - Size: 14.6 KB - Last synced at: about 2 months ago - Pushed at: over 3 years ago - Stars: 3 - Forks: 0

fMeow/amphi
A procedure macro to get blocking code from async implementation for free
Language: Rust - Size: 60.5 KB - Last synced at: over 2 years ago - Pushed at: about 4 years ago - Stars: 2 - Forks: 0

yume-chan/cond_bit_field
Experimental H.264 parser in Rust
Language: Rust - Size: 103 KB - Last synced at: 3 months ago - Pushed at: over 3 years ago - Stars: 2 - Forks: 1

unfunco/rhwd
π¦ Rust yn Gymraeg.
Language: Rust - Size: 3.91 KB - Last synced at: 17 days ago - Pushed at: over 2 years ago - Stars: 0 - Forks: 0

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

dracarys18/proc_macro
Language: Rust - Size: 15.6 KB - Last synced at: about 1 month ago - Pushed at: over 2 years ago - Stars: 0 - Forks: 0

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

resolritter/structout
Generate multiple structs from a single definition through a procedural macro
Language: Rust - Size: 52.7 KB - Last synced at: 9 days ago - Pushed at: over 4 years ago - Stars: 1 - Forks: 0

LevitatingLion/rename-item
Procedural macro to rename items on declaration, according to different case styles
Language: Rust - Size: 14.6 KB - Last synced at: 7 days ago - Pushed at: about 2 years ago - Stars: 0 - Forks: 1

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: over 3 years ago - Stars: 6 - Forks: 0

insertish/OptionalStruct Fork of lesurp/OptionalStruct
Fork of OptionalStruct with added goodies.
Language: Rust - Size: 27.3 KB - Last synced at: over 2 years ago - Pushed at: over 2 years ago - Stars: 0 - Forks: 0

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

WilliamVenner/env_ast
env! but it outputs tokens instead of a string literal
Language: Rust - Size: 2.93 KB - Last synced at: 5 days ago - Pushed at: over 3 years ago - Stars: 0 - Forks: 0

smallstepman/proc-macro-workshop Fork of dtolnay/proc-macro-workshop
Learn to write Rust procedural macrosββ[Rust Latam conference, Montevideo Uruguay, March 2019]
Language: Rust - Size: 558 KB - Last synced at: 3 days ago - Pushed at: over 3 years ago - Stars: 0 - Forks: 0

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

ducaale/exit_status
a proc-macro that allows rust's main function to return an exit status code
Language: Rust - Size: 4.88 KB - Last synced at: 7 days ago - Pushed at: over 4 years ago - Stars: 2 - Forks: 0

WilliamVenner/fn_has_this
β¨ A proc attribute macro that adds a this argument to a function
Language: Rust - Size: 2.93 KB - Last synced at: about 1 month ago - Pushed at: almost 4 years ago - Stars: 0 - Forks: 0

WilliamVenner/fn_type_alias
β¨ A proc attribute macro that generates a type alias with the given identifier for the attributed function
Language: Rust - Size: 2.93 KB - Last synced at: about 1 month ago - Pushed at: almost 4 years ago - Stars: 0 - Forks: 0

ZippyMagician/safe_attr
An attribute called #[safe] to mark functions, allowing the ommission of unsafe
Language: Rust - Size: 5.86 KB - Last synced at: 8 days ago - Pushed at: almost 4 years ago - Stars: 0 - 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: 24 days ago - Pushed at: almost 4 years ago - Stars: 9 - Forks: 1

yskszk63/lazylink
Convert extern fn to libdl call procedural macro.
Language: Rust - Size: 43 KB - Last synced at: 5 months ago - Pushed at: almost 4 years ago - Stars: 0 - Forks: 0

jmg-duarte/bf
A Rust function-like proc-macro that compiles BrainFuck!
Language: Rust - Size: 7.81 KB - Last synced at: 28 days ago - Pushed at: about 4 years ago - Stars: 0 - 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

toshokan/flag-mast
Ergonomic Rust bit flags
Language: Rust - Size: 33.2 KB - Last synced at: 12 days ago - Pushed at: over 4 years ago - Stars: 0 - Forks: 0

rami3l/proc-macro-workshop Fork of dtolnay/proc-macro-workshop
[WIP] My solution to dtolnay/proc-macro-workshop.
Language: Rust - Size: 484 KB - Last synced at: over 2 years ago - Pushed at: over 4 years ago - Stars: 0 - Forks: 0

milesgranger/derive-vec
Derive Vec<...> like behavior for a struct with an inner Vec<...>
Language: Rust - Size: 12.7 KB - Last synced at: about 2 months ago - Pushed at: about 5 years ago - Stars: 0 - Forks: 0

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

connerebbinghaus/ascii-literal
Compile time checked ASCII strings in Rust.
Language: Rust - Size: 21.5 KB - Last synced at: 14 days ago - Pushed at: about 5 years ago - Stars: 1 - Forks: 0

sachaarbonel/dodge
To be : bridge Dart and Rust code with ease through proc macros
Language: Rust - Size: 7.81 KB - Last synced at: 7 days ago - Pushed at: over 5 years ago - Stars: 0 - Forks: 0

survived/mquote
Rust templating quasi-quoting library
Language: Rust - Size: 120 KB - Last synced at: 2 days ago - Pushed at: almost 6 years ago - Stars: 0 - Forks: 0

LucioFranco/tokio-async-await-test
A macro for better async/await tokio testing
Language: Rust - Size: 13.7 KB - Last synced at: 10 days ago - Pushed at: almost 6 years ago - Stars: 2 - Forks: 1

71/rust-version-macro
A Rust procedural macro that only compiles the content it marks if the given expression matches the compiler's version.
Language: Rust - Size: 3.91 KB - Last synced at: 3 days ago - Pushed at: almost 7 years ago - Stars: 0 - Forks: 0
