How to pass data from build script to binary crate?

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
  • rust-phf

    Compile time static maps for Rust

  • A great example of how this is typically done is the phf crate: https://github.com/rust-phf/rust-phf

  • Voila

    Discontinued Voila is a domain-specific language launched through CLI tool for operating with files and directories in massive amounts in a fast & reliable way. (by Alonely0)

  • My lazy solution on https://github.com/Alonely0/Voila compilation was to format-debug it at compile time, pass it as env var and parse it at runtime.

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