-
Notifications
You must be signed in to change notification settings - Fork 200
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
MSRV policy #965
Comments
I think that table might be misleading because it shows optional and transitive dependencies. On our side, arbitrary is the only remaining thing to bump. And you can see it has no outdated deps. |
PS: we could probably drop support for that old rstar, and I'm not sure what we're using the previous version of geo-types for (called gt-prev in the manifest). |
Thanks for all the comments, that is indeed where my focus was shifting.. it is really helpfully to know when others share or don't share what I am thinking... |
I think your concerns are valid in general, but not really applicable today. Next steps would probably be to drop 1.58 from CI and update rust-version in the manifests, then bump arbitrary, then maybe drop the old rstar. |
I appreciate what you say about cargo outdated -R My context : - I have written 3 crate/libraries which all depend of "geo". When I use those libraries to write a application, well the dependency tree looks overly inflated and compile performance is just a nightmare. Last month, two levels downstream - I took this approach, and de-duped my own library -- It was a big improvement .. but still not a fix. so two levels down cargo outdated .. is a real truth teller. and when you say
I think differently, I know this can be helpful. When I analyse my own problem I know I can only make real progress until I move this PR forward #908 . That PR will limit this project to "Rust 2021 Edition" But hey each PR should have a singular focus |
Thanks for moving us into the ✨Future✨ @martinfrances107!
I think we decided this would entail a breaking bump to geo-types. Though we pretty often and eagerly bump the geo crate, we're more conservative with geo-types. geo-types is a relatively widely used crate that we encourage library maintainers to integrate with. Whenever we bump it, that change needs to ripple across the ecosystem. We're like a guest staying in their home, so we try to be polite. That said, if there's a good reason to bump it, we should. Is the optional old version of rstar causing some kind of problem? |
I don't think so, only confusion. Maybe we can schedule it for the next breaking release? |
What duplicate dependencies does |
Before I act, I just want to give the rationale, to firm up the "probably" in this quote
Copied from the code base, here is the explanation for the rstar / namespaced-features
When I follow the link I see
So ignoring my drives, the wider case is a maintenance patch is to simplify the use of rstar |
Would that improve the build times or reduce the number of dependencies? |
In the cold light of day, syncing up version numbers in my libraries solved all the issues, but I could ONLY do that as I am the maintainer of those 3 libraries, in the general case the problem is intractable and persists until someone works their way upstream, through several open source communities/projects ... a tough ask. The only valid response to this problem ... is known, "In your own code base be extremely circumspect when pulling in a new dependency, make sure the community is vibrant, and has well considered MSRV policy. I am not a security expert but the other motivation for the change I am advocating is "Simplified" is better/ "more secure" if only because now needless features increase the attack surface, and or make the security review more error prone. Along those lines, If I remember correctly floppy disk drive support in Linux was considered working and stable - until a zero day was spotted .. then response was just drop the whole floppy module. |
#968 we now have a candidate PR ... Opps I need to update the change log, at the very least... |
PR #963 strove to fix all the notifications reported by
We finished by reducing the patch to ONLY updating the packages that could be fixed without a formal policy decision.
I think we have a 'living' policy, something not written down.
Formalising this will be disruptive, so this issue is a request for feedback..
I am going to work in (1) NOW
[All credit to lnicola. This issue is largely a write up of his reviews in that PR]
Today after #963 was merged below is the "outdated" report.
My immediate want is de-duplicate this list to only include packages once
( generic_array, has32 etc. )
The text was updated successfully, but these errors were encountered: