Skip to content

Commit

Permalink
bump prost version to 0.13.1 and fix compiler errors due to that
Browse files Browse the repository at this point in the history
  • Loading branch information
imor committed Jul 25, 2024
1 parent 31ced0d commit b573eb2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

resolver = "2"

members = [ "api","pg_replicate", "queue", "replicator"]
members = ["api", "pg_replicate", "queue", "replicator"]

[workspace.dependencies]
async-trait = { version = "0.1" }
Expand All @@ -15,7 +15,7 @@ futures = { version = "0.3", default-features = false }
gcp-bigquery-client = { git = "https://github.com/imor/gcp-bigquery-client.git", branch = "result_set", default-features = false }
pin-project-lite = { version = "0.2", default-features = false }
postgres-protocol = { git = "https://github.com/MaterializeInc/rust-postgres" }
prost = { version = "0.12.6", default-features = false }
prost = { version = "0.13.1", default-features = false }
secrecy = { version = "0.8.0", default-features = false }
serde = { version = "1.0", default-features = false }
serde_json = { version = "1.0", default-features = false }
Expand Down
8 changes: 3 additions & 5 deletions pg_replicate/src/clients/bigquery.rs
Original file line number Diff line number Diff line change
Expand Up @@ -527,9 +527,8 @@ impl BigQueryClient {
}

impl Message for TableRow {
fn encode_raw<B>(&self, buf: &mut B)
fn encode_raw(&self, buf: &mut impl BufMut)
where
B: BufMut,
Self: Sized,
{
let mut tag = 1;
Expand Down Expand Up @@ -577,15 +576,14 @@ impl Message for TableRow {
}
}

fn merge_field<B>(
fn merge_field(
&mut self,
_tag: u32,
_wire_type: prost::encoding::WireType,
_buf: &mut B,
_buf: &mut impl Buf,
_ctx: prost::encoding::DecodeContext,
) -> Result<(), prost::DecodeError>
where
B: Buf,
Self: Sized,
{
unimplemented!("merge_field not implemented yet");
Expand Down

0 comments on commit b573eb2

Please sign in to comment.