Skip to content

Make diffr 0.1.12 publishable on crates.io - #90

Merged
sidkmenon merged 2 commits into
mainfrom
release/crates-0.1.12
Oct 6, 2026
Merged

sidkmenon merged 2 commits into
mainfrom
release/crates-0.1.12

Conversation

@sidkmenon

@sidkmenon sidkmenon commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

The 0.1.12 source packages cannot currently be published: diffr on 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-cli package name (executable remains diffr), 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 --check passes. All three crates are now published at 0.1.12. A fresh registry install with cargo install diffr-cli --version 0.1.12 --locked --debug succeeded and reports diffr 0.1.12.

AI assistance: prepared and validated with Codex.

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
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
@sidkmenon
sidkmenon merged commit 75343aa into main Oct 6, 2026
37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant