mirror of
https://github.com/neondatabase/neon.git
synced 2026-05-18 05:30:37 +00:00
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).
9 lines
210 B
Rust
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>,
|
|
}
|