Page MenuHomeDevCentral

Update for Rocket 0.4 and recent Rust
ClosedPublic

Authored by dereckson on Dec 31 2018, 21:19.
Tags
None
Referenced Files
F2962337: D2048.id5177.diff
Sat, May 18, 14:47
F2962336: D2048.id5176.diff
Sat, May 18, 14:47
F2962335: D2048.id5175.diff
Sat, May 18, 14:47
F2961877: D2048.id5175.diff
Sat, May 18, 14:06
Unknown Object (File)
Sat, May 18, 02:23
Unknown Object (File)
Mon, May 13, 09:24
Unknown Object (File)
Mon, May 13, 05:29
Unknown Object (File)
Sun, May 12, 20:41
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.