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..52eb34c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,3 +1,7 @@ +#![cfg(not(doctest))] +#![forbid(unsafe_code)] +#![deny(missing_debug_implementations)] + /*! # Supabase Auth @@ -134,9 +138,6 @@ let url = auth_client.sso(params).await.unwrap(); * ✓ SSO */ -#![forbid(unsafe_code)] -#![deny(missing_debug_implementations)] - pub mod client; pub mod error; pub mod models;