You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Rework receive::v2, send::v2 submodule into additive crate::v2 and crate::v1 submodules features #392
I don't really love how the features are laid out inside receive especially. Send is not as big of a deal because the state machine has been flattened. If there were separate modules for separate features I think they'd be easier to reason about from docs.rs
Consider removing the not(feature = v2) feature since we want to discourage its use and one can replicate v1 soverignty by running both a directory and payjoin client on the same machine. Rust features should be additive.
changed the title [-]Rework `receive::v2` submodule into `crate::v2` and `crate::v1` submodules feature gated[/-][+]Rework `receive::v2` submodule into additive `crate::v2` and `crate::v1` submodules features[/+]on Dec 2, 2024
changed the title [-]Rework `receive::v2` submodule into additive `crate::v2` and `crate::v1` submodules features[/-][+]Rework `receive::v2`, `send::v2` submodule into additive `crate::v2` and `crate::v1` submodules features[/+]on Jan 4, 2025
@nothingmuch I believe making PjUriBuilder::new into variants rather than a feature-gated set of arguments with the same method, perhaps v1::PjUriBuilder / v2::PjUriBuilder if it can't be entirely contained in the receiver state machine? is the last remaining TODO item to make the v1/v2 features additive after #464. What's the status of that refactor?
although i initially started with PjUriBuilder due to #416, i it's way up my "call stack", as it were, feel free to proceed with such changes, at worst it will be a minor disruption for my changes to payjoin-cli
Activity
[-]Rework `receive::v2` submodule into `crate::v2` and `crate::v1` submodules feature gated[/-][+]Rework `receive::v2` submodule into additive `crate::v2` and `crate::v1` submodules features[/+]Separate send version modules (part 1) (#453)
[-]Rework `receive::v2` submodule into additive `crate::v2` and `crate::v1` submodules features[/-][+]Rework `receive::v2`, `send::v2` submodule into additive `crate::v2` and `crate::v1` submodules features[/+]DanGould commentedon Jan 6, 2025
@nothingmuch I believe making
PjUriBuilder::newinto variants rather than a feature-gated set of arguments with the same method, perhapsv1::PjUriBuilder/v2::PjUriBuilderif it can't be entirely contained in the receiver state machine? is the last remaining TODO item to make the v1/v2 features additive after #464. What's the status of that refactor?nothingmuch commentedon Jan 6, 2025
although i initially started with PjUriBuilder due to #416, i it's way up my "call stack", as it were, feel free to proceed with such changes, at worst it will be a minor disruption for my changes to payjoin-cli
Abstract send feature error variants into separate feature-specific a…
Separate receive submodules to be additive (#466)
Separate receive::{v1,v2} error modules (#482)
optional_parameters::SUPPORTED_VERSIONSaccording to calling module, not feature flag #490Make distinct `payjoin/{v1,v2}` features
Organize feature separation for ergonomics (#501)
Make distinct `payjoin/{v1,v2}` features
Make distinct `payjoin/{v1,v2}` features
Make distinct `payjoin/{v1,v2}` features