mirror of
https://github.com/neondatabase/neon.git
synced 2026-05-16 12:40:36 +00:00
Part of getpage@lsn benchmark epic: https://github.com/neondatabase/neon/issues/5771 This PR moves the control plane's spread-all-over-the-place client for the pageserver management API into a separate module within the pageserver crate. I need that client to be async in my benchmarking work, so, this PR switches to the async version of `reqwest`. That is also the right direction generally IMO. The switch to async in turn mandated converting most of the `control_plane/` code to async. Note that some of the client methods should be taking `TenantShardId` instead of `TenantId`, but, none of the callers seem to be sharding-aware. Leaving that for another time: https://github.com/neondatabase/neon/issues/6154
15 lines
348 B
TOML
15 lines
348 B
TOML
[package]
|
|
name = "pageserver_client"
|
|
version = "0.1.0"
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[dependencies]
|
|
pageserver_api.workspace = true
|
|
thiserror.workspace = true
|
|
async-trait.workspace = true
|
|
reqwest.workspace = true
|
|
utils.workspace = true
|
|
serde.workspace = true
|
|
workspace_hack = { version = "0.1", path = "../../workspace_hack" }
|