Page MenuHomeDevCentral

Update for Rocket 0.4 and recent Rust
ClosedPublic

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

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 OK
Unit
No Unit Test Coverage
Branch
update-rocket-4
Build Status
Buildable 3198
Build 3447: arc lint + arc unit

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.