-
-
Notifications
You must be signed in to change notification settings - Fork 232
Unused configuration dependencies still evaluated #904
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
Comments
In my opinion, this is a really big problem, because it also applies to dependencies. For example, if my project has This is a big problem in memory constrained areas. And just today while talking to somebody at dcond, I found out that it also prevents wider adoption of D by businesses because it creates problems with compliance processes and so on (you have to check all downloaded dependencies, even if they are not used...). #1148 Seems to be a bit related to this, but I think it is still a different issue. Does anybody have an idea how to tackle this? |
I just found another annoying problem with this: If a dependency of your package hard dependes ( The concrete example is the following: My project depends on |
When I try compile a project that depends on a project with the below configurations the "api-server" "onyx-config" dependency is still evaluated and is shown as missing. If I remove the configuration "api-server" then my project that depends on this library compiles fine. Would be great if dub could just avoid evaluating the unused configuration.
The text was updated successfully, but these errors were encountered: