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

Replace io-lifetimes with std::os::fd #642

Merged
merged 1 commit into from
Aug 25, 2023

Conversation

linkmauve
Copy link
Contributor

Since Rust 1.63, most of the features of io-lifetimes have been merged into std, including the only three we are using: OwnedFd, BorrowedFd and the AsFd trait.

This bumps our MSRV, but this is the MSRV of the newest io-lifetimes anyway.

I kept reexporting io_lifetimes as it was part of the public interface, but since it isn’t used any more it would be nice to remove it before the next minor version bump. I can prepare a commit for that.

This partially conflicts with #640.

Since Rust 1.63, most of the features of io-lifetimes have been merged
into std, including the only three we are using: OwnedFd, BorrowedFd and
the AsFd trait.

This bumps our MSRV, but this is the MSRV of the newest io-lifetimes
anyway.

I kept reexporting io_lifetimes as it was part of the public interface,
but since it isn’t used any more it would be nice to remove it before
the next minor version bump.  I can prepare a commit for that.
Copy link
Member

@elinorbgr elinorbgr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the late review. Thanks, I'll merge this and build upon it. 👍

@elinorbgr elinorbgr merged commit e081364 into Smithay:master Aug 25, 2023
2 checks passed
@linkmauve linkmauve deleted the stub-out-io-lifetimes branch November 30, 2023 10:03
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.

2 participants