Page MenuHomeDevCentral

Update for Rocket 0.4 and recent Rust
ClosedPublic

Authored by dereckson on Dec 31 2018, 21:19.
Tags
None
Referenced Files
F3792651: D2048.id5176.diff
Wed, Nov 27, 17:39
F3792620: D2048.id5177.diff
Wed, Nov 27, 17:34
F3792149: D2048.diff
Wed, Nov 27, 15:45
F3792117: D2048.id5176.diff
Wed, Nov 27, 15:32
Unknown Object (File)
Mon, Nov 18, 02:53
Unknown Object (File)
Mon, Nov 18, 02:21
Unknown Object (File)
Wed, Nov 13, 02:48
Unknown Object (File)
Sat, Nov 9, 14:39
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.