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

enable encode_to_vec for no_std #594

Merged
merged 5 commits into from Feb 21, 2022

Conversation

ccbrown
Copy link
Contributor

@ccbrown ccbrown commented Feb 11, 2022

Message::encode_to_vec and Message::encode_length_delimited_to_vec, introduced in #378, were previously only available with std-enabled builds.

I can't see any reason why they shouldn't be present with no_std builds. So this PR makes them available to no_std builds as well.

@LucioFranco LucioFranco merged commit ae84e7d into tokio-rs:master Feb 21, 2022
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