How do you manage configuration in rust?

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

    ⚙️ Layered configuration system for Rust applications (with strong support for 12-factor applications).

  • I've enjoyed using this one: https://crates.io/crates/config

  • uclicious

    Uclicious is a flexible reduced boilerplate configuration framework.

  • I'm using a library that I wrote because I was unhappy with what was there: https://github.com/andoriyu/uclicious

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

    🛋 Zero-boilerplate configuration management in Rust

  • I'd really recommend confy! It does exactly what you seem to want and supports YAML, TOML, and RON :)

  • serde

    Serialization framework for Rust

  • serde makes this pretty easy, if you have no special requirements.

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