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
We can really clean up a lot of needlessly confusing code and also support of config file by taking advantage of figment. Basically the same figment config would be passed to the Trow frontend, Rocket and the Trow backend. The Trow frontend would need to add some config for Rocket. Each step would just pull out the keys they need and ignore the rest.
As a second step it should be trivial to add support for an external YAML/json file holding config.
The text was updated successfully, but these errors were encountered:
With Trow moving to use Rocket 0.5, the way configuration is handled has changed. Rocket now uses the much more flexible figment system: https://docs.rs/figment/0.10.6/figment/index.html.
We can really clean up a lot of needlessly confusing code and also support of config file by taking advantage of figment. Basically the same figment config would be passed to the Trow frontend, Rocket and the Trow backend. The Trow frontend would need to add some config for Rocket. Each step would just pull out the keys they need and ignore the rest.
As a second step it should be trivial to add support for an external YAML/json file holding config.
The text was updated successfully, but these errors were encountered: