Commit graph

19 commits

Author SHA1 Message Date
Luca Palmieri
3f1bc9bb79 Update actix-web. 2021-12-26 16:15:49 +01:00
Luca Palmieri
fe52f5f9f6 Update to latest actix-web. 2021-09-11 20:43:19 +02:00
Luca Palmieri
5ea25c7c8b Update actix-http. 2021-08-31 23:26:16 +02:00
LukeMathWalker
44ea635c27 Update to latest sqlx. 2021-07-11 14:19:35 +01:00
LukeMathWalker
502fe0c37e Update to actix-web 4.0.0-beta.8 2021-07-11 14:16:14 +01:00
Luca Palmieri
09381946cf Update to the latest lexical core version to avoid conflicts with the new BITS constants 2021-07-05 08:36:25 +02:00
LukeMathWalker
8a4f21a94c Update to latest tokio / actix-web / sqlx / reqwest. 2021-02-11 08:11:45 +00:00
Luca Palmieri
8aaed7bef8 Use rustls 2020-12-05 19:03:08 +00:00
Luca Palmieri
13da6f9b28 Update to latest sqlx (+ general deps update). 2020-12-05 18:11:13 +00:00
Luca Palmieri
0b675be903 Chapter 03 - Part 1 (snapshot). 2020-12-05 16:59:56 +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
LukeMathWalker
39b7682fea Updated to the latest actix-web version. 2020-10-18 15:44:04 +01:00
LukeMathWalker
ff99488030 Remove anyhow. 2020-10-18 14:13:27 +01:00
LukeMathWalker
cfb11a798d Remove unused dependencies. 2020-10-18 13:50:32 +01: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
Luca Palmieri
24dccda00c
Chapter 3 Part 1 - Patches (#4)
* Adjust content encoding.

* Refactor assertion.

* Add one more test case

* Fix assertions.

* Fix route.

* Stricter assertions

* Few fixes.

* Formatting
2020-08-31 02:05:21 +01:00
Luca Palmieri
656ee46c09
Chapter03, Part 1 (#2) 2020-08-25 22:19:53 +01:00
LukeMathWalker
8f86c3bccf Populate Chapter3 (Part0) 2020-08-23 11:53:08 +01:00
LukeMathWalker
7e63ca87bd Scaffolding 2020-08-23 11:34:29 +01:00