From ed1c228094188d872ceb8407fb6f46ff698937c2 Mon Sep 17 00:00:00 2001 From: Lorenz Leitner Date: Sun, 10 Oct 2021 15:12:41 +0200 Subject: Add test Put WA api response JSON into test resource file Add short url, increase concurrency Move shorten_url to util dir --- Cargo.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index bbf6c64..1f31a40 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,7 +16,7 @@ serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" toml = "0.5" -anyhow = "1" +anyhow = "1.0.44" futures = "0.3" tokio = { version = "1.5.0", features = ["full", "rt-multi-thread"] } @@ -32,6 +32,9 @@ rand = "0.8.3" reqwest = "0.11" +[dev-dependencies] +mockito = "0.30.0" + [features] default = [] -- cgit v1.2.3