Is there comptime reflection in Rust proc-macro?

This page summarizes the projects mentioned and recommended in the original post on /r/rust

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • Constime

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

  • I made this crate Constime if you really want something like zig's comptime, but it shouldn't be used for anything serious.

  • linkme

    Discontinued Safe cross-platform linker shenanigans

  • You can make the code generated by your macro add to a distributed slice from the linkme crate and you can use values from that slice at compile time.

  • 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
  • SHLL

    An experiment of high level code optimization

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts