forked from payjoin/rust-payjoin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Separate receive submodules to be additive (payjoin#466)
1. kills the PjUriBuilder pattern which was a feature gating hell 2. make separate receive::{v1,v2} modules to enable error separation and additive use 3. Pass `supported_versions` from the calling module since that's where version comes from 4. Explicitly removes non-additive not(feature = "v2") so integration tests can all run on --all-features We've got a ways to go to separate modules for readability, and then to make the features in payjoin-cli additive, but we're getting there. This is work toward payjoin#392 This can be followed by separating the error variants into distinct receive, receive::v1, receive::v2 types and making the v1/v2 features in payjoin-cli additive
- Loading branch information
Showing
11 changed files
with
1,215 additions
and
1,327 deletions.
There are no files selected for viewing
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
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
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
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
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
Oops, something went wrong.