Skip to content

chore(Cargo): disable debug for dependencies - #138

Merged
PiquelChips merged 1 commit into
mainfrom
chore/debug-dev
Oct 17, 2026
Merged

PiquelChips merged 1 commit into
mainfrom
chore/debug-dev

Conversation

@PiquelChips

@PiquelChips PiquelChips commented Oct 17, 2026 •

Copy link
Copy Markdown
Member

Disable debug info for dependencies to reduce compile-time & disk usage.

Cargo development profile

  • Added [profile.dev.package."*"] with debug = false to disable debug information for dependencies in development builds.
  • Retained [profile.dev] with debug = "line-tables-only" for the workspace. This preserves file and line information in backtraces while reducing debug output.
  • The existing comments note that tests inherit the development profile.

@PiquelChips PiquelChips added this to the 0.1 milestone Oct 17, 2026
@PiquelChips PiquelChips self-assigned this Oct 17, 2026
@PiquelChips PiquelChips added the enhancement New feature or request label Oct 17, 2026
@github-project-automation github-project-automation Bot moved this to Needs Triage in sourceorigin.dev Oct 17, 2026
@PiquelChips PiquelChips moved this from Needs Triage to Ready in sourceorigin.dev Oct 17, 2026
@PiquelChips
PiquelChips enabled auto-merge (squash) October 17, 2026 15:51
@coderabbitai

coderabbitai Bot commented Oct 17, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: d675bb2c-ea9b-493b-af51-147fef3273bf
📥 Commits

Reviewing files that changed from the base of the PR and between e31a417 and 7d2e7ac.

📒 Files selected for processing: 1
  • Cargo.toml

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

📝 Walkthrough

The development profile now disables debug information for package dependencies. Workspace development builds retain line-table debug information.

Changes: Development profile

Layer / File(s) Summary
Set dependency debug information
Cargo.toml
The profile disables debug information for package dependencies. The workspace development profile retains line-tables-only debug information.

Priority: ⬇️ Low

Estimated code review effort: 2 (Simple) | ~5 minutes

Change: Other

Merge Risk: ⚪ Minimal · up to 7d2e7

Development builds omit debug information for dependencies while retaining line-table information for workspace code. No actionable merge-blocking risk is established.

Pre-merge checks: Passed 5
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly and concisely describes the main change: disabling debug information for dependencies in Cargo.
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

A rabbit checks the build at night
Less debug data takes its flight
Line tables stay for workspace care
The dev profile sets the pair
Then hops away without a byte

Comment @coderabbitai help to get the list of available commands.

@PiquelChips
PiquelChips merged commit 37a1485 into main Oct 17, 2026
9 checks passed
@PiquelChips
PiquelChips deleted the chore/debug-dev branch October 17, 2026 15:56
@github-project-automation github-project-automation Bot moved this from Ready to Done in sourceorigin.dev Oct 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant