Use `figment` crate instead of rolling your own configuration system
opened this issue · comments
Deleted user commented
Describe the solution you'd like
The functionality of src/lib/global/settings.rs would be better served by the figment crate.
Seltyk commented
Typical Rust-brain: "why do this in 80 lines when I can statically link another library that does more than I need?"
Deleted user commented
The 80 lines have to be good for that argument to work. This is 80 lines littered with expect()
calls to define 2 configuration options.
Deleted user commented
feature/figment
branch is ready to be pushed once added as a contributor
Boston Vanseghi commented
@wildernessems Feel free to open a PR with these changes. 👍🏻