-
Notifications
You must be signed in to change notification settings - Fork 264
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
Config options should not affect the public API #2509
Comments
My gut feeling is it shouldn't and only features should affect the public API - I don't have a great reasoning for that, but it doesn't feel right to change the API based on a configuration option Technically the difference is "just" that other crates can activate a feature while only the binary-crate can set a config option The linked comment however is a very interesting case: |
I agree, config options shouldn't affect the public API, I think we're better off adding those sorts of changes as features. We previously weren't keen on doing so because of the number of features we already had 😅, but we've reduced the number massively in recent months. To action this change we need to:
|
Well I guess it's better if I respect this in the embassy-time PR 🥲 |
embassy-time is an interesting case since that's almost exclusively setup by the application rather than a library. I say "almost" because frameworks are a thing, a library could be providing some kind of |
Continuing the discussion from #2422 (comment)
We need to answer this question and then write the appropriate API-GUIDELINES to avoid violating this decision.
The text was updated successfully, but these errors were encountered: