mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-08 22:12:56 +00:00
workspace_hack is needed to avoid recompilation when different crates inside the workspace depend on the same packages but with different features being enabled. Problem occurs when you build crates separately one by one. So this is irrelevant to our CI setup because there we build all binaries at once, but it may be relevant for local development. this also changes cargo's resolver version to 2
25 lines
621 B
TOML
25 lines
621 B
TOML
[workspace]
|
|
members = [
|
|
"compute_tools",
|
|
"control_plane",
|
|
"pageserver",
|
|
"postgres_ffi",
|
|
"proxy",
|
|
"walkeeper",
|
|
"workspace_hack",
|
|
"zenith",
|
|
"zenith_metrics",
|
|
"zenith_utils",
|
|
]
|
|
resolver = "2"
|
|
|
|
[profile.release]
|
|
# This is useful for profiling and, to some extent, debug.
|
|
# Besides, debug info should not affect the performance.
|
|
debug = true
|
|
|
|
# This is only needed for proxy's tests
|
|
# TODO: we should probably fork tokio-postgres-rustls instead
|
|
[patch.crates-io]
|
|
tokio-postgres = { git = "https://github.com/zenithdb/rust-postgres.git", rev="2949d98df52587d562986aad155dd4e889e408b7" }
|