-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Organize feature separation for ergonomics (#501)
- first patch closes #393 - second patch hard-closes #392 hard with an explicit `v1` feature - make `payjoin/v2` a default feature - Fix warning for module docs not found with conditional compilation - Lint previously un-linted v1 payjoin-cli/e2e tests - Close #499 (Configure v1 checks to use _danger-local-https) In making these changes I also considered an organizational structure that looks more like this: `payjoin::receive::{InputPair, Error...}` `payjoin::v1::receive`, `payjoin::v2::receive` But I think that's more trouble than it's worth, and also breaks the hierarchy that's most effective for producing and maintaining this software, so I'm inclined to leave it as is, leaving `send`, `receive` modules abstraction with version-specific submodule implementations. This makes it easier for us to effectuate #500
- Loading branch information
Showing
11 changed files
with
20 additions
and
28 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#!/usr/bin/env bash | ||
set -e | ||
|
||
cargo clippy --all-targets --keep-going --features=send,receive -- -D warnings | ||
cargo clippy --all-targets --keep-going --features=v2,_danger-local-https,io -- -D warnings | ||
cargo clippy --all-targets --keep-going --no-default-features --features=v1,_danger-local-https -- -D warnings | ||
cargo clippy --all-targets --keep-going --no-default-features --features=v2,_danger-local-https,io -- -D warnings |
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
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