Rocket: Support Serde 1.0

Created on 22 Apr 2017  路  13Comments  路  Source: SergioBenitez/Rocket

Captain Obvious here:

Now that Serde 1.0 has been released. I'm excited to use all the libraries with it. I see that currently RocketContrib doesn't yet support 1.0 and a quick cargo build shows at least one breaking change around lifetime parameters.

I'm happy to try and take a whack at it, unless its already done and I'm just dense.

Feature Requests

Feature requests _must_ include:

  1. Why you believe this feature is necessary.

The rust community has adopted Serde, and with 1.0 having been released I believe there will be many requests for Rocket to support a 1.0 version.

  1. A convincing use-case for this feature.

We already use Serde, so this is more of a maintenance task and should hopefully help Rocket Contrib achieve its own 1.0 status.

  1. Why this feature can't or shouldn't exist outside of Rocket.

This is improving existing code

accepted

Most helpful comment

Yes. 0.3 is nearing its release, which will include Serde 1.0 support.

All 13 comments

The issue has been merged and it appears a crate released: https://crates.io/crates/handlebars

Do we need to wait on https://crates.io/crates/rmp-serde to drop a serde="1.0" release as well?

@drusellers Yes, that's right.

Cool. I'll reach out to them as well

@drusellers Thanks so much for being active about this! (You too, @skariel!) :)

@SergioBenitez ha, however I can help. :)

:sparkles:

Any chance for a release with Serde 1.0 support soon-ish?

Yes. 0.3 is nearing its release, which will include Serde 1.0 support.

When is Rocket 0.3 planned for?

Very soon.

Thank you for your quick answer. I look forward to it.
If you need help with something let me know, I'll try to help you

Was this page helpful?
0 / 5 - 0 ratings