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 25, 2024
1 parent b491e9c commit b9a7879
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 b9a7879

Please sign in to comment.