Commit graph

65 commits

Author SHA1 Message Date
Luca Palmieri 874b4fd467 Update to sqlx 0.7 2023-09-14 09:43:32 +02:00
Luca Palmieri 16677da72d Update linker configuration for macs 2023-09-13 09:54:29 +02:00
Jérôme MEVEL 8d80b66b76
feat(.github/workflows/general.yml): improving file a bit (mostly adding comments) (#201) 2023-03-28 14:27:55 +01:00
Luca Palmieri f65f6e5a19 Use Postgres 14, the latest available version of Postgres on Digital Ocean 2023-02-18 22:14:52 +00:00
Luca Palmieri e567c4180f Update Cargo.lock 2023-02-18 18:16:20 +00:00
Luca Palmieri 5413261103 Update CI. 2023-02-18 18:16:20 +00:00
Luca Palmieri 7e3ee6cfc3 Fix CI 2022-10-01 18:30:20 +01:00
Luca Palmieri f42452582e Update 2022-10-01 14:28:12 +01:00
Luca P a7ca2b06b5 Update to latest sqlx, config and uuid 2022-07-05 17:47:21 +01:00
Luca P 7e997e9a6c Update README. 2022-03-14 11:17:25 +00:00
Luca P 8a6bcdd07c Add linker configuration 2022-03-11 22:43:57 +00:00
Luca P 1611f8de18 Remove unnecessary clippy allow 2022-03-09 09:23:54 +00:00
Luca P fad7688308 Update to actix-web v4 2022-02-25 23:57:18 +00:00
Luca Palmieri 96abe6eaf6 Update to actix-web beta.19 2022-01-05 18:13:00 +00:00
Luca Palmieri 3604e4d8be Update dependencies. 2021-12-28 12:46:26 +01:00
Luca Palmieri 94b0b5d30e Do not use backticks - they lead to the script trying to execute the quoted command. 2021-12-28 12:18:38 +01:00
Luca Palmieri 117d506ede Run cargo-update 2021-12-27 11:31:20 +01:00
Luca Palmieri 0b29eb3abe Update to 2021 edition. 2021-12-27 10:56:47 +01:00
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
Pedro de Matos Fedricci 9b2ff6bd9f Cache sqlx-cli in CI 2021-08-31 23:22:21 +02:00
LukeMathWalker 29eb213e59 Fix code coverage. 2021-08-01 21:08:31 +01: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 df954b1250 Proactively verify if psql and sqlx are installed before moving forward with script execution. 2021-07-05 08:55:57 +02: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
Luca Palmieri a55779024a 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:23 +02:00
Luca Palmieri 62f6ab6b3d Fix migration script. 2021-04-28 20:42:05 +01:00
LukeMathWalker 734b490e03 Update postgres script. 2021-04-02 11:43:54 +01:00
LukeMathWalker 5ca51e11d5 Update CI. 2021-02-11 09:08:21 +00:00
LukeMathWalker aa09fed081 Tokio is a dev dependency. 2021-02-11 08:52:04 +00:00
LukeMathWalker 8a4f21a94c Update to latest tokio / actix-web / sqlx / reqwest. 2021-02-11 08:11:45 +00:00
LukeMathWalker 384f2c5202 Update clippy and fmt jobs. 2021-01-23 18:00:03 +00:00
Luca Palmieri 8aaed7bef8 Use rustls 2020-12-05 19:03:08 +00:00
Luca Palmieri 88f12d91f4 Fix CI. 2020-12-05 18:53:24 +00:00
Luca Palmieri b528653dc5 Try fixing CI. 2020-12-05 18:45:46 +00:00
Luca Palmieri 5535044e8c Try fixing CI. 2020-12-05 18:32:26 +00:00
Luca Palmieri 30e838f6c5 Try fixing CI. 2020-12-05 18:22:18 +00:00
Luca Palmieri 13da6f9b28 Update to latest sqlx (+ general deps update). 2020-12-05 18:11:13 +00:00
Luca Palmieri 3da056ac6b Adapt CI to sqlx-cli 2.0 2020-12-05 17:53:20 +00:00
Luca Palmieri cd8a60fdf5 Update README. 2020-12-05 17:26:37 +00:00
Luca Palmieri 0b675be903 Chapter 03 - Part 1 (snapshot). 2020-12-05 16:59:56 +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