Skip to content

Use tokio_util::io::poll_read_buf instead of manual impl#78

Open
paolobarbolini wants to merge 1 commit intoberkowski:masterfrom
paolobarbolini:read-buf
Open

Use tokio_util::io::poll_read_buf instead of manual impl#78
paolobarbolini wants to merge 1 commit intoberkowski:masterfrom
paolobarbolini:read-buf

Conversation

@paolobarbolini
Copy link
Copy Markdown

@paolobarbolini paolobarbolini commented Jan 25, 2025

While auditing usage of bytes I've found this crate manually re-implements tokio_util::io::poll_read_buf. Given that tokio-util is already a dependency, the io feature doesn't import any other dependency, and the manual implementation uses unsafe, I think it'd be worth it to replace this manual implementation with an official one.

@paolobarbolini
Copy link
Copy Markdown
Author

Ping @berkowski @estokes @ColinFinck

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.

1 participant