You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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 refactorBest path forward will be to read how other big rust projects handle their own configs
The text was updated successfully, but these errors were encountered: