Page MenuHomeDevCentral

Update for Rocket 0.4 and recent Rust
ClosedPublic

Authored by dereckson on Dec 31 2018, 21:19.
Tags
None
Referenced Files
F2740534: D2048.id5175.diff
Wed, Mar 27, 21:37
Unknown Object (File)
Wed, Mar 27, 02:23
Unknown Object (File)
Fri, Mar 22, 19:20
Unknown Object (File)
Fri, Mar 22, 04:06
Unknown Object (File)
Mon, Mar 18, 10:08
Unknown Object (File)
Sun, Mar 17, 12:56
Unknown Object (File)
Sun, Mar 17, 03:11
Unknown Object (File)
Sun, Mar 17, 03:11
Subscribers
None

Details

Summary

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

Repository
rLF Limiting Factor
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

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