mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-16 18:02:56 +00:00
Problem Previously, we used `from_wire` and `to_wire` inline to encode and decode record batches. This means we always have to match on the format, and, more importantly, doesn't allow for reuse of the zstd encoder/decoder. Summary of Changes Refactor such that the encoder and decoder can have the same lifetime as the sender/receiver session.
28 lines
653 B
TOML
28 lines
653 B
TOML
[package]
|
|
name = "wal_decoder"
|
|
version = "0.1.0"
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[features]
|
|
testing = ["pageserver_api/testing"]
|
|
|
|
[dependencies]
|
|
async-compression.workspace = true
|
|
async-trait.workspace = true
|
|
anyhow.workspace = true
|
|
bytes.workspace = true
|
|
pageserver_api.workspace = true
|
|
prost.workspace = true
|
|
postgres_ffi.workspace = true
|
|
serde.workspace = true
|
|
thiserror.workspace = true
|
|
tokio = { workspace = true, features = ["io-util"] }
|
|
tonic.workspace = true
|
|
tracing.workspace = true
|
|
utils.workspace = true
|
|
workspace_hack = { version = "0.1", path = "../../workspace_hack" }
|
|
|
|
[build-dependencies]
|
|
tonic-build.workspace = true
|