Skip to content

Commit

Permalink
fix(introspection_cache): fix feature guard import
Browse files Browse the repository at this point in the history
  • Loading branch information
sprudel committed Aug 26, 2024
1 parent 8e0f2a6 commit d22658a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/rocket/introspection/config.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
use openidconnect::IntrospectionUrl;

use crate::oidc::introspection::{cache::IntrospectionCache, AuthorityAuthentication};
#[cfg(feature = "introspection_cache")]
use crate::oidc::introspection::cache::IntrospectionCache;
use crate::oidc::introspection::AuthorityAuthentication;

/// Configuration that must be injected into
/// [the managed global state](https://rocket.rs/v0.5-rc/guide/state/#managed-state) of the
Expand Down

0 comments on commit d22658a

Please sign in to comment.