Files
neon/libs/safekeeper_api/src/models.rs
sharnoff 580584c8fc Remove control_plane deps on pageserver/safekeeper (#2513)
Creates new `pageserver_api` and `safekeeper_api` crates to serve as the
shared dependencies. Should reduce both recompile times and cold compile
times.

Decreases the size of the optimized `neon_local` binary: 380M -> 179M.
No significant changes for anything else (mostly as expected).
2022-10-04 11:14:45 -07:00

9 lines
210 B
Rust

use serde::{Deserialize, Serialize};
use utils::id::{NodeId, TimelineId};
#[derive(Serialize, Deserialize)]
pub struct TimelineCreateRequest {
pub timeline_id: TimelineId,
pub peer_ids: Vec<NodeId>,
}