Repository navigation
Make diffr 0.1.12 publishable on crates.io - #90
Merged
Merged
Conversation
Restore the existing diffr-cli registry name and include crate-local grammar, highlight, plugin and fixture assets in source archives. Verify extracted crate packages in CI and document the release steps. AI assistance: prepared and validated with Codex. Agent-Session: 82924cb5-dcfa-42e4-abb0-ef40393249f8 Agent-Session: 01a10e7a-1dfa-7bd1-a6f4-8449c22813e2 Agent-Session: 01a10f90-e4ce-70f2-84d1-26d64820eed3
sidkmenon
enabled auto-merge (squash)
October 6, 2026 06:06
Expose shared files outside nested Cargo package boundaries so source archives contain the host contract and all vendored licenses. AI assistance: prepared and validated with Codex. Agent-Session: 82924cb5-dcfa-42e4-abb0-ef40393249f8 Agent-Session: 01a10e7a-1dfa-7bd1-a6f4-8449c22813e2 Agent-Session: 01a10f90-e4ce-70f2-84d1-26d64820eed3
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.
The 0.1.12 source packages cannot currently be published:
diffron crates.io belongs to another project, the grammar crate assumes its dependencies and vendored C sources are available in the parent checkout, and the core crate embeds plugins and highlight queries from outside its package.Restore the established
diffr-clipackage name (executable remainsdiffr), declare the grammar source dependencies, and use crate-local paths for assets. Repository symlinks preserve canonical assets; Cargo follows them and puts regular files into the archives. Include fixture data and license notices. Add an extracted-package CI build and a release checklist.The version stays 0.1.12 for this source packaging correction; the existing GitHub release tag and binaries remain as published.
Validation: extracted archives for all three crates build successfully; the packaged CLI reports
diffr 0.1.12; all 196 core tests pass; archive checks confirm regular asset files, WIT, and upstream license notices. All three archives are below crates.io's default size limit (grammar 4.0 MiB, core 1.2 MiB, CLI 5.0 MiB).git diff --checkpasses. All three crates are now published at 0.1.12. A fresh registry install withcargo install diffr-cli --version 0.1.12 --locked --debugsucceeded and reportsdiffr 0.1.12.AI assistance: prepared and validated with Codex.