futures-rs icon indicating copy to clipboard operation
futures-rs copied to clipboard

Expose BiLock as a separate crate or without "unstable"?

Open kyren opened this issue 3 years ago • 2 comments

Would it be possible to expose BiLock in a way that follows semver, even if it is separate from the normal future crates? I don't even mind if it updates extremely often, but as it is now it's not really possible for a library to depend on BiLock since it would mean the library itself does not follow semver, or would possibly require an exact bound on futures-util.

I suppose you could make the same argument about the other unstable features as well so I understand if this is too much of a headache to bother with. I'd really like to use BiLock in a library though, as I'm not aware of another way to provide a poll style interface on top of something that needs to share a futures-aware mutex.

kyren avatar Dec 11 '20 23:12 kyren

We can stabilize bilock once https://github.com/rust-lang/futures-rs/pull/2384 is merged.

taiki-e avatar May 06 '21 12:05 taiki-e

any progress here? I would love to see the bilock feature not requiring nightly.

jonassmedegaard avatar Feb 18 '24 09:02 jonassmedegaard