- Added cookie key to AppState for managing session cookies. - Updated AppState initialization to derive cookie key from configuration. - Removed session-based authentication option from cargo-generate prompts. - Refactored JWT authentication logic to improve clarity and error handling. - Updated password validation to align with NIST recommendations (minimum length increased). - Removed unused session store implementation and related code. - Improved error handling in user repository for unique constraint violations. - Refactored OIDC service to include state management for authentication flow. - Cleaned up dependencies in Cargo.toml and Cargo.toml.template for clarity and efficiency.
17 lines
433 B
TOML
17 lines
433 B
TOML
[package]
|
|
name = "domain"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[dependencies]
|
|
async-trait = "0.1.89"
|
|
chrono = { version = "0.4.42", features = ["serde"] }
|
|
email_address = "0.2"
|
|
serde = { version = "1.0.228", features = ["derive"] }
|
|
thiserror = "2.0.17"
|
|
url = { version = "2.5", features = ["serde"] }
|
|
uuid = { version = "1.19.0", features = ["v4", "serde"] }
|
|
|
|
[dev-dependencies]
|
|
tokio = { version = "1", features = ["rt", "macros"] }
|