memorysafety / river

This repository is the home of the River reverse proxy application, based on the pingora library from Cloudflare.

Home Page:https://www.memorysafety.org/initiative/reverse-proxy/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Consider using (something like) NestedText as config format

dbofmmbt opened this issue · comments

Sorry if this isn't the best place to talk about this, but I wanted to suggest using something like NestedText as a configuration file because it is easy to understand for humans and machines and it is way simpler than alternatives like YAML, resulting in simpler configuration and less footguns for end users.

Hey @dbofmmbt, I haven't seen NestedText yet, nor chosen a configuration file format for River yet. I'll give NestedText a look.

Are you aware of a rust implementation of the parser?

I only see one hit on nestedtext on crates: https://crates.io/crates/nestedtext

However this appears to just be a squatted crate, the published crate is empty, the repo link is wrong (though there is a similar repo from that user), but it is also empty.

I've written up an RFC regarding this: #13, though if there is not an existing NestedText implementation of reasonable quality in Rust, I am likely to choose another format.

Closing this as it has been superceded by #13 and #1.