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

fix(cli): Refactoring config system #221

Open
distractedm1nd opened this issue Jan 20, 2025 · 0 comments
Open

fix(cli): Refactoring config system #221

distractedm1nd opened this issue Jan 20, 2025 · 0 comments
Assignees
Labels

Comments

@distractedm1nd
Copy link
Contributor

Our current config system is a nested mess, and we were not able to correctly extract service specific configs while extracting modules into their own crates. The cfg.rs file does everything at once and is very confusing -- it isn't clear what parameters belong to what, and there is no clear separation between the CLI args and the resulting config. Needs quite a heavy refactor

Best path forward will be to read how other big rust projects handle their own configs

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

No branches or pull requests

3 participants