Skip to content

refactor(repository): move backend implementations into backend/ submodule#95

Merged
StudentWeis merged 1 commit into
mainfrom
refactor/94-move-backend-impls
May 7, 2026
Merged

refactor(repository): move backend implementations into backend/ submodule#95
StudentWeis merged 1 commit into
mainfrom
refactor/94-move-backend-impls

Conversation

@StudentWeis
Copy link
Copy Markdown
Owner

Summary

Reorganize the repository backend implementations by moving memory_backend.rs and redb_backend.rs into the backend/ submodule, alongside the trait definitions they implement. Also adds a clippy best-practices note to AGENTS.md.

Linked Issue

Closes #94

Changes

  • Move memory_backend.rsbackend/memory.rs (test-only)
  • Move redb_backend.rsbackend/redb.rs (production)
  • Update all import paths across 9 files
  • Unify import style in moved files to use absolute paths
  • Update AGENTS.md with clippy best-practices note

Testing

  • scripts/precheck.sh passes locally (build, clippy, 426 tests, i18n, icons, themes)
  • No unused dependencies detected (cargo-machete)

…odule

- Move memory_backend.rs → backend/memory.rs (test-only)
- Move redb_backend.rs → backend/redb.rs (production)
- Update all import paths across 9 files
- Unify import style in moved files to use absolute paths
- Update AGENTS.md with clippy best-practices note

Refs #94
@StudentWeis StudentWeis merged commit 6075713 into main May 7, 2026
8 checks passed
@StudentWeis StudentWeis deleted the refactor/94-move-backend-impls branch May 7, 2026 12:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

refactor(repository): move backend implementations into backend/ submodule

1 participant