rust-payjoin icon indicating copy to clipboard operation
rust-payjoin copied to clipboard

Remove hyper and migrate to axum.

Open zealsham opened this issue 4 months ago • 2 comments

This pr is part of the process of transitioning to axum from hyper . Hyper is quite low level and that type of low level details isn't needed for our use case .

Pull Request Checklist

Please confirm the following before requesting review:

zealsham avatar Sep 21 '25 12:09 zealsham

Pull Request Test Coverage Report for Build 17893736401

Details

  • 160 of 222 (72.07%) changed or added relevant lines in 3 files are covered.
  • 5 unchanged lines in 1 file lost coverage.
  • Overall coverage increased (+0.2%) to 84.924%

Changes Missing Coverage Covered Lines Changed/Added Lines %
payjoin-directory/src/main.rs 0 1 0.0%
payjoin-directory/src/lib.rs 159 220 72.27%
<!-- Total: 160 222
Files with Coverage Reduction New Missed Lines %
payjoin-directory/src/lib.rs 5 57.53%
<!-- Total: 5
Totals Coverage Status
Change from base Build 17883934451: 0.2%
Covered Lines: 8500
Relevant Lines: 10009

💛 - Coveralls

coveralls avatar Sep 21 '25 12:09 coveralls

#1026 just went in , so this requires a rebase , will do that

zealsham avatar Oct 08 '25 21:10 zealsham

This pr is collecting some dust and seems close to being finished. @zealsham are you still planning on working on this? And do you need any help?

arminsabouri avatar Nov 24 '25 16:11 arminsabouri

@arminsabouri , Yes i will work on it. I do not need any help. I temporarily left this pr to foucs on payjoin-cli v1 release related issues, But seeing the "handoff" direction for payjoin-directory, i think i'll juggle the both prs right now. Still at MUR

zealsham avatar Dec 03 '25 13:12 zealsham

@zealsham since we will be moving to a payjoin-service crate (which combines directory and ohttp relay services) I think the way forward is to close this PR for payjoin-directory and instead have payjoin-service use axum from the start. I will be writing action items for payjoin-service into GH issues some time today.

spacebear21 avatar Dec 03 '25 15:12 spacebear21

okay, i'll go ahead and close the PR @spacebear21. Fully back from travel and getting back into the groove of things. The tracking issue for the directory service is yet to be created though.

zealsham avatar Dec 08 '25 09:12 zealsham

Instead of making a new issue I ended up making edits to this existing issue https://github.com/payjoin/rust-payjoin/issues/941 which already covered a lot of the work to be done. It might need a couple more edits for the tower stuff, I can't tell if those items are still relevant for the payjoin-service direction.

spacebear21 avatar Dec 09 '25 03:12 spacebear21