Commit graph

17 commits

Author SHA1 Message Date
Luca P 0663a09def Update to actix-web v4 2022-02-25 23:56:02 +00:00
Luca Palmieri 8604d98367 Update to actix-web beta.19. 2022-01-05 18:11:06 +00:00
Luca Palmieri c0d1b050d4 Update dependencies. 2021-12-28 12:45:38 +01:00
Luca Palmieri d14ea5c221 Update to 2021 edition. 2021-12-27 10:56:25 +01:00
Luca Palmieri f80816aad6 Remove actix_rt direct usage. 2021-12-26 15:41:40 +01:00
Luca Palmieri 28d438b478 Remove actix_rt dependency. 2021-12-26 15:37:37 +01:00
Luca Palmieri af9bf0115c Update to latest actix-web. 2021-12-26 15:32:41 +01:00
Luca Palmieri 5cb8192d32 Update to latest actix-web. 2021-09-11 20:42:43 +02:00
Luca Palmieri 9b1fb0159a Update actix-http. 2021-08-31 23:31:08 +02:00
LukeMathWalker d87a690852 Update to actix-web 4.0.0-beta.8 2021-07-11 14:10:43 +01:00
LukeMathWalker bb6cd88cbf Tokio is a dev dependency. 2021-02-11 08:52:18 +00:00
LukeMathWalker 49f2075ac6 Update to latest actix-web beta. 2021-02-11 08:13:24 +00:00
LukeMathWalker a86170188a Update to use latest versions (with tokio 1 support). 2021-02-06 16:15:17 +00:00
Luca Palmieri 004d1c119b Chapter 03 - Part 0 (snapshot). 2020-12-05 16:50:21 +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