Rust proc-macro

Open-source Rust projects categorized as proc-macro

Top 20 Rust proc-macro Projects

  • syn

    Parser for Rust source code

  • Project mention: 对 RTIC 框架的探索 | dev.to | 2024-04-12
  • quote

    Rust quasi-quoting

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • darling

    A Rust proc-macro attribute parser (by TedDriggs)

  • rust-fsm

    Finite state machine framework for Rust with readable specifications

  • maybe-async-rs

    A procedure macro to unify SYNC and ASYNC implementation for downstream application/crates

  • todo_by

    Compile-time lifetimes for comments.

  • Project mention: todo_by: Compile-time lifetimes for comments. | /r/rust | 2023-05-13

    Let me know what you think, and if you think you can help out with an issue that affects library authors, please share your insights!

  • 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

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • proc-bitfield

    A Rust crate to expressively declare bitfield-like structs

  • Project mention: Please add licenses to your projects, rust DS emulator Dust now dead. | /r/rust | 2023-06-28

    If you visit https://github.com/Kelpsy/proc-bitfield it redirects to https://github.com/bigbass1997/proc-bitfield. They may not be the same person as Kelpsy may have transferred repo ownership to bigbass1997, but if they did then bigbass1997 probably knows Kelpsy so you could ask them.

  • field_names

    proc-macro for accessing struct field names at runtime

  • portrait

    Trait-agnostic derive macros

  • proc-quote

    A procedural macro implementation of `quote!`.

  • dyntable

    Idiomatic and FFI Safe dyn traits in Rust

  • utility-rs

    Try impl TypeScript's utility types in rust via proc_macro

  • syn-file-expand

    Rust library to scan files and expand (make modules inline) multi-file crates source code as a single tree.

  • negate

    Attribute macro that generates negated versions of`is_something` functions

  • derived

    Rust derive macros for automating the boring stuff.

  • Constime

    Zig's comptime for Rust. Mostly something to play around with until more stuff is `const` fn.

  • surrealdb_functions

    proc-macro to help with using surrealdb's custom functions

  • Project mention: SurrealDB Functions: A proc-macro for all your custom surreal functions | /r/rust | 2023-07-25
  • Bytecode

    A Rust proc-macro crate which derives functions to compile and parse back enums and structs to and from a bytecode representation

  • expand

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

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Rust proc-macro related posts

  • 对 RTIC 框架的探索

    2 projects | dev.to | 12 Apr 2024
  • Please add licenses to your projects, rust DS emulator Dust now dead.

    8 projects | /r/rust | 28 Jun 2023
  • todo_by: Compile-time lifetimes for comments.

    3 projects | /r/rust | 13 May 2023
  • syn v2.0.0 released

    1 project | /r/u_Dazzling_Finger_8120 | 18 Mar 2023
  • syn v2.0.0 released

    5 projects | /r/rust | 17 Mar 2023
  • Is there comptime reflection in Rust proc-macro?

    3 projects | /r/rust | 11 Mar 2023
  • I wrote a library to expand byte string literals for pattern matching

    2 projects | /r/rust | 4 Feb 2023
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 10 May 2024
    Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →

Index

What are some of the best open-source proc-macro projects in Rust? This list will help you:

Project Stars
1 syn 2,681
2 quote 1,231
3 darling 908
4 rust-fsm 143
5 maybe-async-rs 128
6 todo_by 117
7 real-async-trait-rs 45
8 proc-bitfield 44
9 field_names 37
10 portrait 23
11 proc-quote 22
12 dyntable 16
13 utility-rs 14
14 syn-file-expand 12
15 negate 9
16 derived 8
17 Constime 7
18 surrealdb_functions 7
19 Bytecode 6
20 expand 1

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com