What problem does it solve?
genies_core provides a cohesive toolkit for building reliable HTTP handlers by standardizing response shapes, error handling, and authentication flow in Genies-based services.
Core Features & Use Cases
- RespVO<T> and ResultDTO<T> offer complementary response models for different consumer needs.
- Salvo integration allows handler results to be returned directly as typed responses.
- JWT authentication utilities (get_keycloak_keys, verify_with_keycloak) simplify token validation against Keycloak.
- Centralized error handling with a shared Error type and Result alias to streamline failure paths.
- Condition evaluation utilities enable runtime decision logic and policy enforcement.
Quick Start
Integrate genies_core into your Rust HTTP handlers to standardize responses, error handling, and JWT authentication.