1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
This subdirectory is a vendored copy of the `postgres-replication`
crate from the [`sfackler/rust-postgres`](https://github.com/sfackler/rust-postgres)
workspace, at the `iambriccardo/rust-postgres` fork's commit
`31acf55c7e5c2244e5bb3a36e7afa2a01bf52c38` (which adds support for
the PostgreSQL logical-replication `MESSAGE` (`M`) tag — used by
`pg_logical_emit_message()`).
`postgres-replication` is not (yet) published to crates.io. Until
upstream publishes it, UDB cannot be released as a crates.io
package while depending on the crate via a git reference (crates.io
rejects git-only deps). Vendoring the source into the UDB tree
makes the published `udb` crate self-contained.
The fork's only divergence from upstream at this rev is a 49-line
addition in `protocol.rs` adding the `MessageBody` type. The
sibling crates (`tokio-postgres`, `postgres-protocol`,
`postgres-types`) are byte-identical to upstream at this rev, so
we depend on their crates.io versions directly.
- --
When upstream publishes `postgres-replication` to crates.io OR
when the fork's `MESSAGE` patch is merged upstream:
1. 2.3.
None. The source is unchanged from the fork's rev. The only
adaptation is the module path (`mod.rs` instead of `lib.rs`); no
edits to function bodies, types, or behaviour.