Skip to content

Commit

Permalink
Turn off doctests
Browse files Browse the repository at this point in the history
Turn off doctests
  • Loading branch information
Proziam committed Dec 1, 2024
1 parent 5c7c216 commit 7cee044
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 0 additions & 2 deletions src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ through the [`AuthClient`] struct.
- Properly handle token expiration and refresh cycles
*/

#![cfg(not(doctest))]

use std::env;

use reqwest::{
Expand Down
7 changes: 4 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
#![cfg(not(doctest))]
#![forbid(unsafe_code)]
#![deny(missing_debug_implementations)]

/*!
# Supabase Auth
Expand Down Expand Up @@ -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;

0 comments on commit 7cee044

Please sign in to comment.