diff --git a/src/client.rs b/src/client.rs index 512b1a2..635c29f 100644 --- a/src/client.rs +++ b/src/client.rs @@ -13,8 +13,6 @@ through the [`AuthClient`] struct. - Properly handle token expiration and refresh cycles */ -#![cfg(not(doctest))] - use std::env; use reqwest::{ diff --git a/src/lib.rs b/src/lib.rs index f2419d3..1c35880 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -134,6 +134,7 @@ let url = auth_client.sso(params).await.unwrap(); * ✓ SSO */ +#![cfg(not(doctest))] #![forbid(unsafe_code)] #![deny(missing_debug_implementations)]