An open API service providing repository metadata for many open source software ecosystems.

Topic: "proc-macro"

Jedsek/curried

currying function to be used in normal && generic && map case, with procedural macro

Language: Rust - Size: 9.77 KB - Last synced at: 28 days ago - Pushed at: over 1 year ago - Stars: 3 - Forks: 0

Nukesor/struct-merge πŸ“¦

Generate code for merging structs

Language: Rust - Size: 69.3 KB - Last synced at: 6 days ago - Pushed at: about 3 years ago - Stars: 3 - 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: 17 days ago - Pushed at: over 3 years ago - Stars: 3 - Forks: 1

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: 6 days ago - Pushed at: over 3 years ago - Stars: 3 - Forks: 1

kaleidawave/build-trie πŸ“¦

Replaced by derive-finite-automaton

Language: Rust - Size: 14.6 KB - Last synced at: 29 days ago - Pushed at: over 3 years ago - Stars: 3 - Forks: 0

cdown/filestruct

Derive macro to read from a directory into a Rust struct.

Language: Rust - Size: 35.2 KB - Last synced at: 5 days ago - Pushed at: 7 months ago - Stars: 2 - Forks: 1

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: 18 days ago - Pushed at: about 1 year ago - Stars: 2 - Forks: 0

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: 3 days ago - Pushed at: over 1 year ago - Stars: 2 - 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

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

jmg-duarte/pseudonym

Declare aliases with ease!

Language: Rust - Size: 49.8 KB - Last synced at: 29 days ago - Pushed at: almost 2 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: 2 months ago - Pushed at: about 3 years ago - Stars: 2 - Forks: 1

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: 1 day ago - Pushed at: over 3 years ago - Stars: 2 - 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

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: 1 day ago - Pushed at: over 4 years ago - Stars: 2 - Forks: 0

LucioFranco/tokio-async-await-test

A macro for better async/await tokio testing

Language: Rust - Size: 13.7 KB - Last synced at: 4 days ago - Pushed at: almost 6 years ago - Stars: 2 - Forks: 1

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

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: 16 days ago - Pushed at: 3 months ago - Stars: 1 - Forks: 0

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

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

ratnaraj7/origami-engine

A templating engine for Rust focused on modularity using reusable components.

Language: Rust - Size: 221 KB - Last synced at: 27 days ago - Pushed at: 8 months ago - Stars: 1 - Forks: 0

xiaoqixian/auto-from

A Rust proc_macro crate

Language: Rust - Size: 7.81 KB - Last synced at: 11 months ago - Pushed at: 11 months 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: 6 days ago - Pushed at: about 1 year ago - Stars: 1 - Forks: 1

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: 8 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: 18 days ago - Pushed at: over 1 year ago - Stars: 1 - Forks: 0

jonas089/raptor-abi

Proc-macro Compiler for Contracts

Language: Rust - Size: 184 MB - Last synced at: 2 months ago - Pushed at: over 1 year ago - Stars: 1 - Forks: 0

ctsrc/column_store

Column-oriented database management system.

Language: Rust - Size: 25.4 KB - Last synced at: 6 days ago - Pushed at: over 1 year ago - Stars: 1 - Forks: 0

figsoda/expand

Rust library that introduces a macro to expand byte string and string literals

Language: Rust - Size: 47.9 KB - Last synced at: about 1 month ago - Pushed at: almost 2 years ago - Stars: 1 - 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: 9 days ago - Pushed at: about 2 years ago - Stars: 1 - Forks: 0

andrewsonin/efbuilder

A procedural macro for generating efficient builders.

Language: Rust - Size: 4.88 KB - Last synced at: 4 days ago - Pushed at: over 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: about 1 month ago - Pushed at: about 3 years ago - Stars: 1 - Forks: 0

Milesq/include-url

Include Rust code from given URL

Language: Rust - Size: 3.91 KB - Last synced at: 3 months ago - Pushed at: over 3 years ago - Stars: 1 - Forks: 0

resolritter/structout

Generate multiple structs from a single definition through a procedural macro

Language: Rust - Size: 52.7 KB - Last synced at: 10 days ago - Pushed at: over 4 years ago - Stars: 1 - Forks: 0

connerebbinghaus/ascii-literal

Compile time checked ASCII strings in Rust.

Language: Rust - Size: 21.5 KB - Last synced at: 22 days ago - Pushed at: about 5 years ago - Stars: 1 - Forks: 0

vincenzopalazzo/kproc-macros

proposal to integrate a library in the Linux kernel where it is possible for parse easily rust code to make easy the parsing of procedural macros

Language: Rust - Size: 250 KB - Last synced at: 7 months ago - Stars: 1 - Forks: 0

maia-s/proclet πŸ“¦

Moved to https://codeberg.org/maia/proclet-rs

Language: Rust - Size: 236 KB - Last synced at: 15 days ago - Pushed at: 15 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: 16 days ago - Pushed at: 16 days ago - Stars: 0 - Forks: 0

tonywu6/ferrosaur

πŸ¦€πŸ“²πŸ¦•

Language: Rust - Size: 573 KB - Last synced at: 7 days ago - Pushed at: 29 days ago - Stars: 0 - 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

andogq/assert_layout

Assert struct layouts, including field sizes and offsets.

Language: Rust - Size: 16.6 KB - Last synced at: 22 days ago - Pushed at: 2 months ago - Stars: 0 - Forks: 1

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

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

cpg314/skip-if

Rust attribute macro to skip running a function that produces files

Language: Rust - Size: 13.7 KB - Last synced at: 23 days ago - Pushed at: 3 months ago - Stars: 0 - Forks: 1

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

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

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: 3 months ago - Pushed at: 6 months ago - Stars: 0 - 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: 7 days ago - Pushed at: 7 months ago - Stars: 0 - 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: 25 days ago - Pushed at: 8 months ago - Stars: 0 - Forks: 0

Sovereign-Labs/trybuild

https://github.com/dtolnay/trybuild but with better test concurrency

Language: Rust - Size: 1.7 MB - Last synced at: 10 months ago - Pushed at: 10 months ago - Stars: 0 - Forks: 0

mtshr/attr-bounds

An attribute macro to apply bounds to items.

Language: Rust - Size: 14.6 KB - Last synced at: 10 days ago - Pushed at: 12 months 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

cloneable/strongly

A proc macro to create strongly-typed primitives.

Language: Rust - Size: 66.4 KB - Last synced at: 5 days 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: about 1 year ago - Pushed at: about 1 year ago - Stars: 0 - Forks: 0

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

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: 2 days ago - Pushed at: over 1 year ago - Stars: 0 - Forks: 0

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: 2 days ago - Pushed at: over 1 year ago - Stars: 0 - 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

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

tokarevart/sql-table

Makes no-ORM querying of SQL databases more concise

Language: Rust - Size: 24.4 KB - Last synced at: 4 days ago - Pushed at: almost 2 years 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: almost 2 years ago - Pushed at: almost 2 years ago - Stars: 0 - 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: 10 days ago - Pushed at: almost 2 years ago - Stars: 0 - Forks: 1

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: about 2 hours ago - Pushed at: about 2 years ago - Stars: 0 - 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

dracarys18/proc_macro

Language: Rust - Size: 15.6 KB - Last synced at: 4 days ago - Pushed at: over 2 years ago - Stars: 0 - Forks: 0

unfunco/rhwd

πŸ¦€ Rust yn Gymraeg.

Language: Rust - Size: 3.91 KB - Last synced at: 5 days ago - Pushed at: over 2 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: over 2 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: 7 days ago - Pushed at: over 3 years ago - Stars: 0 - Forks: 0

WilliamVenner/env_ast

env! but it outputs tokens instead of a string literal

Language: Rust - Size: 2.93 KB - Last synced at: about 1 month ago - Pushed at: over 3 years ago - Stars: 0 - 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: 1 day ago - Pushed at: over 3 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: 6 days ago - Pushed at: over 3 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: 9 days ago - Pushed at: almost 4 years ago - Stars: 0 - Forks: 0

yskszk63/lazylink

Convert extern fn to libdl call procedural macro.

Language: Rust - Size: 43 KB - Last synced at: 4 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: 3 months ago - Pushed at: almost 4 years ago - Stars: 0 - Forks: 0

toshokan/flag-mast

Ergonomic Rust bit flags

Language: Rust - Size: 33.2 KB - Last synced at: 28 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

proc-macro-js/proc_macro.js

A JavaScript implementation of proc_macro

Language: TypeScript - Size: 69.3 KB - Last synced at: about 2 months ago - Pushed at: almost 5 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: 22 days ago - Pushed at: almost 5 years 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: 6 days ago - Pushed at: over 5 years ago - Stars: 0 - Forks: 1

4lDO2/sbp-rs πŸ“¦

A simple binary parser that doesn't require too much boilerplate code

Language: Rust - Size: 47.9 KB - Last synced at: 5 days ago - Pushed at: over 5 years ago - Stars: 0 - 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: 2 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: 5 days ago - Pushed at: almost 6 years ago - Stars: 0 - Forks: 0

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: 6 days ago - Pushed at: almost 7 years ago - Stars: 0 - Forks: 0

plume/gettext-macros

A few proc-macros to help internationalizing Rust applications

Language: Rust - Size: 136 KB - Last synced at: over 1 year ago - Stars: 0 - Forks: 0

valpackett/attrsets

Rust proc macro for defining multiple variants of a struct/enum with different attribute annotations e.g. for multiple Serde serializations

Language: - Size: 160 KB - Last synced at: over 1 year ago - Stars: 0 - Forks: 0