Commit graph

65 commits

Author SHA1 Message Date
Luca Palmieri f60dcf9974 Update to sqlx 0.7 2023-09-14 09:47:55 +02:00
Luca Palmieri 18c3854c37 Update linker configuration for macs 2023-09-13 09:54:47 +02:00
Luca Palmieri 94d3ec173f Update outdated dependencies 2023-02-18 22:16:29 +00:00
Luca Palmieri 6e541fd28e Use Postgres 14, the latest available version of Postgres on Digital Ocean 2023-02-18 22:15:24 +00:00
Luca Palmieri 4abcf2dbe1 Update Cargo.lock 2023-02-18 18:17:30 +00:00
Luca Palmieri 436a31f3db Update CI. 2023-02-18 18:17:15 +00:00
Luca Palmieri 2215bd726b Fix CI 2022-10-01 18:32:25 +01:00
Luca Palmieri 5779cb1f29 Update deps 2022-10-01 14:29:16 +01:00
Luca P a855e9d8ba Update tracing-actix-web 2022-07-05 17:50:34 +01:00
Luca P e82f0c656c Upgrade uuid, sqlx and config 2022-07-05 17:49:33 +01:00
Luca P f2103c2720 Update README. 2022-03-14 11:18:14 +00:00
Luca P 632812cf48 Add linker configuration 2022-03-11 22:44:12 +00:00
Luca P 102d43e377 Remove unnecessary clippy allow 2022-03-09 09:24:22 +00:00
Luca P b87f88f977 Update to actix-web v4 2022-02-25 23:58:57 +00:00
Luca Palmieri 44a350f83e Update to actix-web beta.19 2022-01-05 18:15:18 +00:00
Luca Palmieri d9c0b8fc83 Update to actix-web beta.19 2022-01-05 18:13:54 +00:00
Luca Palmieri 67247e070f Fix clippy errors 2021-12-28 17:47:16 +01:00
Luca Palmieri 6ee13add72 Update dependencies. 2021-12-28 12:51:15 +01:00
Luca Palmieri 3cd67f165e Do not use backticks - they lead to the script trying to execute the quoted command. 2021-12-28 12:19:19 +01:00
Luca Palmieri fc2f484971 Add secrecy. 2021-12-27 13:07:19 +01:00
Luca Palmieri 7129a0d4b4 Run cargo-update 2021-12-27 11:31:43 +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 ea72fa9017 Fix clippy lint. 2021-09-11 21:48:29 +02: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
Pedro de Matos Fedricci d6cd6f08fd Cache sqlx-cli in CI 2021-08-31 23:22:09 +02:00
LukeMathWalker 0ca3df44e1 Fix code coverage. 2021-08-01 21:09:08 +01:00
LukeMathWalker fbdb7aebe6 Fix name conflict with name from the bunyan format. 2021-07-16 09:00:42 +01:00
LukeMathWalker c8396cb078 Update to latest version of actix-web, sqlx and tracing-actix-web. 2021-07-11 16:10:55 +01:00
Luca Palmieri daa919b3e1 Proactively verify if psql and sqlx are installed before moving forward with script execution. 2021-07-05 08:58:44 +02:00
Luca Palmieri b11a20d3b3 Update to the latest lexical core version to avoid conflicts with the new BITS constants 2021-07-05 08:35:46 +02:00
Luca Palmieri d186035784 Use the latest version of sqlx-cli, 0.5.5.
0.5.1 does not work anymore due to a conflict between a constant added to the standard library and a crate in our dependency tree.
2021-07-05 08:09:11 +02: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
Luca Palmieri 02563384a5 Fix migration script. 2021-04-28 20:41:53 +01:00
LukeMathWalker c586c5b65a Update DB script. 2021-04-02 11:47:51 +01:00
LukeMathWalker 85f29d9c42 Update CI. 2021-02-11 09:07:59 +00:00
LukeMathWalker ef960053b3 Update to tokio 1 2021-02-11 08:59:55 +00:00
LukeMathWalker d81dcb2e40 Update clippy and fmt jobs. 2021-01-23 18:00:23 +00:00
Luca Palmieri 5470836866 Update CI + update sqlx 2020-12-05 19:05:07 +00:00
Luca Palmieri 1190962587 Update README. 2020-12-05 17:27:07 +00:00
Luca Palmieri 9975bf327e Chapter 04 (snapshot). 2020-12-05 17:03:39 +00:00
Luca Palmieri 95e403575a
Use debian as base image. (#16) 2020-11-04 10:09:04 +00:00
Luca Palmieri 918af7a6c4
Fix Dockerfile (#14)
* 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.

* Cache the copied files.

* Explicitly set the SQLX OFFLINE variable.

* Fix Dockerfile.

Co-authored-by: LukeMathWalker <rust@lpalmieri.com>
2020-11-01 23:27:34 +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 d21c36f74f Ensure consistency of variable naming. 2020-10-18 14:35:08 +01:00
LukeMathWalker 1a4ead9b74 Do not change struct name. 2020-10-18 14:22:22 +01:00
LukeMathWalker ff99488030 Remove anyhow. 2020-10-18 14:13:27 +01:00