Commit graph

47 commits

Author SHA1 Message Date
Luca Palmieri
14c95c1c5f Update sqlx to 0.7 2023-09-19 09:19:35 +02:00
Luca Palmieri
5a93bd4018 Fix lint 2023-02-18 22:54:16 +00:00
Luca Palmieri
fa0d11566e Update outdated dependencies 2023-02-18 22:26:43 +00:00
Luca Palmieri
41e8cd1691 Update Cargo.lock and resolve cargo-audit report 2023-02-18 18:34:38 +00:00
Luca Palmieri
1a4da5b2db Fix CI 2022-10-01 18:39:40 +01:00
Luca P
a5efff2637 Update all dependencies 2022-07-05 18:23:27 +01:00
Luca Palmieri
bd94a6c822 Remove direct 'log' dependency 2022-01-02 16:51:46 +01:00
Luca Palmieri
6af1b8572c Fix clippy errors 2021-12-28 17:49:30 +01:00
Luca Palmieri
0967a6030c Use secrecy crate. 2021-12-27 14:29:32 +01:00
Luca Palmieri
dc3837df7c Update to latest version of actix-web, tracing-bunyan-formatter and tracing-subscriber. Use tokio macros instead of actix-web's macros. 2021-12-26 16:48:26 +01:00
LukeMathWalker
4915771980 Lower sqlx's log level 2021-09-30 21:17:09 +01:00
LukeMathWalker
b9cdb5c5c7 Connect lazily 2021-09-29 09:20:50 +01:00
Luca Palmieri
330fb4647b Update actix-web and fix clippy lint. 2021-09-11 21:54:51 +02:00
Luca Palmieri
223ac41248 Keep test suite fast by tuning timeout for tests. 2021-09-01 21:44:13 +02:00
Luca Palmieri
12a7953777 Implement TryFrom instead of TryInto. 2021-09-01 09:23:07 +02:00
LukeMathWalker
ff0f265c6d Fix name conflict with name from the bunyan format. 2021-07-16 09:02:20 +01:00
LukeMathWalker
203a796cfe Update to latest actix-web 2021-07-11 17:47:34 +01:00
LukeMathWalker
7bdc51cae9 Update to latest actix-web. 2021-05-01 16:17:21 +01:00
LukeMathWalker
1caa47a383 Use once_cell instead of lazy_static for tracing. Use custom sinks instead of filters to disable logging. 2021-05-01 15:51:06 +01:00
LukeMathWalker
77d15630ca Fix test. 2021-02-15 21:28:36 +00:00
LukeMathWalker
e562b7df6f Add address. 2021-02-14 16:41:45 +00:00
LukeMathWalker
55da2e2e2e Share startup logic. 2021-02-14 16:27:04 +00:00
LukeMathWalker
d5e09e849b Update to tokio 1. 2021-02-11 09:23:13 +00:00
LukeMathWalker
c6d65cf113 Fix tests 2021-01-17 11:46:40 +00:00
LukeMathWalker
b40748ef7b Refactor tests. 2021-01-17 00:43:04 +00:00
LukeMathWalker
74b7b1c536 Use tokio::test. 2021-01-17 00:27:03 +00:00
LukeMathWalker
9ba07c4834 Timeout test. 2021-01-17 00:26:30 +00:00
LukeMathWalker
a8f3a5ff47 Error for status. 2021-01-16 23:57:57 +00:00
LukeMathWalker
391f29de3d Do not allocate.
Unhappy path tests.
2021-01-16 23:54:21 +00:00
LukeMathWalker
8fe02f6c42 Remove dbg 2021-01-16 23:03:38 +00:00
LukeMathWalker
3145991669 Happy case test. 2021-01-16 23:01:08 +00:00
LukeMathWalker
50e660f82d Ask for two content versions. 2021-01-16 15:59:41 +00:00
LukeMathWalker
eaa8390e85 Add configuration for email client. 2021-01-16 15:11:17 +00:00
LukeMathWalker
9a0e46549b Remove full path import. 2021-01-13 08:35:36 +00:00
LukeMathWalker
d8048db840 Register email client. 2021-01-11 10:01:48 +00:00
LukeMathWalker
b7634725db Add HttpClient. 2021-01-11 09:37:04 +00:00
LukeMathWalker
11f2f7d4db Formatting 2021-01-11 08:32:55 +00:00
LukeMathWalker
e93d6b9955 Add email sketch. 2021-01-10 17:27:54 +00:00
LukeMathWalker
9dd9aaffd6 Use TryInto. 2020-12-29 10:00:11 +00:00
LukeMathWalker
f6d62fb7a1 Add email validation. 2020-12-28 12:26:05 +00:00
LukeMathWalker
e105707c43 Use more idiomatic iteration semantic with any. 2020-12-22 21:22:37 +00:00
Luca Palmieri
9dd3b0590a Return 400 on bad names. 2020-12-11 15:50:09 +00:00
Luca Palmieri
56ee4e7746 Use Result 2020-12-11 14:24:11 +00:00
Luca Palmieri
1c27412280 Use AsRef 2020-12-09 22:55:00 +00:00
Luca Palmieri
0eaf310f29 Add SubscriberName constructor. 2020-12-09 17:20:15 +00:00
Luca Palmieri
2953d329ff Add SubscriberName (no methods) 2020-12-09 16:01:36 +00:00
Luca Palmieri
bfbbf96c41 Chapter 05 (snapshot) 2020-12-05 17:07:31 +00:00