Aardwolf-Social / aardwolf-social

Powering connected social communities with open software.
https://aardwolf.social
GNU Affero General Public License v3.0
485 stars 44 forks source link

TODO: Implement a new crate for server-side configuration management. #332

Open BanjoFox opened 1 month ago

BanjoFox commented 1 month ago

Current build, and complies there are numerous warnings about not implementing ConfigBuilder. Having familiar, and accessible ways to configure the server-side part of the application will go a long way towards adoption once we finally get to test releases, and beyond.

There are two crates that I personally feel would be good fits.

config -- Seems to be the "go-to" config crate for maximum flexibility. https://docs.rs/config/latest/config/

toml_env - Similar flexibility, advertised as low-dependency crate. https://docs.rs/toml-env/latest/toml_env/

I am open to other crates though. There are certainly some tempting ones linked in the toml_env docs.

sonigitkhushi commented 1 month ago

hey @BanjoFox, please assign this issue to me.

BanjoFox commented 1 month ago

I am curious to see what you come up with. Do you have a plan?