|
Ran
|
Files
52
|
Run time
2s
|
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.
6635 of 7819 relevant lines covered (84.86%)
593.4 hits per line
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|