Page MenuHomeDevCentral

Update for Rocket 0.4 and recent Rust

Authored by dereckson on Dec 31 2018, 21:19.



Rocket 0.4 allows to use directly a Status as a response,
without any need to wrap in a Failure construct. This simplifies
the code and is more intuitive. As such, we've some wrapper methods
to deprecate.

Compiler plugins for code generation is now stabilized,
it's not feature-gated anymore.

Test Plan
  • compile the lib with Rust 1.33.0-nightly (a2b0f247b 2018-12-30)
  • compile a project against the library

Diff Detail

rLF Limiting Factor
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

dereckson requested review of this revision.Dec 31 2018, 21:19
dereckson created this revision.
dereckson updated this revision to Diff 5176.Dec 31 2018, 21:23

Hunt Failure in comments

dereckson accepted this revision.Dec 31 2018, 21:23
This revision is now accepted and ready to land.Dec 31 2018, 21:23
This revision was automatically updated to reflect the committed changes.