[rust-dev] Configuration files library for Rust
chris at cmoz.me
Sat Jan 4 12:59:22 PST 2014
I second the sysctl syntax it’s very easy to grep through configuration files in this format. The “key” prefix contains the context for the information which is useful.
Riak, a distributed KV dynamo store has recently been moving to the sysctl format from the traditional Erlang `app.config` “format".
On 4 January 2014 at 20:41:59, Christopher Meiklejohn (christopher.meiklejohn at gmail.com) wrote:
On Jan 4, 2014, at 3:39 PM, Tony Arcieri <bascule at gmail.com> wrote:
On Sat, Jan 4, 2014 at 12:35 PM, Daniel Micay <danielmicay at gmail.com> wrote:
I don't buy that. A text editor should be more than capable enough to
stop you from slipping in tabs. If there's a separate untested
configuration for production then you have a problem.
This isn't just a single offhand incident. It's something I've seen a pattern of happening dozens of times over the course of my career. It's happened to me personally, and I've seen it happen to others.
Having separate configuration sections for different environments is a rather common convention in the Rails world. Is it a bad idea? Offhand I can't say: what would you replace it with?
Why not something that looks like sysctl  syntax?
Rust-dev mailing list
Rust-dev at mozilla.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Rust-dev