diff --git a/Cargo.toml.liquid b/Cargo.toml.liquid index 452d4e8..48f8dca 100644 --- a/Cargo.toml.liquid +++ b/Cargo.toml.liquid @@ -31,7 +31,7 @@ sqlx = { version = "0.8", features = ["runtime-tokio", "uuid", "chrono" jsonwebtoken = "9.3" bcrypt = "0.15" utoipa = { version = "5.3", features = ["axum_extras", "uuid", "chrono"] } -utoipa-scalar = { version = "5.0", features = ["axum"] } +utoipa-scalar = { version = "0.3", features = ["axum"] } domain = { path = "crates/domain" } application = { path = "crates/application" } api-types = { path = "crates/api-types" } diff --git a/crates/adapters/auth/src/lib.rs.liquid b/crates/adapters/auth/src/lib.rs.liquid new file mode 100644 index 0000000..9eb72a4 --- /dev/null +++ b/crates/adapters/auth/src/lib.rs.liquid @@ -0,0 +1,7 @@ +pub mod jwt; +{% if auth_oidc %}pub mod oidc;{% endif %} +pub mod password; + +pub use jwt::JwtTokenIssuer; +{% if auth_oidc %}pub use oidc::OidcAdapter;{% endif %} +pub use password::BcryptPasswordHasher;