Skip to content

Commit

Permalink
Implement internal and external APIs.
Browse files Browse the repository at this point in the history
  • Loading branch information
busyboredom committed Jul 4, 2024
1 parent ac08681 commit ef43a36
Show file tree
Hide file tree
Showing 177 changed files with 6,599 additions and 2,678 deletions.
3 changes: 3 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
[registries.crates-io]
protocol = "sparse"

[build]
rustflags = ["--cfg", "tokio_unstable"]
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ env:
RELEASE: |
${{
github.event.pull_request.merged == true ||
github.ref_name =='main' ||
github.ref_name == 'main' ||
github.ref_type == 'tag'
}}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
strategy:
matrix:
rust: [
1.70.0,
1.76.0,
nightly
]

Expand All @@ -58,7 +58,7 @@ jobs:
strategy:
matrix:
rust: [
1.70.0,
1.76.0,
nightly
]

Expand Down
12 changes: 11 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,19 @@ Book](https://doc.rust-lang.org/cargo/reference/manifest.html#the-version-field)

### Added
- A batteries-included payment gateway built around the core library.
- `get_ids()` method to invoice stores.
- `is_empty()` method to invoice stores.
- `is_paid()` method to `PaymentGateway`.
- `get_invoice_ids()` method to `PaymentGateway`.
- `build_with_mock_daemon()` method to `PaymentGateway`.

### Changed
- Update MSRV to 1.68
- Update MSRV to 1.76
- Replace invoice store `try_iter()` method with `try_for_each()`.

### Fixed
- `is_expired` returning false when invoice is awaiting configrmation despite it
being expired.

## [0.13.0] - 2023-07-23

Expand Down
Loading

0 comments on commit ef43a36

Please sign in to comment.