Remove last dependency on pin-project#629
Conversation
It is no longer recommended to set it: rust-lang/api-guidelines#230
Path dependencies are not problematic for publishing as long as a version is also specified.
The only thing it was generating is written out into the source instead.
|
I'm sympathetic to On the other hand, I'm also conTcerned that this change will make tools like Removing While we're here though: why does |
|
Also note that #550 tracks updating the |
|
My 2 cents: I think we should leave While we're at it I also think we should change |
It's part of futures-util: https://docs.rs/futures-util/latest/futures_util/future/enum.Either.html What I wrote about
👍 I've had this issue as well and had to roll my own |
Followup to / depends on #603.
Was controversial and thus split out into its own PR (see #603 (comment) and following comments). The reason this can't be done using
pin-project-liteis now documented as a code comment.With a breaking-change coming up soon-ish, I think another alternative would be to replace this type with the one from the
eithercrate and have them provideEitherProjplus the necessary unsafe code That would imply moving theLayerandServiceimplementations forEitherout totower-service&tower-layerbut I think that should be fine. It would also imply a bunch of extra impls onEitherthat may or may not be nice to have, as well as an extra API change sinceeither::EitherhasLeftandRightvariants rather thanAandB.cc @olix0r @davidpdrsn