Skip to content

Feat: Publish letify-link to crates.io and re-export it from letify - #107

Merged
b-re-w merged 6 commits into
developfrom
feat/publish-letify-link
Nov 13, 2026
Merged

b-re-w merged 6 commits into
developfrom
feat/publish-letify-link

Conversation

@b-re-w

@b-re-w b-re-w commented Nov 12, 2026

Copy link
Copy Markdown
Member

Conclusion: a tag now publishes two crates, letify-link then letify, and letify::link re-exports the whole of letify-link. Nothing was published or tagged by this change.

  • Spec. docs/SPEC.md, Versioning and releases, states the two-crate release, the re-export path letify::link (plus VERSION and a relay feature that enables letify-link/relay), the publish order and the checks.
  • Crates. letify-link drops publish = false and gains readme, homepage, documentation, keywords, categories, a README and a LICENSE. letify depends on it with version = "=3.0.3" and path.
  • Version pin. scripts/version.py reads, checks and sets the =<version> pin in letify-core/letify/Cargo.toml, so set and the CI version check keep it in step (tests/test_version.py).
  • Workflow. scripts/publish-crates.sh lists the crates whose version is not yet on crates.io and runs one cargo publish -p letify-link -p letify --locked, which orders the upload and waits for the index. Dry run is in verify, upload stays last. A crate already on crates.io is skipped, so a rerun after a failed upload publishes only what is missing.

Evidence:

  • Red first: cargo test -p letify failed with cannot find link in letify, and 3 tests in tests/test_version.py failed, before the feature commit. Both pass after it.
  • cargo fmt --all --check, cargo clippy --workspace --all-targets --all-features --locked -- -D warnings, cargo test --workspace --locked and pytest tests/test_version.py pass locally.
  • cargo publish -p letify-link -p letify --locked --dry-run packages, verifies and builds letify against the packaged letify-link, without that version on crates.io.
  • scripts/publish-crates.sh --dry-run skips letify 3.0.3 (already on crates.io) and dry-runs letify-link.
  • cargo package -p letify-link --list: 61 files, 855.9 KiB (211.9 KiB compressed), no target directory.

@b-re-w
b-re-w merged commit 7ae1427 into develop Nov 13, 2026
18 of 19 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