mirror of
https://github.com/neondatabase/neon.git
synced 2026-06-01 12:30:38 +00:00
Our builds can be a little inconsistent, because Cargo doesn't deal well with workspaces where there are multiple crates which have different dependencies that select different features. As a workaround, copy what other big rust projects do: add a workspace_hack crate. This crate just pins down a set of dependencies and features that satisfies all of the workspace crates. The benefits are: - running `cargo build` from one of the workspace subdirectories now works without rebuilding anything. - running `cargo install` works (without rebuilding anything). - making small dependency changes is much less likely to trigger large dependency rebuilds.
29 lines
858 B
TOML
29 lines
858 B
TOML
[package]
|
|
name = "control_plane"
|
|
version = "0.1.0"
|
|
authors = ["Stas Kelvich <stas@zenith.tech>"]
|
|
edition = "2018"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
rand = "0.8.3"
|
|
tar = "0.4.33"
|
|
postgres = { git = "https://github.com/zenithdb/rust-postgres.git", rev="a0d067b66447951d1276a53fb09886539c3fa094" }
|
|
tokio-postgres = { git = "https://github.com/zenithdb/rust-postgres.git", rev="a0d067b66447951d1276a53fb09886539c3fa094" }
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
toml = "0.5"
|
|
lazy_static = "1.4"
|
|
regex = "1"
|
|
anyhow = "1.0"
|
|
hex = "0.4.3"
|
|
bytes = "1.0.1"
|
|
fs_extra = "1.2.0"
|
|
nix = "0.20"
|
|
thiserror = "1"
|
|
|
|
pageserver = { path = "../pageserver" }
|
|
walkeeper = { path = "../walkeeper" }
|
|
postgres_ffi = { path = "../postgres_ffi" }
|
|
workspace_hack = { path = "../workspace_hack" }
|