chore(cargo): unify cargo profiles#3924
Merged
rtyler merged 4 commits intodelta-io:mainfrom Nov 11, 2025
Merged
Conversation
…n and Rust Profiles for different use cases: - dev: Fast local development with good debug experience (Cargo defaults) - test: test builds with minimal debug info to save disk/RAM (custom) - release: Production Rust crates - maximum performance (Cargo defaults) - bench: For benchmarking with flamegraphs (cargo bench) - profiling: For performance profiling with release opts + debug info - ci: CI/CD optimized - fast builds, release-like performance - python-release: Python wheel builds - portable, reproducible (PyPI releases) Signed-off-by: Florian Valeye <florian.valeye@gmail.com>
|
ACTION NEEDED delta-rs follows the Conventional Commits specification for release automation. The PR title and description are used as the merge commit message. Please update your PR title and description to match the specification. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3924 +/- ##
==========================================
- Coverage 73.95% 73.93% -0.03%
==========================================
Files 153 153
Lines 39477 39455 -22
Branches 39477 39455 -22
==========================================
- Hits 29195 29170 -25
- Misses 8958 8962 +4
+ Partials 1324 1323 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
f0f7d85 to
2df391f
Compare
Signed-off-by: Florian Valeye <florian.valeye@gmail.com>
2df391f to
9f37f46
Compare
rtyler
approved these changes
Nov 11, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR unifies and clarifies the Cargo profiles used across builds and environments.
Previously, configuration options were scattered across different build scripts and environment variables, resulting in inconsistency and inefficiency.
The new setup profile is used to improve clarity, reproducibility, and build efficiency across various use cases.
Profiles
cargo benchand flamegraphsBuilding and test phasing time reduced in local and CI.
Rust
No functional changes — only adjustments to leverage the appropriate Cargo profile within CI workflows.
Python
dev(instead ofrelease).python-releaseprofile when building production-ready Python wheels.