Skip to content

Conversation

@maheshbhatiya73
Copy link
Member

Fix multiple compilation issues in Rust backend:

  • Add serde feature to uuid dependency for proper serialization
  • Fix SQLx imports and API compatibility for version 0.7
  • Convert query macros to regular queries to avoid compile-time DB requirement
  • Fix borrowing issues in update_plugin function
  • Create AppState struct to resolve router state type mismatch
  • Clean up unused imports across modules
  • Update PgPoolOptions usage to match SQLx 0.7 API

The backend should now compile and run successfully without requiring a database connection at compile time or cargo sqlx prepare.

Fix multiple compilation issues in Rust backend:

- Add serde feature to uuid dependency for proper serialization
- Fix SQLx imports and API compatibility for version 0.7
- Convert query macros to regular queries to avoid compile-time DB requirement
- Fix borrowing issues in update_plugin function
- Create AppState struct to resolve router state type mismatch
- Clean up unused imports across modules
- Update PgPoolOptions usage to match SQLx 0.7 API

The backend should now compile and run successfully without requiring
a database connection at compile time or cargo sqlx prepare.
@maheshbhatiya73 maheshbhatiya73 merged commit ca28129 into main Aug 2, 2025
1 check failed
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.

2 participants