Rust Configuration

Open-source Rust projects categorized as Configuration

Top 15 Rust Configuration Projects

Configuration
  1. config-rs

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

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. nickel

    Better configuration for less

    Project mention: nickel VS rcl - a user suggested alternative | libhunt.com/r/nickel | 2025-03-15
  4. kcl

    KCL Programming Language (CNCF Sandbox Project). https://kcl-lang.io

  5. dotter

    A dotfile manager and templater written in rust 🦀

  6. confy

    🛋 Zero-boilerplate configuration management in Rust

  7. envy

    deserialize env vars into typesafe structs with rust (by softprops)

  8. emplace

    👩‍❤️‍💋‍👩 Synchronize installed packages on multiple machines

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. rcl

    A reasonable configuration language

    Project mention: A Common Lisp jq replacement | news.ycombinator.com | 2025-05-02

    If like me you can do basic queries in jq, but as soon as it gets slightly more complex (e.g. filter objects where some nested property that may not exist has a particular value), you wish you could do it with familiar Python/Rust/Javascript-like expressions and map/filter, try https://rcl-lang.org/#intuitive-json-queries.

  11. confique

    Type-safe, layered, light-weight, `serde`-based configuration library

  12. twelf

    Twelf is a configuration solution for Rust including 12-Factor support. It is designed with layers in order to configure different sources and formats to build your configuration. The main goal is to be very simple using a proc macro.

    Project mention: Rust library for building no-boilerplate CLI apps | news.ycombinator.com | 2024-12-03

    Looks nice! I like the approach.

    My holy grail will still be landing on a good multi-layer configuration setup for Rust CLIs. Ideally CLI flags merged over top of environment variables merged over top of configuration files.

    Twelf [0] was close in unifying things, but I had some friction. Lately I've been using Schematic [1] to handle the environment + config layers, and then just a manual implementation of Clap arguments layered on top.

    [0] https://github.com/bnjjj/twelf.

  13. autokernel

    A tool for managing your kernel configuration that guarantees semantic correctness

  14. cvars

    Configuration variables and consoles for games in Rust. An alternative to inline_tweak / const-tweaker with different tradeoffs.

  15. cfg-rs

    A Configuration Library for Rust Applications

  16. json_env

    Loads environment variables from JSON files.

  17. conf-rs

    A `derive`-based, highly composable config parser aimed at the practically-minded web developer building large web projects.

    Project mention: Parsing Command Line Arguments | news.ycombinator.com | 2024-10-06

    There's a discussion happening in a new Rust config management crate at https://github.com/cbeck88/conf-rs/discussions/1 about a similar sort of ideal.

  18. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Rust Configuration discussion

Log in or Post with

Rust Configuration related posts

  • nickel VS rcl - a user suggested alternative

    2 projects | 15 Mar 2025
  • The Nix NGI Team: Advancing Open Source with Nix

    2 projects | news.ycombinator.com | 24 Jan 2025
  • Be Aware of the Makefile Effect

    4 projects | news.ycombinator.com | 11 Jan 2025
  • Nickel Modules

    2 projects | news.ycombinator.com | 26 Jun 2024
  • RCL: A Reasonable Configuration Language

    1 project | news.ycombinator.com | 5 Feb 2024
  • Hey Rustaceans! Got a question? Ask here (49/2023)!

    9 projects | /r/rust | 5 Dec 2023
  • KCL is an open-source constraint-based record and functional language

    1 project | news.ycombinator.com | 28 Oct 2023
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 15 May 2025
    InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now. Learn more →

Index

What are some of the best open-source Configuration projects in Rust? This list will help you:

# Project Stars
1 config-rs 2,861
2 nickel 2,577
3 kcl 2,002
4 dotter 1,076
5 confy 954
6 envy 916
7 emplace 274
8 rcl 258
9 confique 180
10 twelf 119
11 autokernel 102
12 cvars 53
13 cfg-rs 39
14 json_env 5
15 conf-rs 3

Sponsored
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com

Did you know that Rust is
the 5th most popular programming language
based on number of references?