Named both for the NASA Dawn mission and that it turned up when I did a thesaurus search for Countdown. It's a replacement for the previously excellent TfL Countdown site, which they recently got rid of. I was annoyed by this, until they turned out to have done a lot of work to their API recently, so I could fix this.
- Make new Heroku app
heroku git:remote --app dawn-stops(replacing "dawn-stops" with the name of your app)
heroku buildpacks:set https://github.com/Hoverbear/heroku-buildpack-rust.git
heroku config:set RUST_VERSION=1.21.0 TZ="Europe/London" RUST_BACKTRACE=1
git push heroku master
AWS Lambda Setup
This uses actix_lambda and you should follow the setup instructions over there to make this work there
Only change needed is doing the build as
cargo build --release --target x86_64-unknown-linux-musl --no-default-features --features lambda so we don't enable
mocking on lambda as reqwest_mock needs a version of reqwest that still uses OpenSSL all the time.