Skip to content

WIP: Migrate to axum from hyper#1068

Closed
zealsham wants to merge 8 commits intopayjoin:masterfrom
zealsham:axum-migration
Closed

WIP: Migrate to axum from hyper#1068
zealsham wants to merge 8 commits intopayjoin:masterfrom
zealsham:axum-migration

Conversation

@zealsham
Copy link
Copy Markdown
Collaborator

@zealsham zealsham commented Sep 12, 2025

This pull-request starts the process of migrating payjoin-directory from hyper to axum . axum is more tailored to our need as hyper is very low level and we dont need that kind of granular detail.
This is currently a work in progress.

  • Rewrite None core handlers (home _dir , health,metrics)
  • Rewrite ohttp-gateway handler
  • Rewrite handle_v2
  • maybe refactor ohttp-gateway to a gateway.rs file
  • use tower-http for request size checking
  • axum-server crate to handle https/tls related stuffs
  • use tower or axum cors middleware
  • Rewrite get_ohttp_keys
  • Rewrite get_ohttp_allowed_purpose
  • Rewrite handle_ohttp_get
  • Rewrite post_fallback_v1 , put_payjoin_v1
  • Rewrie get_mailbox, post_mailbox,
  • acme support by building on Support requesting certificates using ACME #1026
Pull Request Checklist

Please confirm the following before requesting review:

@zealsham zealsham marked this pull request as draft September 12, 2025 22:10
@zealsham zealsham changed the title Migrate to axum from hyper WIP: Migrate to axum from hyper Sep 12, 2025
This pr starts the process of migrating payjoin-directory
from hyper to axum . axum is more tailored to our need as
hyper is very low level and we dont need that kind of granular
detail.
This is currently a work in progress.
@zealsham zealsham closed this Sep 21, 2025
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.

1 participant