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

replace env var based configuration with toml #50

Merged
merged 4 commits into from
Nov 24, 2024

Conversation

apple1417
Copy link
Contributor

No description provided.

env vars just turned out to not work great
setting them just isn't a very well defined thing, especially within the same process and across threads
we've run into constant issues with people not having the env vars propagte properly
originally we thought this was just a proton thing, but it's become increasingly more common on windows too

decided on using toml since it's relatively human friendly, it's used by python which we use downstream, and it kind of fits well with the idea of downstream projects using the same config file with their own settings
the readme's needed a bit of a redo for a while, taking the excuse of needing to update the settings to do so
realized we can't safely expose a string view cross dll (in the config struct)
axing the config struct makes this a lot more similar to the old code
it also means we're not storing an extra copy of half the values
@apple1417 apple1417 merged commit 514605f into bl-sdk:master Nov 24, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant