Skip to content

Conversation

erickt
Copy link
Contributor

@erickt erickt commented Jun 10, 2017

In Rust 1.15, the function char::encode_utf8 was stabilized. Assuming
that rmp follows the serde standard of supporting the last 3 stable
releases, this function is now safe to use. I believe this removes the
last allocation required on the serialization path.

In Rust 1.15, the function `char::encode_utf8` was stabilized. Assuming
that rmp follows the serde standard of supporting the last 3 stable
releases, this function is now safe to use. I believe this removes the
last allocation required on the serialization path.
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.05%) to 86.02% when pulling b20f133 on erickt:master into d78f3ee on 3Hren:master.

@3Hren
Copy link
Owner

3Hren commented Jun 11, 2017

Great, thanks for the PR!

AFAIK someone (@bluss at least) uses rmp-serde crate with 1.13. If it doesn't hurt anyone else, I'll merge this PR with major version bump.

@bluss
Copy link

bluss commented Jun 11, 2017

I can adapt. Major version for Rust version upgrades is the policy I've been using, but I can handle if this crate doesn't agree. Any recent changes in the conventional wisdom here?

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.004%) to 87.095% when pulling 9476f25 on erickt:master into d5cfd5a on 3Hren:master.

@3Hren
Copy link
Owner

3Hren commented Jul 21, 2017

Manually rebased and merged: 5bbdbc7

@3Hren 3Hren closed this Jul 21, 2017
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.

4 participants