Commit 752fcee
authored
Make feature = "v2" ⇒
`v2::Sender::extract_v1(..) -> (.. v1::V1Context)`, so this type must
have public visibility in order for bindings to implement this
`extract_v1` function.
I decided not to make the v1 module public only with respect to this
V1Context type under exclusive v2 feature configuration because that
would introduce far more complexity. View code for exact semantics,
since `send::v1::V1Context` is still the path when the `v1` feature is
enabled.
Fix payjoin#599pub send::V1Context (payjoin#604)1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
38 | 40 | | |
39 | 41 | | |
40 | 42 | | |
| |||
0 commit comments