|
Ran
|
Jobs
1
|
Files
52
|
Run time
2min
|
Badge
README BADGES
|
push
github
Sender generic over typestate (#728) This commit updates the `v2::Sender` to be generic over its typestate (e.g., `V2GetContext`, `V2PostContext`, etc.). The motivation is outlined in https://github.com/0xBEEFCAF3/rust-payjoin/commit/c8b860d95 This commit renames the original `Sender` struct to `WithReplyKey`. This type now represents the v2::sender session once the HPKE context has been created. The `Sender` name is re-purposed for the new generic wrapper over typestate. For the UniFFI exported receiver we monomorphize the exported structs over a specific typestate. UniFFI doesn't support exporting generic structs, so we expose a concrete type to the FFI.
57 of 60 new or added lines in 6 files covered. (95.0%)
1 existing line in 1 file now uncovered.6635 of 7819 relevant lines covered (84.86%)
593.4 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 1 |
75.0 |
0.0% | payjoin/src/send/v2/persist.rs |
| 2 |
94.59 |
-1.06% | payjoin-cli/src/db/v2.rs |
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 1 |
94.59 |
-1.06% | payjoin-cli/src/db/v2.rs |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 15441191882.1 | 52 |
84.86 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|