-
Notifications
You must be signed in to change notification settings - Fork 432
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
Depdendency explosion #713
Comments
Ha, sorry, not a bug. We have to use an upgrade shim to make As for the rest — we haven't included the kitchen sink, but there is a lot of functionality we have chosen to cover, and we made the decision to go modular, which means lots of small libs. Some of that will be reduced in the future once we remove deprecations. What functionality do you use? |
I'm not, but very many packages that I use have rand as a dependency, so I've watched rand_isaacs/pcg/foobar build many times. I'd prefer if ring was just a single, small crate with the most essential features. |
Look, I think you do have a good point here that we pull in a lot of crates, but I also need a better answer than that to do much about it. You give an example which is merely a test crate — well, there's no need to import Rand if you're not using its functionality. You then mention crates only using Your test build pulls in 13 crates besides
So what does that gives us? In the near future we should have +1 -7 dependencies, bringing us down to 7. Of the remainder:
So there is already a plan to reduce the dependencies by approx half. Is this good enough? The other angle is moving
|
I noticed that depending on rand now comes with two different versions of rand_core.
And in fact it seems that it is rand_core itself, depending on it's future self.
I presume this is a bug... if not I'd kindly suggest to try a slightly more minimalistic approach.
FYI all those crates still compiled just fine when I manually replaced rand_core v0.3 by v0.4 everywhere.
The text was updated successfully, but these errors were encountered: