Skip to content

Expose BiLock as a separate crate or without "unstable"?Β #2289

@kyren

Description

@kyren

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-lockArea: futures::lock

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions