Embedding raw data from repository at compile time

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

    Empowering everyone to build reliable and efficient software.

    The average size of a serialized JSON file is 1 MB. I have found the include_bytes! macro, but it looks like there are some issues using this on different platforms.

  • crates.io

    The Rust package registry

    Should I just add my files to the repository and use include_bytes!? How would that work when I put my library on crates.io? Would people magically have access to the data through my calibration_data function (regardless of their OS)? If the size of this directory keeps growing and growing, what kind of things should I keep in mind? Should I keep my serialized data in a different binary format + compression?

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

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