From 476fa074da62b60033447103b67382d8947a8451 Mon Sep 17 00:00:00 2001 From: Xavier Lau Date: Thu, 19 Dec 2024 09:42:29 +0800 Subject: [PATCH] Update README.md Signed-off-by: Xavier Lau --- README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ac16907..5a472f3 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,10 @@ Now it has evolved into a more generic solution, allowing you to implement the ` // std use std::sync::LazyLock; // crates.io -use reqwew::{reqwest::Client, Http, Response}; +use reqwew::{ + reqwest::{Client, Method}, + Http, Response, +}; use serde_json::Value; // Lazy static. @@ -59,7 +62,9 @@ assert_eq!(resp.json::().unwrap()["url"].as_str().unwrap(), "https://http use std::sync::LazyLock; // crates.io use reqwew::{ - blocking::Http as BlockingHttp, reqwest::blocking::Client as BlockingClient, Response, + blocking::Http as BlockingHttp, + reqwest::{blocking::Client as BlockingClient, Method}, + Response, }; use serde_json::Value;