mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-08 14:02:55 +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.
43 lines
1.0 KiB
TOML
43 lines
1.0 KiB
TOML
[package]
|
|
name = "pageserver_api"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
license.workspace = true
|
|
|
|
[features]
|
|
# See pageserver/Cargo.toml
|
|
testing = ["dep:nix"]
|
|
|
|
[dependencies]
|
|
serde.workspace = true
|
|
serde_with.workspace = true
|
|
serde_json.workspace = true
|
|
const_format.workspace = true
|
|
anyhow.workspace = true
|
|
bytes.workspace = true
|
|
byteorder.workspace = true
|
|
utils.workspace = true
|
|
postgres_ffi_types.workspace = true
|
|
enum-map.workspace = true
|
|
strum.workspace = true
|
|
strum_macros.workspace = true
|
|
hex.workspace = true
|
|
humantime.workspace = true
|
|
thiserror.workspace = true
|
|
humantime-serde.workspace = true
|
|
chrono = { workspace = true, features = ["serde"] }
|
|
itertools.workspace = true
|
|
storage_broker.workspace = true
|
|
camino = {workspace = true, features = ["serde1"]}
|
|
remote_storage.workspace = true
|
|
postgres_backend.workspace = true
|
|
nix = {workspace = true, optional = true}
|
|
reqwest.workspace = true
|
|
rand.workspace = true
|
|
tracing-utils.workspace = true
|
|
once_cell.workspace = true
|
|
|
|
[dev-dependencies]
|
|
bincode.workspace = true
|
|
rand.workspace = true
|