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

Goals and non-goals #3

Open
kamalmarhubi opened this issue Apr 3, 2018 · 1 comment
Open

Goals and non-goals #3

kamalmarhubi opened this issue Apr 3, 2018 · 1 comment

Comments

@kamalmarhubi
Copy link

kamalmarhubi commented Apr 3, 2018

For a crate like this, I think it's super important to lay out goals and non-goals. Let's figure out what they are!

Some sources of inspiration for goals and non-goals:

  • configure which has a configuration source trait
  • viper (go): wide ranging, covers env vars and command line args, etcd and consul, and others
@spacekookie
Copy link
Contributor

I think what's absolutely vital for this crate is to not re-invent the wheel. We don't want to replace configure, at most I think what we should consider this crate as is a layer on-top of it to make it more convenient to use.

The name of the crate is confy, like "comfy"/"comfortable". Which means we can sacrifice some flexibility to make the experience for the end-user nicer.

Absolute non-goals would for example be: inventing a new config format, support all config formats out there or even a comprehensive feature list like having multiple config files where fields from one overwrite fields in another.

Viper looks like something that tries to do everything which is not something I think we should replicate or even try to emulate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants