mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-07 21:42:56 +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.
34 lines
661 B
TOML
34 lines
661 B
TOML
[package]
|
|
name = "postgres_ffi"
|
|
version = "0.1.0"
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[dependencies]
|
|
regex.workspace = true
|
|
bytes.workspace = true
|
|
anyhow.workspace = true
|
|
crc32c.workspace = true
|
|
criterion.workspace = true
|
|
once_cell.workspace = true
|
|
log.workspace = true
|
|
memoffset.workspace = true
|
|
pprof.workspace = true
|
|
thiserror.workspace = true
|
|
serde.workspace = true
|
|
postgres_ffi_types.workspace = true
|
|
utils.workspace = true
|
|
tracing.workspace = true
|
|
|
|
[dev-dependencies]
|
|
env_logger.workspace = true
|
|
postgres.workspace = true
|
|
|
|
[build-dependencies]
|
|
anyhow.workspace = true
|
|
bindgen.workspace = true
|
|
|
|
[[bench]]
|
|
name = "waldecoder"
|
|
harness = false
|