Commit graph

134 commits

Author SHA1 Message Date
LukeMathWalker
04c53d49da Extract helper method. 2021-02-14 17:07:31 +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
beeeacdafb Split into multiple files. 2021-02-14 15:26:43 +00:00
LukeMathWalker
0344317f85 Split tests across files. 2021-02-14 12:24:50 +00:00
LukeMathWalker
e8ff7914c9 Restructure test suite - first step. 2021-02-14 12:12:07 +00:00
LukeMathWalker
f01f826aca Edit for chapter branch. 2021-02-14 10:58:00 +00:00
LukeMathWalker
d482a224d1 Use latest Rust version. 2021-02-12 09:25:00 +00:00
LukeMathWalker
352a6b5a50 Update Dockerfile. 2021-02-12 09:24:49 +00:00
LukeMathWalker
d5e09e849b Update to tokio 1. 2021-02-11 09:23:13 +00:00
LukeMathWalker
6c18494507 Rename branch. 2021-01-23 18:20:08 +00:00
LukeMathWalker
48ce9dcacb Remove redundant step. 2021-01-23 17:55:57 +00:00
LukeMathWalker
6af0a13c36 Use clippy action. 2021-01-23 17:48:23 +00:00
LukeMathWalker
1288eda946 Fix part number. 2021-01-17 16:36:05 +00:00
LukeMathWalker
b303646815 Update to front-cover. 2021-01-17 16:35:51 +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
e71aaeb3ce Remove reqwest from dev dependency list. 2021-01-16 14:37:57 +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
72725c5306 Add reqwest as dependency 2021-01-11 08:32:27 +00:00
LukeMathWalker
e93d6b9955 Add email sketch. 2021-01-10 17:27:54 +00:00
LukeMathWalker
901942edef Start chapter 7, part 0. 2021-01-10 16:30:20 +00:00
Luca Palmieri
01798976f0
Update README.md 2021-01-05 12:37:14 +00:00
LukeMathWalker
95061149da Use at most 2.3 of fake to get rand 0.7. 2021-01-03 18:13:45 +00:00
LukeMathWalker
7fdb2151e0 Merge chapter 6, part 1 2021-01-03 18:06:10 +00:00
LukeMathWalker
e83df3991f Update branch name. 2021-01-03 18:02:20 +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
837a4bcce9 Init root branch for chapter 7. 2020-12-22 21:24:49 +00:00
LukeMathWalker
4a7c4245c0 Fix chapter number in README.md 2020-12-22 21:23:42 +00:00
LukeMathWalker
e105707c43 Use more idiomatic iteration semantic with any. 2020-12-22 21:22:37 +00:00
Ivan Tham
6af7e78ef5
Use Iterator::any to find forbidden characters (#30)
* Use Iterator::any to find forbidden characters

Iterator any stops if any are found, easier to understand than counting.

* Use Self rather than SubscriberName
2020-12-22 21:19:50 +00:00
Luca Palmieri
9fa3183fd7
Update README.md 2020-12-12 13:35:01 +00:00
Luca Palmieri
25f5037c68
Update README.md 2020-12-12 13:34:48 +00:00
Luca Palmieri
1b8c81daea Fix branch name. 2020-12-11 23:02:48 +00:00
Luca Palmieri
c07113d126 Fix branch name. 2020-12-11 23:02:42 +00:00
Luca Palmieri
518db87ced Merge 2020-12-11 23:01:55 +00:00
Luca Palmieri
6db241eef6 Fix integration test. 2020-12-11 21:35:16 +00:00
Luca Palmieri
9dd3b0590a Return 400 on bad names. 2020-12-11 15:50:09 +00:00