mirror of
https://github.com/neondatabase/neon.git
synced 2025-12-26 07:39:58 +00:00
Introduce a separate `postgres_ffi_types` crate which contains a few types and functions that were used in the API. `postgres_ffi_types` is a much small crate than `postgres_ffi`, and it doesn't depend on bindgen or the Postgres C headers. Move NeonWalRecord and Value types to wal_decoder crate. They are only used in the pageserver-safekeeper "ingest" API. The rest of the ingest API types are defined in wal_decoder, so move these there as well.
42 lines
968 B
TOML
42 lines
968 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
|
|
anyhow.workspace = true
|
|
bytes.workspace = true
|
|
pageserver_api.workspace = true
|
|
prost.workspace = true
|
|
postgres_ffi.workspace = true
|
|
postgres_ffi_types.workspace = true
|
|
serde.workspace = true
|
|
thiserror.workspace = true
|
|
tokio = { workspace = true, features = ["io-util"] }
|
|
tracing.workspace = true
|
|
utils.workspace = true
|
|
workspace_hack = { version = "0.1", path = "../../workspace_hack" }
|
|
|
|
[build-dependencies]
|
|
tonic-build.workspace = true
|
|
|
|
[dev-dependencies]
|
|
criterion.workspace = true
|
|
camino.workspace = true
|
|
camino-tempfile.workspace = true
|
|
remote_storage.workspace = true
|
|
tokio-util.workspace = true
|
|
serde_json.workspace = true
|
|
futures.workspace = true
|
|
tikv-jemallocator.workspace = true
|
|
pprof.workspace = true
|
|
|
|
[[bench]]
|
|
name = "bench_interpret_wal"
|
|
harness = false
|