#macro-rules #meta-programming #type-system #codegen

type-flow-macros

Macros to make pipelines that encode the order of operation execution in the type signature of the pipeline and allow for functions that mutate that order

6 releases

Uses new Rust 2024

0.2.0 Sep 23, 2025
0.1.4 Sep 23, 2025
0.1.2 Jul 16, 2025
0.1.0 Jun 28, 2025

#2137 in Rust patterns

Download history

413 downloads per month

MIT license

39KB
397 lines

Type Flow Macros

This library provides powerful macro utilities for handling ordered type patterns in Rust.

Features

Pattern Matching Capabilities

The macros in this library demonstrate advanced pattern matching capabilities, including:

  • Processing single elements
  • Handling multiple elements with first, middle, and last identification
  • Recursive pattern matching for arbitrary-length sequences

Dependencies

~115–485KB
~12K SLoC