feat(drift): package the drift git diff pager 0.0.1 - #580
Merged
Conversation
drift is a Rust TUI pager for `git diff` (MIT, aymanbagabas/drift).
Source is the GitHub tag tarball rather than the gs:// staging mirror,
so cargo resolves crates during the build and the spec declares
`needs = { dns, internet }` -- same shape as starship/zoxide/hunk.
Runtime deps were read off the built binary rather than guessed: it
links only libc, libm and libgcc_s. Notably there is no oniguruma and
no zlib, unlike delta, because syntect is built with the `default-fancy`
feature (pure-Rust fancy-regex). git is a hard runtime dep -- every view
drift renders comes from shelling out to git (src/git.rs).
The upstream release profile already pins lto/codegen-units=1/strip, so
build.sh adds only the --remap-path-prefix flags; two builds from
different paths were verified byte-identical.
Contributor
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughAdds a Drift package build specification and a release build script. The package fetches the GitHub source archive, builds with Cargo, installs ChangesDrift package
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Member
|
/build |
1 similar comment
Member
|
/build |
twitchyliquid64
approved these changes
Aug 7, 2026
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.
drift is a Rust TUI pager for
git diff(MIT, aymanbagabas/drift).Source is the GitHub tag tarball rather than the gs:// staging mirror, so cargo resolves crates during the build and the spec declares
needs = { dns, internet }-- same shape as starship/zoxide/hunk.Runtime deps were read off the built binary rather than guessed: it links only libc, libm and libgcc_s. Notably there is no oniguruma and no zlib, unlike delta, because syntect is built with the
default-fancyfeature (pure-Rust fancy-regex). git is a hard runtime dep -- every view drift renders comes from shelling out to git (src/git.rs).The upstream release profile already pins lto/codegen-units=1/strip, so build.sh adds only the --remap-path-prefix flags; two builds from different paths were verified byte-identical.
Checklist
min checkpasses for the affected packages/harnesses.min patched-build <name>succeeds for any package I added or modified.source_provenancepoints to the canonical upstream and the source builds from source (not a prebuilt release binary) where the required toolchain is available.sha256against the upstream archive.Summary by CodeRabbit
New Features
Build and Runtime