Skip to content
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

Drop the "unstable" feature #162

Merged
merged 1 commit into from Dec 17, 2022
Merged

Drop the "unstable" feature #162

merged 1 commit into from Dec 17, 2022

Conversation

albertofaria
Copy link
Contributor

This is a proposal to drop the "unstable" feature.

Dependent crates that rely on "unstable" functionality need to restrict the set of supported io-uring versions to a predetermined closed range (e.g. >=0.5.6, <=0.5.8), just in case a future release breaks compatibility. This makes io-uring version incompatibilities in a dependency graph more likely, and can complicate packaging for distributions (see https://bugzilla.redhat.com/show_bug.cgi?id=2124697#c76 for an example).

Let's rely on the fact that we're pre-1.0 to safely try out new APIs instead.

Since we're removing a feature, this will require a bump to 0.6.0. Alternatively, we can keep the feature but make it functionless.

@quininer
Copy link
Member

I actually agree with this. I added this feature because io-uring was in a period of rapid development and I wasn't sure if designed interface was suitable. but now development of io-uring crate has slowed down considerably.

I prefer to keep an empty feature.

Dependent crates that rely on "unstable" functionality need to restrict
the set of supported io-uring versions to a predetermined closed range
(e.g. >=0.5.6, <=0.5.8), just in case a future release breaks
compatibility. This makes io-uring version incompatibilities in a
dependency graph more likely, and can complicate packaging for
distributions (see [1] for an example).

Let's rely on the fact that we're pre-1.0 to safely try out new APIs
instead. Still, keep an unused "unstable" feature on the io-uring crate
to avoid breaking compatibility.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=2124697#c76

Signed-off-by: Alberto Faria <afaria@redhat.com>
@albertofaria
Copy link
Contributor Author

v2:

  • Keep an unused "unstable" feature on the io-uring crate.

@quininer quininer merged commit 8346194 into tokio-rs:master Dec 17, 2022
@quininer
Copy link
Member

Thank you!

@albertofaria albertofaria deleted the unstable branch December 18, 2022 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants