Add smoke test in examples. (#85)

This loads a list of top domain names (e.g. from
https://tranco-list.eu/) and tries to fetch them all, in parallel. This
can be used to exercise ureq and find panics.
This commit is contained in:
Jacob Hoffman-Andrews
2020-06-23 21:09:09 -07:00
committed by GitHub
parent 3014f58a28
commit a6e99c8b36
2 changed files with 113 additions and 0 deletions

View File

@@ -41,3 +41,9 @@ native-tls = { version = "0.2", optional = true }
[dev-dependencies]
serde = { version = "1", features = ["derive"] }
rayon = "1.3.0"
rayon-core = "1.7.0"
chrono = "0.4.11"
[[example]]
name = "smoke-test"