{"repo":"rust-cli/confy","free":true,"listed":false,"github":"https://github.com/rust-cli/confy","clone":"git clone https://github.com/rust-cli/confy.git","description":"🛋 Zero-boilerplate configuration management in Rust","language":"Rust","stars":1040,"topics":["configuration","cli"],"license":null,"category":"cli-tools","readme_excerpt":"confy Zero-boilerplate configuration management. Focus on storing the right data, instead of worrying about how or where to store it. Confy's feature flags confy can be used with either TOML , YAML , or RON files. TOML is the default language used with confy but any of the other languages can be used by enabling them with feature flags as shown below. Note: you can only use one of these features at a time, so in order to use either of the optional features you have to disable default features. Using YAML To use YAML files with confy you have to make sure you have enabled the yaml conf feature and disabled both toml conf and ron conf . Enable the feature in Cargo.toml : Using RON For using RON files with confy you have to make sure you have enabled the ron conf feature and disabled both toml conf and yaml conf . Enable the feature in Cargo.toml : Changing Error Messages Information about adding context to error messages can be found at Providing Context Config File Location confy uses the etcetera crate to store your configuration files, the common locations for those depend on the stratgey usd App Strategy or Native Strategy , below are the common OS paths, you can change the strategy using the built-in change config strategy function. App Strategy This is the default strategy in version 2.0.0 +. It uses the XDG format on both Linux and MacOS systems. Linux macOS Windows --- --- --- $XDG CONFIG HOME / or $HOME /.config/ $HOME /.config/ {FOLDERID RoamingAppData} / /config Wher","default_branch":null,"files":null,"tree":[],"storefront":"/r/rust-cli","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/rust-cli/confy/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}