Skip to content

Commit

Permalink
feature flag rocket dep
Browse files Browse the repository at this point in the history
  • Loading branch information
DarrenBaldwin07 committed Oct 13, 2024
1 parent be209a0 commit 13c7496
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ futures-util = "0.3.28"
actix-rt = { version = "2.10.0", optional = true }
actix-web = { version = "4.9.0", optional = true }
axum = { version = "0.7.5", optional = true }
rocket = { version = "0.5.1" }
rocket = { version = "0.5.0", optional = true }
axum-extra = { version = "0.9.3", features = ["cookie"], optional = true }
tower = { version = "0.5.0", optional = true }
async-trait = "0.1.81"
Expand All @@ -68,4 +68,4 @@ native-tls = ["reqwest/native-tls"]
rustls-tls = ["reqwest/rustls-tls"]
actix = ["dep:actix-rt", "dep:actix-web"]
axum = ["dep:axum", "dep:axum-extra", "dep:tower"]
# rocket = ["dep:rocket"]
rocket = ["dep:rocket"]
2 changes: 1 addition & 1 deletion src/validators/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ pub mod jwks;
pub mod actix;
#[cfg(feature = "axum")]
pub mod axum;
// #[cfg(feature = "rocket")]
#[cfg(feature = "rocket")]
pub mod rocket;

0 comments on commit 13c7496

Please sign in to comment.