Topic: "proc-macro-attributes"
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: 10 days ago - Pushed at: 3 months ago - Stars: 50 - Forks: 4

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

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

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

althonos/blanket
A simple Rust macro to derive blanket implementations for your traits.
Language: Rust - Size: 133 KB - Last synced at: about 1 month ago - Pushed at: about 1 year ago - Stars: 23 - Forks: 3

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

zeon256/dllmain-rs
A proc macro attribute to generate dllmain
Language: Rust - Size: 5.86 KB - Last synced at: about 1 year ago - Pushed at: over 2 years ago - Stars: 6 - 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: 21 days ago - Pushed at: 7 months ago - Stars: 5 - Forks: 0

c12i/simpl_cache
in memory ttl-caching tools
Language: Rust - Size: 89.8 KB - Last synced at: about 5 hours ago - Pushed at: about 1 year 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: about 1 month ago - Pushed at: about 3 years ago - Stars: 3 - Forks: 1

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

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

Kyza/internal
Internal fields in Rust.
Language: Rust - Size: 16.6 KB - Last synced at: 28 days ago - Pushed at: over 1 year 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: 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: 10 days ago - Pushed at: about 3 years ago - Stars: 1 - Forks: 0

lxl66566/once-fn
Call function only once, cache the first result
Language: Rust - Size: 22.5 KB - Last synced at: 7 days ago - Pushed at: 7 days ago - Stars: 0 - Forks: 0

appcypher/lazy-attribute
Convenient attribute macro for lazy function execution
Language: Rust - Size: 108 KB - Last synced at: 15 days ago - Pushed at: 11 months ago - Stars: 0 - Forks: 0

drewcassidy/generic-parameterize
A Rust attribute for parameterizing generic functions
Language: Rust - Size: 76.2 KB - Last synced at: 7 days ago - Pushed at: 11 months 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: 17 days 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: 17 days ago - Pushed at: over 3 years ago - Stars: 0 - Forks: 0

yskszk63/lazylink
Convert extern fn to libdl call procedural macro.
Language: Rust - Size: 43 KB - Last synced at: 3 months ago - Pushed at: almost 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: 1 day ago - Pushed at: almost 5 years ago - Stars: 0 - Forks: 0

edmundsmith/continuation_notation
Proc-Macro Syntactic Sugar for Callbacks
Language: Rust - Size: 5.86 KB - Last synced at: over 1 year 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
