Rust Configuration

Open-source Rust projects categorized as Configuration

Top 10 Rust Configuration Projects

  • config-rs

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

    Project mention: Is there a pydantic.BaseSettings equivalent in rust? | /r/rust | 2023-06-05

    Consider config crate. It could be like:

  • nickel

    Better configuration for less

    Project mention: Announcing Nickel 1.0, a configuration language written in (and usable from) Rust | /r/rust | 2023-06-08

    The LSP is aware of contracts (and the rest of the tooling, in particular `nickel query`) and is able to show "types" (really contracts), documentation, provide completion and so on. You can take a look at a simple Kubernetes example here: https://github.com/tweag/nickel/blob/master/examples/record-contract/record-contract.ncl

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

  • confy

    🛋 Zero-boilerplate configuration management in Rust

    Project mention: How do you manage configuration in rust? | /r/rust | 2022-12-15

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

  • kcl

    A constraint-based record & functional language mainly used in configuration and policy scenarios.

    Project mention: Show HN: The KCL Programming Language for DevOps | news.ycombinator.com | 2023-06-07
  • dotter

    A dotfile manager and templater written in rust 🦀

    Project mention: What "nice-to-have" CLI tools do you know? | /r/linuxquestions | 2023-02-14

    dotter-rs -- config manager with templates

  • emplace

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

    Project mention: Ask HN: How do you manage dotfiles and provision machines? | news.ycombinator.com | 2023-05-26

    Probably true but as an aging and burned out dev I really hoped that there would be some ready and baked solutions by mid-2023, you know.

    It's actually quite the glaring hole in dev tooling. Everyone formulating their own cloud or GIT synced adhoc scripts is a huge waste of energy IMO!

    Guess I'll have to start allocating time and check out Ansible, Chef and Puppet (I heard they can do OS- and distro-agnostic package management which sounds promising). Or, since I have no plans to use Windows for anything except gaming ever again and will stick to Macs and Linux machines, then I'll just carefully compose a few bash/zsh scripts with some package manager shims and command/arguments translation and nail that and use it to my grave.

    Still, I really expected dev tooling to be better. It's weird how each one of us has to invent their own package syncing manager.

    The only tool I was able to find is https://github.com/tversteeg/emplace -- but I am still fighting with it and I can't even make it use config file on a custom location, and it does seem semi-defunct. Will research it a bit, still have hope it'll work but likely not. Oh well.

  • confique

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

    Project mention: Confique 0.2.0 released: a type-safe, layered configuration library | /r/rust | 2022-10-21

    I also thought about some form of integration with clap. Confique currently doesn't but yeah, it sounds like something I could add. I have to properly explore the design space there first. I created an issue on that topic: https://github.com/LukasKalbertodt/confique/issues/19

  • InfluxDB

    Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.

  • autokernel

    A tool for managing your kernel configuration that guarantees semantic correctness

    Project mention: autokernel 2.0.1 | A kernel configuration tool that guarantees semantic correctness | /r/linux | 2022-11-14
  • cvars

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

    Project mention: test | /r/Test_Posts | 2023-02-07
  • cfg-rs

    A Configuration Library for Rust Applications

    Project mention: [Renew ANN] cfg-rs 0.2.8 | /r/rust | 2022-07-01
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). The latest post mention was on 2023-06-08.

Rust Configuration related posts

Index

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

Project Stars
1 config-rs 1,951
2 nickel 1,493
3 confy 729
4 kcl 566
5 dotter 566
6 emplace 214
7 confique 117
8 autokernel 74
9 cvars 36
10 cfg-rs 36
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com