diff --git a/README.md b/README.md index 9f87625..f3530ba 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,8 @@ release any code to Production or deploy in a Client-accessible environment with approval for the full stack used through the Architecture and Security groups. ```rust +use mauth_client::MAuthInfo; +use reqwest::Client; let mauth_info = MAuthInfo::from_default_file().unwrap(); let client = Client::new(); let mut req = client.get("https://www.example.com/").build().unwrap(); diff --git a/src/lib.rs b/src/lib.rs index 5cfb1b6..c30e5bc 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -9,8 +9,8 @@ //! approval for the full stack used through the Architecture and Security groups. //! //! ```no_run -//! # use mauth_client::MAuthInfo; -//! # use reqwest::{Client, Request, Body, Url, Method, header::HeaderValue, Response}; +//! use mauth_client::MAuthInfo; +//! use reqwest::Client; //! # async fn make_signed_request() { //! let mauth_info = MAuthInfo::from_default_file().unwrap(); //! let client = Client::new();