Rust Configuration

Open-source Rust projects categorized as Configuration

Top 14 Rust Configuration Projects

Configuration
  • config-rs

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

    Project mention: Hey Rustaceans! Got a question? Ask here (49/2023)! | /r/rust | 2023-12-05

    I like config.rs, but I am struggling to overwrite config profiles with environment variables. The desired config is mixed, like .toml

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

    Better configuration for less

    Project mention: Nickel Modules | news.ycombinator.com | 2024-06-26

    I think the answer is yes and no. As a language (and as far as tooling is involved), I think Nickel is entirely suitable to fill the same role as the Nix language (maybe at the same scale as Nixpkgs the performance will need some work, but that's it).

    Unfortunately, being a Nix replacement involves much more than just being a good language for configuration. It requires to interact tightly with all the existing Nix code that has been produced (basically, Nixpkgs). This is the hard part, which isn't there yet. Some design document that was started a long time ago can give you more details: https://github.com/tweag/nickel/pull/693.

    The best current take is organist (https://github.com/nickel-lang/organist), which is much more limited in scope (basically development shell), but has some form of interaction with Nix and Nixpkgs, albeit limited. I think the recent development around json-schema-to-nickel and the availability of JSON schemas for NixOS modules (as mentioned at the end of the post) might make it realistic to write boring NixOS configs in Nickel (and have the nice in-LSP validation), but we haven't had the time to try this combination yet.

  • kcl

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

    Project mention: 10 Ways for Kubernetes Declarative Configuration Management | dev.to | 2024-01-01

    KCL: A declarative configuration and policy programming language implemented by Rust, which improves the writing of a large number of complex configurations through mature programming language technology and practice, and is committed to building better modularity, scalability and stability around configuration, simpler logic writing, fast automation and good ecological extensionally.

  • confy

    🛋 Zero-boilerplate configuration management in Rust

  • envy

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

  • dotter

    A dotfile manager and templater written in rust 🦀

  • emplace

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

  • SaaSHub

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

    SaaSHub logo
  • confique

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

  • rcl

    A reasonable configuration language

    Project mention: Show HN: Qq: like jq, but can transcode between many formats | news.ycombinator.com | 2024-06-24

    Or you could write the query in a language that is easy to write by hand, like https://rcl-lang.org/, so you don't need ChatGPT to translate for you.

  • 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: Hey Rustaceans! Got a question? Ask here (49/2023)! | /r/rust | 2023-12-05

    Thank you, I thought about this one. The challenge with config.rs it doesn't support lists and hashes in environment variables. I found a crate which does exactly what I need Twelf - surprisingly unpopular.

  • autokernel

    A tool for managing your kernel configuration that guarantees semantic correctness

  • cvars

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

    Project mention: Announcing cvars 0.4.2 - significant build time improvements, new features, consoles updated to latest macroquad and fyrox | /r/rust_gamedev | 2023-07-21
  • cfg-rs

    A Configuration Library for Rust Applications

  • json_env

    Loads environment variables from JSON files.

  • 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 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
  • Show HN: Flake schemas – teaching Nix about your flake outputs

    2 projects | news.ycombinator.com | 31 Aug 2023
  • KCL: A Python Like Configuration Programming Language written in Rust and Python

    3 projects | /r/Python | 22 Aug 2023
  • KCL programming language. - Mutation Validation Abstraction Production-Ready | KCL programming language.

    1 project | /r/programming | 12 Aug 2023
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 17 Jul 2024
    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. 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,441
2 nickel 2,233
3 kcl 1,432
4 confy 867
5 envy 833
6 dotter 819
7 emplace 251
8 confique 162
9 rcl 147
10 twelf 110
11 autokernel 91
12 cvars 52
13 cfg-rs 39
14 json_env 4

Sponsored
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.
www.influxdata.com

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