mirror of
https://github.com/neondatabase/neon.git
synced 2026-07-09 07:00:37 +00:00
Rework build profiles in root Cargo.toml
This commit is contained in:
11
Cargo.toml
11
Cargo.toml
@@ -11,10 +11,17 @@ members = [
|
||||
]
|
||||
|
||||
[profile.release]
|
||||
# This is useful for profiling and, to some extent, debug.
|
||||
# Besides, debug info should not affect the performance.
|
||||
strip = "debuginfo"
|
||||
|
||||
[profile.perf]
|
||||
inherits = "release"
|
||||
debug = true
|
||||
|
||||
[profile.release-coverage]
|
||||
inherits = "release"
|
||||
overflow-checks = true
|
||||
debug-assertions = true
|
||||
|
||||
# This is only needed for proxy's tests.
|
||||
# TODO: we should probably fork `tokio-postgres-rustls` instead.
|
||||
[patch.crates-io]
|
||||
|
||||
Reference in New Issue
Block a user