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

codec: allow AnyDelimiterCodec to take bytes #6082

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

shikanime
Copy link

@shikanime shikanime commented Oct 16, 2023

Allow more flexibility in AnyDelimiterCodec, such as for non-UTF-8 character sequences, including binary protocols that use control characters for packet splitting.

@Darksonn Darksonn added A-tokio-util Area: The tokio-util crate M-codec Module: tokio-util/codec S-breaking-change A breaking change that requires manual coordination to be released. labels Oct 16, 2023
@Darksonn
Copy link
Contributor

This is a breaking change, but we can keep it around for the next tokio-util major release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-tokio-util Area: The tokio-util crate M-codec Module: tokio-util/codec S-breaking-change A breaking change that requires manual coordination to be released.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants