lfglabs-dev / api.starknet.quest

starknet.quest rust backend
7 stars 28 forks source link

Updated axum_auto_routes #249

Closed PoulavBhowmick03 closed 2 months ago

PoulavBhowmick03 commented 2 months ago

This PR fixes #236

Changes

This PR updates our routing system to use the latest version of the axum_auto_routes library. The main changes are:

  1. Simplified route definitions by removing explicit path specifications.
  2. Updated import statements and use declarations related to axum_auto_routes.

Motivation

The aim of this change is to simplify our HTTP request handling, specifically the routing system. By using the latest version of axum_auto_routes, we can take advantage of its new features, such as optional middleware specification, while removing the need to explicitly specify function paths.

Implementation Details

Testing

Additional Notes

This change should make our routing system more maintainable and less prone to errors from mismatched path specifications.

Closes #236

Checklist