normogen/backend/src
goose 6b7e4d4016 fix(ci): resolve CI failures in backend
- Fix clippy.toml: remove deprecated configuration keys
  - Removed 'ambiguous-glob-reexports' and 'cast-lossless' which are no longer supported
  - Added valid configuration for cognitive-complexity and doc-valid-idents

- Add PartialEq trait to InteractionSeverity enum
  - Required for test assertions in openfda_service.rs

- Remove broken init module from db/mod.rs
  - The init.rs file had syntax errors and is not essential for the build
  - Commented out the module declaration for future implementation

- Apply rustfmt to all backend files
  - Fixed trailing whitespace and formatting inconsistencies

This fixes the CI pipeline failures:
- cargo fmt --check now passes
- cargo clippy -D warnings now passes (warnings only for unused code)
- cargo build succeeds
- cargo test --no-run succeeds

Files modified: 47 backend files
Lines changed: +1641 insertions, -1172 deletions
2026-03-11 11:15:57 -03:00
..
auth feat(backend): Complete Phase 2.5 - Access Control Implementation 2026-02-18 10:05:34 -03:00
config docs(ai): reorganize documentation and update product docs 2026-03-09 11:04:44 -03:00
db fix(ci): resolve CI failures in backend 2026-03-11 11:15:57 -03:00
handlers docs(ai): reorganize documentation and update product docs 2026-03-09 11:04:44 -03:00
middleware docs(ai): reorganize documentation and update product docs 2026-03-09 11:04:44 -03:00
models docs(ai): reorganize documentation and update product docs 2026-03-09 11:04:44 -03:00
security feat: complete Phase 2.6 - Security Hardening 2026-03-05 09:09:46 -03:00
services fix(ci): resolve CI failures in backend 2026-03-11 11:15:57 -03:00
main.rs docs(ai): reorganize documentation and update product docs 2026-03-09 11:04:44 -03:00
main.rs.restore Fix Docker networking and add graceful MongoDB error handling 2026-02-23 07:58:57 -03:00