From fa0cf1c71b30135566db3accc64481310a5a7d5b Mon Sep 17 00:00:00 2001 From: Eric Biggs Date: Sat, 30 Nov 2024 19:34:27 -0500 Subject: [PATCH] Turn off doctests --- src/client.rs | 2 -- src/lib.rs | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) 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)]