Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider using (something like) NestedText as config format #3

Closed
dbofmmbt opened this issue Mar 5, 2024 · 4 comments
Closed

Consider using (something like) NestedText as config format #3

dbofmmbt opened this issue Mar 5, 2024 · 4 comments
Assignees
Labels
F-Configuration Functionality relating to configuration

Comments

@dbofmmbt
Copy link

dbofmmbt commented Mar 5, 2024

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.

@jamesmunns
Copy link
Collaborator

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?

@jamesmunns jamesmunns added the F-Configuration Functionality relating to configuration label Mar 25, 2024
@jamesmunns jamesmunns added this to the Kickstart Spike 1 milestone Mar 25, 2024
@jamesmunns
Copy link
Collaborator

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.

@jamesmunns
Copy link
Collaborator

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.

@jamesmunns
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F-Configuration Functionality relating to configuration
Projects
None yet
Development

No branches or pull requests

2 participants