-
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: migrate router to axum #293
Open
github-actions
wants to merge
24
commits into
develop
Choose a base branch
from
feature/migrate-router-to-axum
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nekofar
force-pushed
the
feature/migrate-router-to-axum
branch
4 times, most recently
from
December 5, 2024 15:22
b245016
to
f2e4d1f
Compare
The axum framework is included in the project's dependencies to help build web applications and services. This is done because it is a high-level web programming framework in Rust that uses type-level programming for safety and productivity.
Enabled "http" and "axum" features in the worker package to utilize extended functionality provided by these features for improved application performance.
The addition of worker-macros into the list of dependencies in Cargo.toml enhances the existing functionality of our worker module. This is especially for operations requiring http features.
The tower-service package is introduced to enhance the application's asynchronous programming capabilities.
Add `console_error_panic_hook` to improve error handling in WASM. This addition helps in capturing errors more effectively, providing better insights during debugging.
add `original-uri` feature to support functionality enhancements. This update allows handling requests with the original URI path more effectively.
add "json" feature to `axum` for enhanced request handling. This change addresses the need to handle JSON payloads more effectively, leveraging `axum`'s capabilities.
Add `axum-cloudflare-adapter` to extend support for Cloudflare. This change enables handling of Cloudflare-specific features in the application.
Include `axum-macros` for supporting macro functionalities in the project. This addition enhances modularity and macro handling within the codebase.
Add `tokio` to manage asynchronous tasks with `sync` feature. This change is necessary to enhance concurrency support in the application while ensuring efficient execution of tasks.
add `tower-http` to leverage advanced tracing features. This enhances the project's HTTP layer, providing better insight into request handling.
add `tracing` for improved logging and debugging capabilities. Enhances visibility and trackability of events within the application.
Add `oneshot` for improved synchronization in the project. This dependency supports asynchronous programming patterns.
Add `mio` to handle asynchronous I/O in the project. This enhances the project’s capabilities to efficiently manage I/O tasks asynchronously.
Include `wasm-bindgen` for enhanced WebAssembly support. This update aims to improve the project's ability to interface with WebAssembly by using the `wasm-bindgen` toolkit.
Add `wasm-bindgen-futures` to support asynchronous operations in WebAssembly. This enhances the project's capability to handle async tasks.
Add `tokio-macros` to enhance asynchronous code capabilities. This inclusion aims to improve the ergonomics and flexibility of async programming in the project.
upgrade various dependencies to their latest versions for improved performance and compatibility. This change ensures the codebase stays current and benefits from the latest features and security patches.
update to the latest `cookie` version for improved security and compatibility with newer Node.js versions.
Refactor the routing to use Axum, enhancing async handling and compatibility with Cloudflare Workers via `axum_cloudflare_adapter`. This improves the maintainability and scalability of the application's routing logic.
simplify the URL formatting logic by merging lines. This change improves code readability and maintainability by consolidating URL strings.
Simplifying the build command by removing unnecessary flags helps reduce complexity and potential issues during package installation.
replace qualified enum variants with direct usage to enhance clarity and conciseness in route handling logic. this change streamlines the code by removing unnecessary qualifiers, improving readability.
reorder dependencies for better organization and clarity. This change enhances maintainability by grouping related dependencies together, improving readability and management.
nekofar
force-pushed
the
feature/migrate-router-to-axum
branch
from
December 5, 2024 20:12
319ab87
to
cc82b17
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request has been automatically created by a script. It contains changes from the branch 'feature/migrate-router-to-axum'. Please review the changes and merge them if appropriate.