-
Notifications
You must be signed in to change notification settings - Fork 5
chore(deps): update versions of Rust, Rocket and Rusoto #209
Conversation
ac42472
to
406f0d2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes look reasonable and the tests pass, 👍
src/bin/service.rs
Outdated
@@ -58,7 +51,7 @@ fn main() { | |||
let config = settings | |||
.build_rocket_config() | |||
.expect("Error creating rocket config"); | |||
rocket::custom(config) | |||
rocket::custom(config, settings.log.level.0.as_str() != "off") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the .0
here going to conflict with you other PR where you remove the use of this .0
style?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ha, yes it is. 😄
@@ -24,7 +24,6 @@ | |||
//! [send]: ../fxa_email_send/index.html | |||
//! [queues]: ../fxa_email_queues/index.html | |||
|
|||
#![feature(assoc_unix_epoch)] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's this one from?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This feature graduated to stable at some point in the three months since we last updated the Rust version, so we no longer need to explicitly pref it on.
406f0d2
to
c152bc8
Compare
Fixes #207.
We've been pinned to an ancient version of Rust for a while and I really wanted to get us updated before cutting train 124 (which is hopefully going to see some traffic). Updating Rust required updating Rocket and Rusoto, so that's done here too. Initially I wanted to do a full
cargo update
but the build fails if you do that because of rust-lang/rust#55376. As soon as that's resolved, we should update the other deps too.Most of the code changes here are because
cargo fmt
. There's also a couple of knock-on code changes from the Rocket update (the disappearance ofrocket_contrib::JsonValue
and the disappearance ofrocket::LoggingLevel::Off
).Because there's a bit going on, I've kept everything as separate commits. If we want to review them separately I'm happy to break this into multiple PRs. Also, as discussed in retro recently, if you want to join me in Vidyo so I can take you through the changes in more detail, I am more than happy to do that.
@mozilla/fxa-devs r?