All Projects → mehcode → Config Rs

mehcode / Config Rs

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

Programming Languages

rust
11053 projects

Projects that are alternatives of or similar to Config Rs

Simple Settings
A simple way to manage your project settings.
Stars: ✭ 165 (-81.97%)
Mutual labels:  config, configuration-management, json, toml, configuration
climatecontrol
Python library for loading settings and config data from files and environment variables
Stars: ✭ 20 (-97.81%)
Mutual labels:  config, toml, configuration, configuration-management
Koanf
Light weight, extensible configuration management library for Go. Built in support for JSON, TOML, YAML, env, command line, file, S3 etc. Alternative to viper.
Stars: ✭ 450 (-50.82%)
Mutual labels:  config, configuration-management, toml, configuration
Night Config
Powerful java configuration library for toml, yaml, hocon, json and in-memory configurations
Stars: ✭ 93 (-89.84%)
Mutual labels:  configuration-management, json, toml, configuration
Fig
A minimalist Go configuration library
Stars: ✭ 142 (-84.48%)
Mutual labels:  configuration-management, json, toml, configuration
Dasel
Query, update and convert data structures from the command line. Comparable to jq/yq but supports JSON, TOML, YAML, XML and CSV with zero runtime dependencies.
Stars: ✭ 759 (-17.05%)
Mutual labels:  config, json, toml, configuration
parse it
A python library for parsing multiple types of config files, envvars & command line arguments that takes the headache out of setting app configurations.
Stars: ✭ 86 (-90.6%)
Mutual labels:  config, toml, configuration, configuration-management
Node Convict
Featureful configuration management library for Node.js
Stars: ✭ 1,855 (+102.73%)
Mutual labels:  config, configuration-management, json, configuration
Config
📝 Go config manage(load,get,set). support JSON, YAML, TOML, INI, HCL, ENV and Flags. Multi file load, data override merge, parse ENV var. Go应用配置加载管理,支持多种格式,多文件加载,远程文件加载,支持数据合并,解析环境变量名
Stars: ✭ 225 (-75.41%)
Mutual labels:  config, config-management, json, toml
Konf
A type-safe cascading configuration library for Kotlin/Java/Android, supporting most configuration formats
Stars: ✭ 225 (-75.41%)
Mutual labels:  config, json, toml, configuration
Ini Parser
Read/Write an INI file the easy way!
Stars: ✭ 643 (-29.73%)
Mutual labels:  config, configuration-management, config-management, configuration
cfg-rs
A Configuration Library for Rust Applications
Stars: ✭ 18 (-98.03%)
Mutual labels:  config, toml, configuration
superconfig
Access environment variables. Also includes presence validation, type coercion and default values.
Stars: ✭ 33 (-96.39%)
Mutual labels:  config, configuration, configuration-management
libconfini
Yet another INI parser
Stars: ✭ 106 (-88.42%)
Mutual labels:  config, configuration, configuration-management
apollo.net
Apollo配置中心.Net客户端
Stars: ✭ 449 (-50.93%)
Mutual labels:  config-management, configuration, configuration-management
Jsonnet
Jsonnet - The data templating language
Stars: ✭ 5,257 (+474.54%)
Mutual labels:  config, json, configuration
dotfiles
My personal app/env configs and dotfiles.
Stars: ✭ 27 (-97.05%)
Mutual labels:  config, configuration, configuration-management
sitri
Sitri - powerful settings & configs for python
Stars: ✭ 20 (-97.81%)
Mutual labels:  config, configuration, configuration-management
tomlj
A Java parser for Tom's Obvious, Minimal Language (TOML).
Stars: ✭ 72 (-92.13%)
Mutual labels:  config, toml, configuration
rubric
Linter Config Initializer for Python
Stars: ✭ 21 (-97.7%)
Mutual labels:  config, toml, configuration-management

config-rs

Rust Build Status Crates.io Docs.rs

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

  • Set defaults
  • Set explicit values (to programmatically override)
  • Read from JSON, TOML, YAML, HJSON, INI files
  • Read from environment
  • Loosely typed — Configuration values may be read in any supported type, as long as there exists a reasonable conversion
  • Access nested fields using a formatted path — Uses a subset of JSONPath; currently supports the child ( redis.port ) and subscript operators ( databases[0].name )

Usage

[dependencies]
config = "0.11"
  • ini - Adds support for reading INI files
  • json - Adds support for reading JSON files
  • hjson - Adds support for reading HJSON files
  • yaml - Adds support for reading YAML files
  • toml - Adds support for reading TOML files

See the documentation or examples for more usage information.

License

config-rs is primarily distributed under the terms of both the MIT license and the Apache License (Version 2.0).

See LICENSE-APACHE and LICENSE-MIT for details.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].