Rust Macro

Open-source Rust projects categorized as Macro

Top 23 Rust Macro Projects

  • maud

    :pencil: Compile-time HTML templates for Rust

  • Project mention: Templ: A language for writing HTML user interfaces in Go | news.ycombinator.com | 2023-12-10

    I would like to mention maud in this context:

    https://github.com/lambda-fairy/maud

    It is refreshingly different from other Rust templating libraries. It uses a proc-macro that compiles your HTML into Rust code. I also happen to use it in conjunction with HTMX and it works very well for me (at least in small projects).

  • nutype

    Rust newtype with guarantees 🇺🇦 🦀

  • Project mention: Nutype 0.4.0 released | /r/rust | 2023-11-23
  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • cute

    Macro for Python-esque comprehensions in Rust

  • multiversion

    Easy function multiversioning for Rust

  • llrl

    An experimental Lisp-like programming language

  • Project mention: LLRL – Lisp in Rust | news.ycombinator.com | 2023-06-25
  • typestate-rs

    Proc-macro typestate DSL for Rust

  • lunchpad

    A macro application for Novation Launchpads - easy to use, feature rich

  • 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
  • default-args.rs

    zero runtime cost default arguments in rust

  • fncmd

    Command line interface as a function.

  • buildstructor

    Derive a builder for your constructors in Rust

  • regexm

    A Rust macro for writing regex pattern matching.

  • hado-rs

  • fncli

    An attribute macro to simplify writing simple command line applications.

  • dyntable

    Idiomatic and FFI Safe dyn traits in Rust

  • throttle_my_fn

    A Rust attribute macro to limit a function's number of runs over a specified period of time

  • r4d

    A macro processor made with rust, which aims to be a modern alternative to m4 macro processor.

  • negate

    Attribute macro that generates negated versions of`is_something` functions

  • custom-format

    Custom formatting for Rust.

  • Constime

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

  • enum-code

    derive(Code) simplifies error handling by providing an easy-to-use enumeration of error codes

  • Project mention: Just open source a process macro「enum-code」for mapping enum values to error codes in Rust. | /r/rust | 2023-06-14

    You can find the code on Github: https://github.com/Kunduin/enum-code and crates.io: https://crates.io/crates/enum-code.

  • struct-patch

    A lib help you patch Rust instance, and easy to partial update configures.

  • dbg_hex

    display dbg result in hexadecimal {:#x?} format

  • 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). The latest post mention was on 2023-12-10.

Rust Macro related posts

Index

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

Project Stars
1 maud 1,920
2 nutype 1,189
3 cute 333
4 multiversion 184
5 llrl 144
6 typestate-rs 130
7 lunchpad 124
8 default-args.rs 83
9 fncmd 73
10 buildstructor 57
11 regexm 46
12 hado-rs 44
13 fncli 33
14 dyntable 16
15 throttle_my_fn 12
16 r4d 10
17 negate 9
18 custom-format 9
19 Constime 7
20 enum-code 6
21 struct-patch 6
22 dbg_hex 2
23 expand 1
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com