Commit graph

15 commits

Author SHA1 Message Date
Luca Palmieri
6ee13add72 Update dependencies. 2021-12-28 12:51:15 +01:00
Luca Palmieri
fc2f484971 Add secrecy. 2021-12-27 13:07:19 +01:00
Luca Palmieri
2d984f4147 Remove tracing-futures. 2021-12-27 11:16:17 +01:00
Luca Palmieri
c5f7b619d8 Update to 2021 edition. 2021-12-27 10:59:03 +01:00
Luca Palmieri
8d8e5e4df5 Update tracing bunyan formatter and tracing-subscriber. 2021-12-26 16:28:03 +01:00
Luca Palmieri
15f3173723 Update to latest actix-web. 2021-09-11 20:44:18 +02:00
Luca Palmieri
7a506b7a81 Update actix-http. 2021-08-31 23:27:49 +02:00
LukeMathWalker
c8396cb078 Update to latest version of actix-web, sqlx and tracing-actix-web. 2021-07-11 16:10:55 +01:00
LukeMathWalker
8584ce6891 Update to use once_cell instead of lazy_static.
Use a custom sink instead of different log levels to silence logs in tests.
2021-05-01 15:11:11 +01:00
LukeMathWalker
ef960053b3 Update to tokio 1 2021-02-11 08:59:55 +00:00
Luca Palmieri
5470836866 Update CI + update sqlx 2020-12-05 19:05:07 +00:00
Luca Palmieri
9975bf327e Chapter 04 (snapshot). 2020-12-05 17:03:39 +00:00
Luca Palmieri
0a4addc6bb
Chapter 5 (#13)
* Add chapter 5

* Basic deployment stuff

* Fix Dockerfile.

* Add an explicit connection timeout.

* Align port with configuration.

* Use debug for faster feedback loops.

* Add address configuration.

* Provision database.

* Use structured options.

* Add configuration

* Fix typo.

* Customise deserialization logic.

* Change to Require.

* Fix spec.

* Add a few more things to the dockerignore file.

* Update to match chapter.

* Add base configuration.

* Amend configuratiohn.

Co-authored-by: LukeMathWalker <rust@lpalmieri.com>
2020-11-01 21:25:11 +00:00
Luca Palmieri
3e553eaf60
Chapter04 (#9)
* Add chapter 4 code.

* Add logger middleware.

* Add env_logger.

* Instrumented.

* Test logs.

* Introduce instrument.

* Refactor handler.

* Use TracingLogger.

* Update.

* Fix linter error.
2020-09-27 17:09:42 +01:00
LukeMathWalker
7e63ca87bd Scaffolding 2020-08-23 11:34:29 +01:00